• 每个人都可以搬运插件,请严格遵守搬运插件的规则,帖子一定要写上原帖地址! 近期Rustbbs会有大量更新!服务器版块请严格按照规定排版写入! 搬运插件请不要大量机翻!QQ交流群:612904352
Group Limits/组限制

搬运 Group Limits/组限制 3.0.0

没有下载权限
原网址
https://umod.org/plugins/group-limits
原作者
misticos
原名称
Group Limits
更新下载链接

与...合作

组限制似乎是一个复杂的插件,但是应该表现良好。该插件可以选择通过阻止对代码锁,转塔和工具柜的授权来实施组限制。

特征
  • 每个短名称可配置*一切*等
  • 登录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})"
}
作者
啊布呀
下载
20
查看
2,161
首次发布
上次更新
评分
0.00 星 0个评价

啊布呀的更多资源

分享此资源