diff --git a/Plot-System.md b/Plot-System.md new file mode 100644 index 0000000..958e155 --- /dev/null +++ b/Plot-System.md @@ -0,0 +1,38 @@ +[Return](./Home) +
+ +### 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](./Setup-Command) 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 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. \ No newline at end of file