up-to-0-5/Configuration
The information on this page applies only up to version 0.5
Flags
Any controlled region has some flags to could defined individually.
flag | description | possible values | default value |
---|---|---|---|
area | Defines, if the region could be conquer | allow / deny | deny |
period | Define a period in seconds and the delay between each earn money | Integer | 90 |
duration | Number of periods before becoming neutral (if 0 it never become neutral) | Integer | 1 |
time-catch | Delay in seconds before capturing the area | Integer | 30 |
money-amount | Money earned after each period | Integer | 0 |
ffa | if set true, groups' players are allowed to capture the area for their own profit | true / false | false |
In the option catchgroups all groups will be listed, which are allowed to conquer the region.
Config file
CatchMe uses one configuration file for one world in YAML format. This files are stored under the path [ServerRootFolder]/plugins/catchme/worlds/[WorldName]/regions.yml
regions: regionName: flags: {catching-area: allow/deny, catching-duration: Integer, catching-period: Integer, catching-time-catch: Integer, catching-money-amount: Integer, catching-flag: true/false} catchgroups: [group1, group2]
Example file
regions: ConquerCity: flags: {catching-area: allow, catching-period: 10, catching-time-catch: 5, catching-duration: 0} catchgroups: [TheConquers, GCM-Minecraft] ImpregnableCity: flags: {catching-area: deny, catching-duration: 30}
With this configuration the groups TheConquers and GCM-Minecraft could occupy the region ConquerCity. The region ImpregnableCity couldn't conquer from eyerone, so it could be an save city for PvP uninterested players.