如果这个项目对你有帮助,请考虑在 GitHub 上 留下星标!
关于
本插件最初是为我们的大学 Minecraft 服务器(derex smp)创建的。你可以在服务器 IP
mc.longhorns.dev
查看此插件的实际运行效果。
在当今运营一个公开的 Minecraft 生存服务器时,往往意味着需要 应对有组织的破坏团伙和自动化的服务器扫描器,这迫使许多服务器只能开启 /whitelist on(白名单)以确保安全。但这牺牲了可访问性:如果你真的希望人们加入并探索这个世界呢?
Guests 是一个轻量级的 Bukkit 插件,用于管理你 Minecraft 服务器中的访客玩家。通过权限系统和配置文件,服务器管理员可以关闭白名单以让服务器公开,但仍可通过默认开启访客模式并将未验证的玩家设置为旁观者模式来筛选加入者。
你可以限制访客玩家的方块破坏、方块放置、方块交互以及聊天功能,并提供可配置的选项。
你可以使用提供的各种权限节点,并将其应用到权限组中,以启用或禁用访客行为。一种推荐的做法是将访客权限分配给所有玩家加入时获得的“default”权限组,并在他们被加入白名单或通过验证后提供提升其权限的方法。
使用方法
建议使用 LuckPerms 来管理权限组,并将 guest.guest 等其他权限添加到“default”组中。你可以使用 /lp promote 命令来提升指定用户的权限等级。
如果你有任何改进此系统的建议,请在 GitHub 上告诉我!
功能特性
- 强制玩家在加入时进入旁观者模式
- 阻止访客破坏、放置或与方块交互
- 阻止访客在聊天中发言(防止垃圾信息机器人或破坏组织发送 Discord 邀请链接等 spam)
- 阻止访客拾取物品
- 阻止访客伤害实体
- 轻松将访客晋升为拥有完整权限的成员
- 所有限制和状态均通过插件权限进行管理
- 暴露 API 接口,供 DiscordSRV 等插件在收到警报时使用访客加入和聊天拦截信息
权限
guests.guest \— 分配给访客玩家
guests.spectator \— 强制进入旁观者模式
guests.muted \— 限制聊天
guests.limited \— 限制方块交互
guests.damage \— 允许访客伤害实体
guests.pickup \— 允许访客拾取物品
guests.reload - 重新加载配置
配置
所有功能均可在 config.yml 文件中切换:
加入我们的开发 Discord!
致谢
最初为德克萨斯大学奥斯汀分校(UT Austin)Minecraft 服务器创建,你可以在 mc.longhorns.dev 查看此插件的实际运行效果。
由 Derex (derec4, derex_, derexXD, dereXD, derexwq, DereC_, CORRUPT_Greninja, lordnexus123 及其他用户名变体) 开发。
If this project helped you, please consider leaving some stars on the Github!
About
Created for our college Minecraft server (derex smp), check this plugin in action at server ip
mc.longhorns.dev
Running a public Minecraft survival server today often means dealing with organized griefing groups and automated server scanners, forcing many servers to run /whitelist on just to stay safe. But that comes at the cost of accessibility, what if you actually want people to join and explore?
Guests is a lightweight Bukkit plugin for managing guest players on your Minecraft server. Using a permission system and config, server owners can leave their whitelists off to make a server public, but still vet people who join by turning on a guest mode by default, and setting unverified players to spectator mode.
It allows you to restrict block breaking, block placing, block interaction, and chat for guests, with configurable options.
You use the various permission nodes given and apply them to permission groups to enable or disable guest behavior. A good way is to give guest permissions to the "default" permission group all players get on join, and have a method to promote them upwards once they are whitelisted / verified.
Usage
I recommend using LuckPerms to manage the groups, and adding guest.guest and other permissions to the "default" group. You can use /lp promote to promote specified users.
If you have any suggestions on how to improve this system plz let me know on the GitHub!
Features
- Force players into spectator mode on join
- Prevent guests from breaking, placing, or interacting with blocks
- Prevent guests from talking in chat (prevents spam bots, or griefing organizations from spamming Discord invites)
- Prevent guests from picking up items
- Prevent guests from damaging entities
- Easy promotion from guest to member with full permissions
- All restrictions and states are managed via plugin permissions
- Exposes APIs for guest joins and chat blocking for plugins like DiscordSRV to use in alerts
Permissions
guests.guest \— Assigned to guest players
guests.spectator \— Forces spectator mode
guests.muted \— Restricts chat
guests.limited \— Restricts block interaction
guests.damage \— Allows guests to damage entities
guests.pickup \— Allows guests to pickup items
guests.reload - Reload config
Configuration
All features can be toggled in the config.yml file:
Join our dev discord!
Credits
Created for the UT Austin Minecraft server, check this plugin in action at mc.longhorns.dev
Developed by Derex (derec4, derex_, derexXD, dereXD, derexwq, DereC_, CORRUPT_Greninja, lordnexus123, and other username iterations).
评论 0
登录后参与评分
还没有评论,来抢沙发吧