RealmMode
RealmMode 是一款轻量级且高性能的 Minecraft 插件,允许玩家独立选择 PVE(玩家对环境)和 PVP(玩家对玩家)模式。玩家可以通过便捷的图形界面菜单切换模式,而管理员则使用命令来管理设置和统计数据。该插件完全可配置,并支持现代 HEX 颜色代码。
主要功能
- 两种可选模式: PVE 和 PVP,每种模式都有独立的设置。
- 便捷的 GUI 菜单: 在一个交互式界面中完成模式选择、确认查看统计信息。
- 模式统计: 显示总玩家数量以及 PVE/PVP 的分布情况,并支持分页导航。
- 模式切换冷却: 防止频繁切换模式。
- 通知与广播: 向玩家本人及整个服务器发送模式变更通知,并提供精美的标题(Titles)。
- HEX 颜色: 完全支持
<#RRGGBB> 格式,用于鲜艳的消息样式。
- 本地化: 通过配置文件灵活配置所有消息。
安装
- 将
RealmMode.jar 放入服务器的 /plugins/ 文件夹中。
- 启动或重启服务器以生成配置文件。
- 根据需要配置
config.yml(包括消息、冷却时间、权限等)。
- 完成!
命令与权限
| 命令 |
描述 |
权限节点 |
/mode |
切换模式的能力 |
所有人可用 |
/rm reload |
重新加载插件配置 |
realm-mode.admin.reload |
/rm change [昵称] [PVE/PVP] |
强制更改玩家的模式 |
realm-mode.admin.change |
/rm stats |
查看模式统计信息 |
realm-mode.admin.stats |
普通玩家 可以通过 GUI 菜单切换模式,无需额外权限。
| 权限 |
描述 |
子权限 |
realm-mode.admin.* |
访问所有管理员命令 |
reload, change, stats |
realm-mode.bypass.* |
绕过所有限制 |
cooldown, combat |
realm-mode.admin.reload |
重新加载配置的能力 |
|
realm-mode.admin.change |
强制更改玩家模式的能力 |
|
realm-mode.admin.stats |
查看模式统计信息的能力 |
|
realm-mode.bypass.cooldown |
忽略模式切换冷却 |
|
realm-mode.bypass.combat |
忽略战斗状态限制 |
|
注意: 所有权限默认授予操作员(op)。若要将其授予普通玩家,请显式分配它们——例如,使用 LuckPerms:/lp group default permission set realm-mode.bypass.cooldown true
模式
|
PVE - 建造、收集、生存
和平的游戏体验,没有 PVP 战斗。适合建造者和探索者:在建造、资源收集和世界探索方面享有完全自由,且不用担心被其他玩家攻击的风险。
|
PVP - 装备、击杀、战斗
与其他玩家进行真正的战斗。适合寻求刺激和竞争的玩家:公开的战斗、竞技精神,以及在战场上证明你优越性的机会。
|
RealmMode
RealmMode is a lightweight and high-performance Minecraft plugin that allows players to independently choose between PVE and PVP modes. Players switch modes through a convenient GUI menu, while administrators manage settings and statistics using commands. The plugin is fully configurable and supports modern hex colors.
Key Features
- Two modes to choose from: PVE and PVP with individual settings for each mode.
- Convenient GUI menu: Mode selection, confirmation, and statistics viewing in a single interactive interface.
- Mode statistics: Total player count and distribution across PVE/PVP with paginated navigation.
- Mode switch cooldown: Protection against frequent mode switching.
- Notifications and broadcast: Notifications about mode changes for the player and the entire server, as well as nice Titles.
- HEX colors: Full support for the
<#RRGGBB> format for vibrant message styling.
- Localization: Flexible configuration of all messages via the config.
Installation
- Place
RealmMode.jar into your server's /plugins/ folder.
- Start or restart the server to generate the configuration files.
- Configure
config.yml to your needs (messages, cooldown, permissions, etc.).
- Done!
Commands and Permissions
| Command |
Description |
Permission Node |
/mode |
Ability to change mode |
Available to everyone |
/rm reload |
Reloads the plugin configuration |
realm-mode.admin.reload |
/rm change [nickname] [PVE/PVP] |
Forcefully changes a player's mode |
realm-mode.admin.change |
/rm stats |
View mode statistics |
realm-mode.admin.stats |
Regular players can change their mode through the GUI menu without additional permissions.
| Permission |
Description |
Children |
realm-mode.admin.* |
Access to all admin commands |
reload, change, stats |
realm-mode.bypass.* |
Access to bypassing all restrictions |
cooldown, combat |
realm-mode.admin.reload |
Ability to reload the configuration |
|
realm-mode.admin.change |
Ability to force-change a player's mode |
|
realm-mode.admin.stats |
Ability to view mode statistics |
|
realm-mode.bypass.cooldown |
Ignores the mode-switch cooldown |
|
realm-mode.bypass.combat |
Ignores combat mode |
|
Note: all permissions are granted to operators (op) by default. To give them to players, assign them explicitly - for example, with LuckPerms: /lp group default permission set realm-mode.bypass.cooldown true
Modes
|
PVE - Build, gather, survive
Peaceful gameplay without PVP combat. Ideal for builders and explorers: complete freedom in building, resource gathering, and world exploration without the risk of being attacked by other players.
|
PVP - Gear up, kill, fight
Full-fledged battles with other players. For those seeking excitement and rivalry: open fights, competitive spirit, and the opportunity to prove your superiority on the battlefield.
|
评论 0
登录后参与评分
还没有评论,来抢沙发吧