Parent and Sync Settings
Parent
A region can have a parent, which means that the region will inherit the settings of the parent. This means that if a region has a parent, the settings of the parent will be used if the region have the sync settings enabled. This is useful for creating a hierarchy of regions, where the parent region has the default settings and the child regions have specific settings.
To set a parent for a region, you can use the following command:
/rint setparent <name> <parent>
Where:
<name>is the name of the region you want to set the parent.<parent>is the name of the parent region.
Sync Settings
List of settings that can be synchronized with the parent region:
Toggle
The toggle setting is used to share the toggle status of the parent region with the child region. This means that if the parent region is disabled, the child region will also be disabled, and if the parent region is enabled, the child region will also be enabled.
To set the toggle setting for a region, you can use the following command:
/rint setsync <name> toggle <true:false>
Task Mode
You can also synchronize the task mode setting with the parent region. This means that if the parent region is set to MULTIPLE, the child region will also be set to MULTIPLE, and if the parent region is set to SINGLE, the child region will also be set to SINGLE.
To set the task mode setting for a region, you can use the following command:
/rint setsync <name> taskmode <true:false>
Permission requirement
The permission requirement setting is used to share the permission requirement status of the parent region with the child region. This means that if the parent region requires a permission to be able to interact with it, the child region will also require a permission to be able to interact with it (with the same permission as the parent region).
To set the permission requirement setting for a region, you can use the following command:
/rint setsync <name> permissionRequired <true:false>
Cooldown Time & Group
The cooldown time and group settings are used to share the cooldown time and group of the parent region with the child region. This means cooldown time would synchronize the cooldown after interacting, and cooldown group would synchronize the status of the cooldown to be the same on all child and parent regions.
To set the cooldown time setting for a region, you can use the following command:
/rint setsync <name> cooldownTime <true:false>
To set the cooldown group setting for a region, you can use the following command:
/rint setsync <name> cooldownGroup <true:false>
Running
The running setting is used to share the running status of the parent region with the child region. This means that if the parent region is running, the child region will also be running, and if the parent region is not running, the child region will also not be running.
To set the running setting for a region, you can use the following command:
/rint setsync <name> running <true:false>
It is useful for making child regions not to be executed multiple times if the parent region is already running and the task mode is SINGLE.