插件介绍
为具有权限的玩家设置橱柜放置上限
BREAKING CHANGE for version 1.6.1 when upgrading: The Team Limit is now global per team and not per member. The "Global Team Limit" is true by default in the config because this behaviour is more likely what server owners expect
The roadmap of this plugin depends on your suggestions ! (I'll try to add your features as quickly as possible, if they are relevant.)
Here is the description for an example configuration (not the default one) :
Corresponding to the following JSON file:
主要用途
主要用于cupboard、limitations等服务端功能。 本插件由 Spiikesan 发布,当前目录记录版本为 v1.7.6,uMod 累计下载 16,190 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Set a max on cupboard placements for player(s) with permissions
权限节点
cupboardlimiter.bypass
Gives No limits on TC placing
cupboardlimiter.vip
Sets the cupboard limit on player with Vip settings
cupboardlimiter.admin
Unused... Admin comming
cupboardlimiter.limit_X
where X is the index in the array of "Limit Others" limits in the configuration, begining at 1.
cupboardlimiter.commandList
Use the /tc command
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
tc
Retrieve the current count, remaining and position of your TCs. No permission needed.
tc <partialUserNameOrId>
Retrieve the number and position of all TCs for a specific player using it's name (or only a part of it) or it's steam userID. Need the admin permission or use in the server console (or via RCON). If used from the console, you can put multiple users at the same time and get a full log.
配置说明
Here is the description for an example configuration (not the default one) :
The default limit is 5 TC.
If the player is in a team with at least 2 and less than 4 members, the limit is 8 TCs for all the team. If there is at least 4 members, the limit is 16 for all the team. If the "Global Team Limit" were false, those limits would be per player.
But, if the player have any of the limit_1, limit_2 or limit_3 permission, only the granted perm with the maximum amount will be applied (Can be less than the Default one only if the "Limit Others Can Downgrade Default" setting is true).
But, If the player has the VIP permission, he will have a limit of 20 TC.
Corresponding to the following JSON file:
{ "Max amount of TC(s) to place": { "Limit Default": 5, "Limit Vip": 20, "Limit Others": [2, 10, 8], "Limit Others Can Downgrade Default": true, "Global Team Limit": true, "Limits In Team" : { "2": 8, "4": 16 }, }, "Discord Notification": { "Discord Webhook URL": "" }, "Chat Settings": { "Prefix": "[Cupboard Limiter] :", "Icon's SteamId": 76561198049668039 } }
官方配置示例
{
"Max amount of TC(s) to place": {
"Limit Default": 5,
"Limit Vip": 20,
"Limit Others": [2, 10, 8],
"Limit Others Can Downgrade Default": true,
"Global Team Limit": true,
"Limits In Team" : {
"2": 8,
"4": 16
},
},
"Discord Notification": {
"Discord Webhook URL": ""
},
"Chat Settings": {
"Prefix": "[Cupboard Limiter] :",
"Icon's SteamId": 76561198049668039
}
}
{
"MaxLimitDefault": "You have reached the Default maximum cupboard limit of {0}", //{0} => TC count
"MaxLimitVip": "You have reached the Vip maximum cupboard limit of {0}", //{0} => TC count
"Remaining": "Amount of TC's remaining = {0}", //{0} => TC count
"NoPermission": "You don't have the permission.",
"cInspect": "The user {0} have {1} TCs.", //{0} => userName, {1} => TC count
"cInspectUsage": "Usage: /{0} <userNameOrId>", //{0} => Command name
"cInspectNotFound": "Error: User not found",
"TeamOvercount": "You cannot invite this player right now, he have {0} TC too many." // {0} => too many TC amount
}
更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。