更新下载链接
与...合作
组限制似乎是一个复杂的插件,但是应该表现良好。该插件可以选择通过阻止对代码锁,转塔和工具柜的授权来实施组限制。
特征
该插件使用Oxide的权限系统。要分配权限,请使用oxide.grant <user or group> <name or steam id> <permission>。要删除权限,请使用oxide.revoke <user or group> <name or steam id> <permission>。
可以GroupLimits.json在oxide/config目录下的文件中配置此插件的设置和选项。建议使用JSON编辑器或验证站点(例如jsonlint.com),以避免格式问题和语法错误。
{
"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})"
}
本土化
默认消息在GroupLimits.json目录下的oxide/lang/en文件中。要增加对另一种语言的支持,请创建一个新的语言文件夹(例如de德语)(如果尚未创建),将默认语言文件复制到新文件夹中,然后自定义消息。
英语
{
"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})"
}
与...合作
组限制似乎是一个复杂的插件,但是应该表现良好。该插件可以选择通过阻止对代码锁,转塔和工具柜的授权来实施组限制。
特征
- 每个短名称可配置*一切*等
- 登录Discord和文件
- 警告玩家和实体所有者
- 每个短名称的授权上限
- 禁用衰减结构的限制
- 违反限制时取消授权人的授权
- 违反限制时取消所有人的授权
- 强制选项(防止这样做,可以为社区服务器禁用)
该插件使用Oxide的权限系统。要分配权限,请使用oxide.grant <user or group> <name or steam id> <permission>。要删除权限,请使用oxide.revoke <user or group> <name or steam id> <permission>。
- grouplimits.ignore -忽略此玩家的组限制。
可以GroupLimits.json在oxide/config目录下的文件中配置此插件的设置和选项。建议使用JSON编辑器或验证站点(例如jsonlint.com),以避免格式问题和语法错误。
{
"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})"
}
本土化
默认消息在GroupLimits.json目录下的oxide/lang/en文件中。要增加对另一种语言的支持,请创建一个新的语言文件夹(例如de德语)(如果尚未创建),将默认语言文件复制到新文件夹中,然后自定义消息。
英语
{
"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})"
}