Table of Contents
Cookie Utils plot system
Plot system allows to create areas/regions for protecting the terrain.
Areas can be limited to one zone or made to work in all zones - if zone id is not specified.
Interactive region setup can be used to make regions on the fly in game.
Zones can have parent, if zone has defined parent zone it will take permissions from that zone and it's own permissions won't be loaded.
Regions priority defines which zone is more important.
Zones are first sorted based on which area has bigger priority, and after that based on which has smaller size.
Area config file
Area json file can contain:
enabled
- is area enabled, turned on - default true.protect
- is area protected from deletion and etc - default false.zoneId
- ID of zone in which zone exists - defaults to empty string.parent
- ID/file of parent area - defaults to empty string.scriptFile
- ID/file of script that should be used for this zone - defaults to empty string.
place
- can blocks be placed in area, turned on - default false.break
- can blocks be broken in area, turned on - default false.interact
- can blocks be interacted with in area, turned on - default false.laser
- can entity created lasers interact with blocks in area, turned on - default false.be_laser
- can block entity created lasers interact with blocks in area, turned on - default true.
explode
- can stuff explode in area, turned on - default false.enter
- can area be entered, turned on - default true.spawn_mob
- can mobs spawn in area, turned on - default true.
pvp
- can players damage players, turned on - default false.pve
- can players be damaged by enemies, turned on - default true.laser_damage
- can lasers damage players, turned on - default true.
Those options are ones that are available at moment of writing this wiki page.
Area Player Perms
Player Area Perm file needs to have player_id
value which is unique player identifier, each area should have example player perms generated.
Player Area Perm file can also have type
defined, setting it to owner
makes somebody owner of that area giving them permissions to modify other people permissions inside area.
People will be able to modify other people perms via interactive perm setup in their area if they have setup
and setup.area_perm
.
Note
Even throu example player perms might generate with all perms, only ones that will work at this point in time are
place
,break
,interact
,laser
andenter
.