
MorayMyEvent – 幸运事件与管理员 GUI 插件 / Lucky Events & Admin GUI Plugin
插件介绍 / Introduction
MorayMyEvent 是一款轻量级但功能丰富的 Bukkit 插件,为服务器注入随机惊喜与可控的全局事件。玩家可以通过指令触发个人的幸运或霉运事件,管理员则能通过直观的 GUI 界面一键开启各种有趣的服务器范围事件,极大提升服务器的互动性与娱乐性。
MorayMyEvent is a lightweight yet feature-rich Bukkit plugin that injects random surprises and controllable global events into your server. Players can trigger personal lucky or unlucky events via commands, while administrators can easily launch various interesting server-wide events through an intuitive GUI, greatly enhancing server interactivity and entertainment.
功能特性 / Features
🎲 玩家幸运事件 / Player Lucky Events
玩家通过 /mme pleventlucky 触发随机事件,80% 概率好运,20% 概率霉运(概率可配置):
- 好运:生命恢复、速度提升、获得钻石、经验加成、饱和效果
- 霉运:饥饿、中毒、霉运/缓慢、虚弱
Players use /mme pleventlucky to trigger random events, 80% chance of good luck, 20% bad luck (configurable):
- Good luck: Regeneration, Speed, Diamonds, Experience, Saturation
- Bad luck: Hunger, Poison, Unluck/Slowness, Weakness
🖥️ 管理员事件 GUI / Admin Event GUI
管理员通过 /mme exento 打开图形界面,一键触发服务器范围事件:
- TNT 雨:在所有玩家头顶降下大量 TNT
- 随机传送:将所有玩家传送到世界随机位置
- 怪物入侵:在玩家周围生成多种怪物
- 闪电风暴:随机在玩家附近召唤闪电
- 祝福之光:所有玩家获得随机正面药水效果
- 更多
Admins open a GUI with /mme exento and trigger server-wide events with one click:
- TNT Rain: Rain TNT from the sky above all players
- Random Teleport: Teleport all players to random world locations
- Mob Invasion: Spawn various mobs around players
- Lightning Storm: Strike lightning randomly near players
- Blessing: Give all players random positive potion effects
- More
📝 完全可自定义消息 / Fully Customizable Messages
所有显示文本(包括 GUI 标题、物品名称、聊天消息)均通过 message.yml 配置,支持 & 颜色代码,并自带统一前缀 &7[&6MorayMyEvent&7]。
All displayed texts (GUI title, item names, chat messages) are configurable via message.yml, support & color codes, and come with a unified prefix &7[&6MorayMyEvent&7].
⚙️ 灵活配置 / Flexible Configuration
-
幸运概率可独立配置(
config.yml中的lucky-chance) -
支持重载配置(
/mme reload),无需重启服务器 -
Lucky chance configurable in
config.yml(lucky-chance) -
Reload config with
/mme reloadwithout restarting server
📋 信息查询 / Information Query
-
/mme info:查看插件版本、作者、描述 -
/mme info: View plugin version, author, description
命令列表 / Commands
| 命令 / Command | 说明 / Description | 权限 / Permission |
|---|---|---|
/mme help | 显示帮助信息 / Show help | moraymyevent.player.useluckyevent |
/mme pleventlucky | 触发幸运事件 / Trigger lucky event | moraymyevent.player.useluckyevent |
/mme exento | 打开管理员 GUI / Open admin GUI | moraymyevent.admin.eventgui |
/mme info | 显示插件信息 / Show plugin info | moraymyevent.player.cmdinfo |
/mme reload | 重载配置文件 / Reload config | moraymyevent.admin.cmdreload |
所有命令均支持 Tab 补全,根据权限智能显示可用子命令。
All commands support tab completion, intelligently showing available subcommands based on permissions.
权限节点 / Permissions
| 权限节点 / Permission | 说明 / Description | 默认 / Default |
|---|---|---|
moraymyevent.player.useluckyevent | 允许使用幸运事件 / Allow using lucky event | true |
moraymyevent.admin.eventgui | 允许打开管理员 GUI / Allow opening admin GUI | op |
moraymyevent.admin.cmdreload | 允许重载配置 / Allow reloading config | op |
moraymyevent.player.cmdinfo | 允许查看插件信息 / Allow viewing plugin info | op |
配置文件 / Config Files
- config.yml:主配置文件,包含幸运概率设置。
- message.yml:语言文件,可自定义所有提示消息、GUI 标题及物品名称。
适用版本 / Supported Versions
- Bukkit / Spigot / Paper 1.20+
- 不支持 Folia(如需 Folia 支持,请使用特定分支或等待后续更新)
Folia is not supported (for Folia support, use a specific branch or wait for future updates)
开发者信息 / Developer Info
- 作者 / Author: Morpe14514
- 工作室 / Studio: 默锐星核工作室 (Moray Star Core Studio)
- QQ群 / QQ Group: 1081434103
- Website: mssd-host.ddns.net:40000
让每一次指令都充满惊喜! / Make every command a surprise!