-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Joe Goett edited this page Jul 2, 2015
·
1 revision
The config is a JSON file, config/aPerf/entity/spawnLimits.json
The root JSON element MUST be an array. Each item in the array is a separate limit.
A limit is a JSON object. Each limit must have a type. Optionally it can have a value and a filter. The value depends on the type of limit you have.
An example configuration is given below.
[
{
"type": "Disabled",
"filter": {
"type": "Name",
"value": "Pig"
}
},
{
"type": "ServerCount",
"value": 10,
"filter": {
"type": "Name",
"value": "Zombie"
}
},
{
"type": "Disable",
"filter": {
"type": "Multi",
"value": [
{
"type": "Name",
"value": "Pigman"
},
{
"type": "Dimension",
"value": [0, 1]
}
]
}
}
]