插件介绍
通过新的权限/用户组奖励玩家的游戏时间
Have you ever wanted to give your loyal players additional permissions/usergroups? Then Loyalty is for you! Loyalty allows administrators to reward their players with new permissions and usergroups according to their playtime.
Maybe your server gets full fairly often and you allow players to donate to skip the queue. Sadly, not everyone has the money to spare to skip the queue. This leaves out some of your most loyal players that's been there from the start. That's when Loyalty comes in handy! Just make a reward for example 24 hours of gametime gives players the permission to skip queue.
You get to see familiar faces when the server is full and your Loyal players get to actually keep playing on your server. It's a win-win situation!
Loyalty points is the way Loyalty measures how long a player has spent on the server. Every minute(by default) the plugin checks which players are online. Everyone that is online recieves 1 loyalty point. When a player reaches a loyalty point requirement for a given permission/usergroup this player is granted that permission/usergroup. Simple stuff!
主要用途
主要用于奖励、playtime、权限、groups等服务端功能。 本插件由 Rick6 发布,当前目录记录版本为 v1.3.6,uMod 累计下载 1,437 次。
适用场景
- PVE、活动服或任务玩法服务器
- 带经济、商店、礼包或奖励系统的服务器
功能分类
查看 uMod 官方英文简介
Reward your players for play time with new permissions/usergroups
权限节点
loyalty.loyalty - Allows the use of /loyalty
loyalty.add - /loyalty add
loyalty.remove - /loyalty remove
loyalty.set - /loyalty set
loyalty.reset - /loyalty reset
loyalty.top - /loyalty top
loyalty.lookup - /loyalty lookup
loyalty.help - /loyalty help
loyalty.addgroup - /loyalty addg
loyalty.removegroup - /loyalty removeg
loyalty.rewards - /loyalty rewards
loyalty.rewardsg - /loyalty rewardsg
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
This plugin provides universal chat and console commands. When using a command in the chat, prefix it with a forward slash / or the symbol you have configured in umod.config.json.
All commands support partial names. So /loyalty set b 1000 will find the first player with a name starting with b for example.
Also when adding a permission or usergroup as a reward, simply put a - in front of the permission/usergroup to have it removed at the set loyalty.
/loyalty - return your current loyalty points
/loyalty add {int: loyaltyrequirement} {string: (-)permission} {string: alias}- Add a new loyalty reward
/loyalty remove {string: permission} - Remove an existing loyalty reward
/loyalty set {string: playername} {int: newLoyalty} - Set a users loyalty points to a specific value
/loyalty reset {string: playername} - Set a users loyalty points to 0
/loyalty top - Display a list of the top 10 most loyal players on the server
/loyalty lookup {string: playername} - Lookup the loyalty points of a player
/loyalty help - Shows basic information about the plugin
/loyalty addg {int: loyaltyrequirement} {string: (-)groupname} - Adds a usergroup as a loyalty reward
/loyalty removeg {string: groupname} - Removes a usergroup loyalty reward
/loyalty rewards - Lists the senders next 5 upcoming permission rewards
/loyalty rewardsg - Lists the sender next 5 upcoming usergroup rewards
配置说明
"serverIconID": "76561198314979344" - Change "76561198314979344" to the steam id of a steam user whose profile picture you want the plugin to use when sending messages. By default it displays one of my accounts using Loyalty's icon. "serverName": "Default Server" - Change "DefaultServer" to whatever server name you want displayed when the server sends messages. "allowAdmin": true - Set this to true to allow admins loyalty to be recorded. "colorError": "red" - Sets the color of your error messages. "colorHighlight": "yellow" - Sets the color of highlighted words and sentences "colorText": "#FFFFFF" - Sets the color of pretty much all messages apart from errors/highlights "debug": false - Puts information to the console "rate": 60.0 - The rate of which players are given loyalty points in seconds
官方配置示例
"serverIconID": "76561198314979344" - Change "76561198314979344" to the steam id of a steam user whose profile picture you want the plugin to use when sending messages. By default it displays one of my accounts using Loyalty's icon.
"serverName": "Default Server" - Change "DefaultServer" to whatever server name you want displayed when the server sends messages.
"allowAdmin": true - Set this to true to allow admins loyalty to be recorded.
"colorError": "red" - Sets the color of your error messages.
"colorHighlight": "yellow" - Sets the color of highlighted words and sentences
"colorText": "#FFFFFF" - Sets the color of pretty much all messages apart from errors/highlights
"debug": false - Puts information to the console
"rate": 60.0 - The rate of which players are given loyalty points in seconds
更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。