No Magic Zones - TheComputerGeek2/MagicSpells GitHub Wiki
No Magic Zones are defined in zones.yml
.
Option | Description | Type | Default |
---|---|---|---|
enabled |
Defines if the plugin should load this zone. | Boolean | true |
type |
Zone Type | none |
|
priority |
The priority of the zone is considered when multiple zones overlap. Scroll below for more info about Zone Processing. | Integer | 0 |
message |
String sent to the caster if the spell failed due to the caster being in this zone. | String | "You are in a no-magic zone." |
allow-all |
Defines whether all spells should be allowed in the zone. Scroll below for more info about Zone Processing. | Boolean | false |
disallow-all |
Defines whether all spells should be disallowed in the zone. Scroll below for more info about Zone Processing. | Boolean | true |
This also supports Spell Filter options. |
Steps done:
- If
disallow-all
istrue
, the spell will be disallowed and processing will stop. - If
allow-all
istrue
, the spell will be allowed and processing will stop. - If the spell passes the Spell Filter, it will be allowed.
Option | Description | Type |
---|---|---|
world |
Defines the world location of the zone. | String |
point1 |
Defines the first corner of the cuboid. This is a string in the format "x,y,z" (e.g. 10,100,0 ). |
String |
point2 |
Same as above. | String |
Important
Requires WorldGuard.
Option | Description | Type |
---|---|---|
world |
Defines the world location of the zone. | String |
region |
Define the WorldGuard region name to use the cuboid location. | String |