TMDevelopmentTinulica & Maiky

Zones

Zones

A zone is a place that plays effects while players are inside, with a title or a message when they come in or go out: a radiation area, a haunted house, the moon, a prison, a sanctuary.

Make a zone in two clicks

  1. /sfx zone wand gives you the wand (a blaze rod, only for staff with screenfx.zone).
  2. Left click a block for the first corner, right click another block for the second. The chat shows the size; particles show the box.
  3. /sfx zone menu → New zone → My wand selection → pick one of the 24 ready-made zones, or any preset.

Done: players inside get the effect, it leaves when they walk out. Change everything later from the zone's menu (/sfx zone edit <name>).

Corners on the floor? A selection less than 3 blocks high goes up to 3 blocks above its lowest corner, where players walk. A player is inside when the block at his feet is inside the box.

No wand? /sfx zone around <name> <radius> [preset] makes a zone of that many blocks around you.

The wand also shows the zones around you with particles; /sfx zone show <name> shows the borders of one zone for 15 seconds, /sfx zone tp <name> takes you there (on the surface inside the box, or the highest free spot).

Ready-made zones

zone-templates.yml: pick one and its effects, title, messages and protection items are set in one click.

ZonePlaysProtected by
radiationradiation (Geiger clicks)gas mask, hazmat suit, iodine pills
toxic_swamptoxic gasgas mask, hazmat suit
volcanoheat wavefire resistance
desert_stormsandstormgas mask
frozen_peakblizzard
moonlow oxygenspace helmet
dark_cavedarknessflashlight, night vision goggles
boss_arenaa title when coming in
bank_vaultalarm
haunted_househaunted
nightmare_forestnightmare
shadow_dungeonshadow realmblessing charm
dream_worlddream
underwater_templeunderwater
prisonjailed
cinemacinematic bars
winter_villagewinter wonderland
partyparty
sanctuarysanctuary
healing_springhealing aura
checkpoint, finish_line, teleporter, scanner_gatea moment when coming in

Add your own templates to zone-templates.yml; new templates of an update are added by themselves.

In commands, a ready-made zone is written template:radiation or just radiation (a ready-made zone wins over a preset with the same name; write preset:radiation for the preset).

Zone options

In the zone's menu, with /sfx zone set <name> <option> <value>, or in zones.yml:

cursed_forest:
  world: world
  min: [100, 50, 100]
  max: [300, 150, 300]
  preset: nightmare                       # plays while a player is inside ("" = nothing)
  enter-preset: spook                     # plays once when a player comes in
  exit-preset: ""                         # plays once when a player goes out
  enter-title: "<dark_red>Cursed forest"
  enter-subtitle: "&7Something is watching you"
  enter-message: ""                       # action bar when coming in
  exit-message: ""                        # action bar when going out
  protected-by: [gas_mask]                # players protected by one of these get nothing
  protected-message: ""                   # action bar for a protected player when he comes in
  permission: ""                          # only players with this permission get the zone

protected-by takes items of items.yml (worn if they are wear items, held otherwise), materials, potion:<effect> and items of other plugins. Items with a protection-time (iodine pills) protect for a while after being used.

Command
/sfx zone create <name> [preset]a zone from your wand selection (no preset: the ready-made zones open)
/sfx zone around <name> <radius> [preset]a zone around you
/sfx zone redefine <name>new box from your selection
/sfx zone list · /sfx zone hereevery zone · the zones you are in
/sfx zone delete <name>delete it

WorldGuard

  • A zone that follows a region: /sfx zone region <region> <preset>, or in zones.yml: region: spawn, world: world ("" = that region id in any world).
  • Flags, without zones: /rg flag <region> screenfx-preset <preset> (while inside), screenfx-enter-preset (once, coming in), screenfx-exit-preset (once, going out). The flags are added at startup.

Players with screenfx.zone.bypass never get zone effects. Zones are checked without copying item data and with one WorldGuard question per step; very big zones (over 4096 chunks) are checked by their box.

Actualizat ultima data pe

Autentificare

Esti nou? Scrie doar emailul: contul se creeaza cand apesi pe link. Nu ai nevoie de parola.

sau

Iti trimitem un link care te autentifica dintr-un click. Merge si pentru conturi noi, si pentru cele existente.

Autentifica-te cu parola
Ai uitat parola?

Continuand, accepti Termeni si conditii si Politica de confidentialitate.

Staff: deschide „Autentifica-te cu parola” si scrie numele de utilizator in loc de email. Dupa parola iti cerem codul 2FA.