Simple Trust
Simple Trust 是一个插件,旨在帮助你信任服务器上的玩家。
该插件不会修改服务器的白名单,而是将其数据保存在一个名为 PlayerData.json 的文件中,服务器所有者可以轻松地访问、编辑或查看该文件。
功能
此插件允许玩家使用 /trust 命令信任最多 5 名玩家(可在配置文件中更改)。被信任的玩家能够:信任其他玩家,以及解除他们自己信任过的玩家的信任状态。
此插件确保只有被信任的玩家、拥有 OP 权限的玩家、具有 SimpleTrust.bypass 权限的角色组(ranks)成员,或被列入白名单的玩家才能加入服务器。
图表显示谁可以加入:
| 玩家 |
权限 |
能否加入 |
| Player1 |
管理员 |
✅ |
| Player2 |
受信任 |
✅ |
| Player3 |
拥有 SimpleTrust.bypass |
✅ |
| Player4 |
未受信任 |
❌ |
| Player5 |
拥有 SimpleTrust.bypass 的等级 |
✅ |
| Player6 |
随机等级 |
❌ |
| Player7 |
白名单内 |
✅ |
玩家命令
- /trust <玩家名称> -> 信任一名玩家
- /untrust <玩家名称> -> 允许玩家取消对某人的信任(该人已被其信任)
管理员命令
/trustInfo <玩家名称> -> 显示谁信任了他们以及他们信任了谁
/forceUntrust <玩家名称> <玩家名称> -> 解除由其他玩家授予的信任 此功能尚未完全实现,仍在开发中
/simpletrust clear/bulk
/simpletrust clear playerData/loggedUUID/等
/simpletrust bulk trust/untrust <玩家名称>
信息
拥有 OP(管理员权限)的人可以信任无限数量的玩家,或者拥有 SimpleTrust.bypass 权限的玩家。
你可以信任拥有控制台权限的人。
配置说明
max-trust -> 没有 OP 或没有权限的玩家最多可以信任的玩家数量
log-uuid -> 如果被信任的玩家加入服务器并更改了用户名,他们仍然可以登录
force-capitalization -> 如果玩家在 /trust 中的大小写不正确/不一致,他们将无法加入
remove-join-message -> 如果未受信任的玩家尝试加入,其加入和退出消息将被移除
alert-to-players -> 如果有未受信任的玩家加入,能够使用 /trust 的玩家会收到提示,告知这可能是他们的朋友/成员试图加入
inherit-ban -> 如果你被某人信任,而此人随后被封禁,你也将失去信任状态
权限
SimpleTrust.use -> 允许玩家信任/取消信任他人
SimpleTrust.admin -> 允许玩家使用管理员命令
SimpleTrust.bypass -> 无需被信任即可信任任意数量的玩家
该插件尚未完全完成,后续还将进行更改。
Simple Trust
Simple Trust is a plugin designed to trust people on your server.
This plugin doesn't change the server's whitelist instead it saves its data in a file called PlayerData.json which the server owner can easily access/edit/view
Functionality
This allows players to /trust up to 5 players (changable in config). Trusted players can: trust other players, untrust only the players they trusted.
This plugin makes it so only trusted, people with op, ranks with permission SimpleTrust.bypass, or whitelisted people to join the server
Graph to show who can join:
| Player |
Permission |
Can Join |
| Player1 |
Operator |
✅ |
| Player2 |
Trusted |
✅ |
| Player3 |
Has SimpleTrust.bypass |
✅ |
| Player4 |
Untrusted |
❌ |
| Player5 |
Rank with SimpleTrust.bypass |
✅ |
| Player6 |
Random Rank |
❌ |
| Player7 |
Whitelisted |
✅ |
Player Commands
- /trust <player name> -> Trust a player
- /untrust <player name> -> Allows a player to untrust someone (that they trusted)
Admin Commands
- /trustInfo <player name> -> Shows who trusted them and who they trusted
- /forceUntrust <player name> <player name> -> Untrust someone who got trusted by another player This has not yet been fully implemented and is still a WIP
- /simpletrust clear/bulk
- /simpletrust clear playerData/loggedUUID/etc
- /simpletrust bulk trust/untrust <player names>
Information
People with op have infinite people they can trust or people with SimpleTrust.bypass
You can trust people with the console
Config Explanation
max-trust -> The max amount of players someone without op or no perms can trust
log-uuid -> If somebody who got trusted joins the server and they change their name they can join
force-capitalization -> If a player's capitalization is wrong/diffrent in the /trust they won't be able to join
remove-join-message -> If someone not trusted tries joining their join and quit message will be removed
alert-to-players -> If someone not trusted joins people who can /trust will be told that it might be one of their friends/members trying to join
inherit-ban -> If you got trusted by someone and they later got banned you will be untrusted
Permissions
SimpleTrust.use -> Allow a player to trust/untrust others
SimpleTrust.admin -> Allow a player to use the admin commands
SimpleTrust.bypass -> Doesn't need to be trusted and they can trust as many people as they want
This plugin is not fully finished yet and there are changes going to be done
评论 0
登录后参与评分
还没有评论,来抢沙发吧