Group Limits3.0.5
Free
4
4 Views
3
3 Downloads
15.79 KB
File Size
December 29
Upload
December 24
Submitted
Group Limits may seem to be a complex plugin, but should perform well. The plugin can optionally enforce group limits by blocking authorization on code locks, turrets, and tool cupboards.
Features
- Configurable *everything* per-shortname and etc
- Logging in Discord and a file
- Warning players and entity owners
- Max authorized per-shortname
- Disable limits for decaying structures
- Deauthorize one authorized person when you break a limit
- Deauthorize everyone when you break a limit
- Enforcement option (Prevent from doing it, can be disabled for Community servers)
Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant user or group name or steam id permission. To remove a permission, use oxide.revoke user or group name or steam id permission.- grouplimits.ignore - Ignore group limit for this player.
Configuration
The settings and options can be configured in the GroupLimits file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.{
"Limits": [
{
"Type Name": "Any",
"Max Authorized": 3,
"Shortnames": [
"global"
],
"Disable For Decaying Structures": true,
"Notify Player": true,
"Notify Owner": true,
"Enforce": false,
"Deauthorize": true,
"Deauthorize All": true,
"Discord": {
"Webhook": "",
"Inline": true,
"Title": "Group Limit: Exceeded or deauthorized",
"Color": 0,
"Player Title": "Player",
"Player": "{name}/{id}",
"Entity Title": "Entity",
"Entity": "{shortname}/{id} ({type})",
"Position Title": "Position",
"Position": "teleportpos {position}"
},
"Log To File": false
}
],
"Log Format": "[{time}] {id} ({name}) authorized on {shortname}/{entid} ({type}) at ({position})"
}
Localization
The default messages are in the GroupLimits file under the lang/en directory. To add support for another language, create a new language folder (e.g. de for German) if not already created, copy the default language file to the new folder and then customize the messages.English
{
"Notify: Player": "You are trying to exceed the group limit on our server.",
"Notify: Owner": "{name} tried to exceed the group limit on your entity at {position}. (Type: {type})",
"Notify: Deauthorize Player": "One person was deauthorized, try to authorize again if you were not.",
"Notify: Deauthorize Owner": "{name} tried to authorize on your entity. One person was deauthorized on your entity at {position}. (Type: {type})"
}



