About Entity Triggers
This plugin allows you to trigger commands based on the server entity count.
Usage
- Check interval In Seconds - The amount of seconds the plugin check the server entities count.
- Execute One Trigger Per Check - Executes only one trigger every entities count check.
- Triggers [Count] - The server entities count for the trigger.
- Triggers [Enabled] - The trigger state.
- Triggers [Priority] - The trigger priority the lower the number is the higher the priority is, meaning it will run first if the conditions are met.
- Triggers [Type] - The type of the trigger "Equal" to the set entities count or "Equal Or Greater" than the set entities count.
- Triggers [Run Once] - Runs the trigger only one time if the conditions are met, meaning it will not run again even if the conditions are met.
- Triggers [Commands] - The commands that will be executed when the trigger conditions are met.
Configuration
{
"Check Interval In Seconds": 60,
"Execute One Trigger Per Check": true,
"Triggers": {
"100000": {
"Enabled": true,
"Priority (The lower the higher)": 1,
"Type (0 = Equal, 1 = Equal Or Greater)": 1,
"Run Once": false,
"Commands": [
"say Server has reached 100,000 entities!"
]
},
"120000": {
"Enabled": true,
"Priority (The lower the higher)": 2,
"Type (0 = Equal, 1 = Equal Or Greater)": 1,
"Run Once": false,
"Commands": [
"say Server has reached 120,000 entities!"
]
},
"135000": {
"Enabled": true,
"Priority (The lower the higher)": 3,
"Type (0 = Equal, 1 = Equal Or Greater)": 0,
"Run Once": false,
"Commands": [
"say Server has reached 135,000 entities!"
]
}
}
}