Configure regions
On this page I will show you, how to define a WorldGuard region as catchable. And how you could set the options of a region.
General
All options would set, saved and managed by WorldGuard (more specifically by WorldGuard Custom Flags). So you only need to set WorldGuard flags with the /region flag {regionname} {flagname} {value}
(you also could use /rg
instead of /region
).
To clear a flag and use the default value use the same command, without a value for the flag: /rg flag {regionname} {flagname}
Flags
flag | description | possible values | default value |
---|---|---|---|
catchable | define a region to catchable | allow / deny | deny |
showname | the name of the region to show in messages | String | the region ID |
catching-time | the time in seconds to conquer the region | positive integer | 900 = 15 minutes |
catch-period | the period in seconds to earn money for holding the region | positive integer | 3600 = 1 hour |
catch-duration | the count of the peroids, when the region should be neutralize set to 0 to deactived the neutralization of this region | non-negative integer | 0 |
catch-money | amount of money (in the mayor unit) to earn for holding the region | floating point number | 50.0 |
catchgroups | list of factions, which are allowed to conquer the region Format: faction1;faction2 if the list is empty, any faction could conquer the region | list of faction names | none |
catch-ffa | set to allow to let a player conquer the region instead of a faction | allow / deny | deny |
necessary-regions | list of regions, which are must be also conquered, to conquer this region Format: world1:regionID1;world2:regionID2 | list of world names and region ids | none |
Examples
- Set the region "ConquerCity" to catchable:
/rg flag ConquerCity catchable allow
- Set amount of money for "FrozenForest" to 157.6:
/rg flag FrozenForest catch-money 157.6
- Set the region "FrozenForest" in the world "defaultWorld" and the region "LavaFields" in the world "netherWorld" as necessary regions of "ConquerCity" in the world, where the command sender is:
/rg flag ConquerCity necessary-regions defaultWorld:FrozenForest;netherWorld:LavaFields
Comments