? XfeaturesDragonEgg
? 描述
XfeaturesDragonEgg 是一款功能全面的 Minecraft 服务器实用插件,为备受瞩目的龙蛋引入了高级追踪、保护和视觉增强功能。再也不用担心龙蛋丢失或被偷了!
- ?️ 容器保护:防止玩家将龙蛋藏在末影箱、潜影盒、束口袋、发射器、熔炉等容器中。它只能存放在普通箱子或陷阱箱中。
- ? 高级追踪:随时掌握龙蛋的位置!追踪玩家背包、箱子、已放置的方块甚至掉落在地上的龙蛋。
- ✨ 视觉效果:携带龙蛋的玩家会发出独特的粉色发光效果以及精美的末影棒粒子。
- ?️ 伤害免疫:龙蛋(作为掉落物)完全免疫火焰、岩浆、爆炸、仙人掌伤害,且永远不会消失!
✨ 主要特性
- 容器限制:完全可配置的禁用容器类型列表。
- 持久化追踪:即使服务器重启,龙蛋的位置和状态也会被保存。
- 动态视觉效果:拥有龙蛋的玩家会有独特的视觉美学效果。
- 掉落物保护:针对龙蛋物品的全面防损坏和防消失机制。
- 完整消息自定义:所有通知和界面文本均可在配置文件中更改。
- 易于管理:直观的管理员命令用于追踪龙蛋和重载配置。
? 依赖要求
- Spigot/Paper 1.21+
- Java 25
? 安装
- 从 Releases 部分下载最新版本的插件
- 将 JAR 文件放入服务器的
plugins 文件夹中
- 重启服务器
- 根据需要配置文件
- 使用命令
/dragonegg reload 重载插件
? 支持的语言
XfeaturesDragonEgg 支持多种语言,供全球用户使用。你可以使用命令 /dragonegg language <language> 更改插件语言。
可用语言:
- English (en)
- Russian (ru)
- German (de)
- Polish (pl)
- Italian (it)
- Portuguese (pt)
- Turkish (tr)
- French (fr)
- Spanish (es)
- Lithuanian (lt)
- Latvian (lv)
- Estonian (et)
- Arabic (ar)
- Hindi (hi)
- Chinese (Simplified) (cn)
- Japanese (ja)
- Korean (ko)
添加新语言
如果你想添加新语言或改进现有翻译:
- 复制
resources/messages/ 文件夹中的 messages-en.yml 文件
- 将其重命名为
messages-XX.yml,其中 XX 是你的语言代码
- 将所有字符串翻译成你的语言
- 通过 Pull Request 提交翻译或联系开发者
我们非常欢迎新的翻译和对现有翻译的改进!
⚙️ 配置
首次启动后,插件将创建配置文件:
config.yml
基本插件设置:
# 所有可用语言请在此处查找:
# https://github.com/XfeaturesGroup/XfeaturesDragonEgg/tree/master/examples/messages
# 插件的语言设置
language: "en"
# 容器保护
protection:
enabled: true
# 禁用的容器类型列表
# 龙蛋只能放置在普通的 CHEST 或 TRAPPED_CHEST 中
blocked-containers:
- ENDER_CHEST
- SHULKER_BOX
- BUNDLE
- DISPENSER
- DROPPER
- FURNACE
- BLAST_FURNACE
- SMOKER
- BREWING_STAND
- HOPPER
- BARREL
- CRAFTER
# 携带龙蛋时的视觉效果
effects:
enabled: true
# 玩家发光效果(粉紫色)
glowing:
enabled: true
color: "LIGHT_PURPLE"
# 玩家周围的 END_ROD 粒子
particles:
enabled: true
type: "END_ROD"
count: 3
interval: 10
# 龙蛋追踪
tracking:
enabled: true
persistent: true
? 命令
| 命令 |
描述 |
权限 |
/dragonegg reload |
重载配置 |
xfeatures.dragonegg.reload |
/dragonegg where |
显示龙蛋位置 |
xfeatures.dragonegg.where |
/dragonegg help |
显示帮助信息 |
xfeatures.dragonegg.use |
/dragonegg language <lang> |
更改插件语言 |
xfeatures.dragonegg.language |
? 权限
xfeatures.dragonegg.use - 访问主 DragonEgg 命令
xfeatures.dragonegg.where - 访问追踪龙蛋位置
xfeatures.dragonegg.reload - 访问重载命令
xfeatures.dragonegg.language - 访问更改插件语言
xfeatures.dragonegg.bypass - 绕过龙蛋的容器限制
xfeatures.dragonegg.effects - 携带龙蛋时接收视觉效果
? 性能
该插件经过优化,对服务器性能的影响最小:
? 未来计划
- ✅ 高级容器限制 (已实现)
- ✅ 支持更多语言 (已实现)
- ✅ 防消失和防损坏机制 (已实现)
- 用于管理龙蛋状态的 GUI
? 参与项目贡献
欢迎贡献!如果你有改进插件的想法:
- Fork 仓库
- 为你的功能创建一个分支 (
git checkout -b feature/amazing-feature)
- 提交你的更改 (
git commit -m 'Add some amazing feature')
- 将更改推送到你的 fork (
git push origin feature/amazing-feature)
- 打开一个 Pull Request
? 统计信息
该插件通过 bStats 收集匿名统计数据以改进功能:
您可以在 bStats 页面上查看插件的统计数据。
收集的数据:
- 保护功能使用情况(启用/禁用)
- 视觉效果使用情况
- 追踪功能使用情况及持久化模式
- 玩家和服务器数量
- 在线模式状态
- 服务器、插件和 Java 版本
禁用统计信息
如果您希望禁用统计信息收集,可以在 plugins/bStats/config.yml 文件中将 enabled: false。禁用统计信息不会影响插件的功能。
? 支持
如果遇到任何问题或有疑问:
- 在仓库中创建 Issue
- 通过 Discord 联系我们
由 XfeaturesGroup Dev-team 制作
? XfeaturesDragonEgg
? Description
XfeaturesDragonEgg is a comprehensive utility plugin for Minecraft servers that introduces advanced tracking, protection, and visual enhancements for the highly coveted Dragon Egg. No more lost or stolen eggs!
- ?️ Container protection: Prevent players from hiding the Dragon Egg in Ender Chests, Shulker Boxes, Bundles, Dispensers, Furnaces, and more. It can only be stored in standard Chests or Trapped Chests.
- ? Advanced tracking: Always know where the Dragon Egg is! Track it in player inventories, chests, placed blocks, or even if it's dropped on the ground.
- ✨ Visual effects: Players carrying the Dragon Egg emit a unique pink glowing effect and beautiful End Rod particles.
- ?️ Damage immunity: The Dragon Egg (as a dropped item) is completely immune to fire, lava, explosions, cactus damage, and it will never despawn!
✨ Key features
- Container restriction: Fully configurable list of blocked container types.
- Persistent tracking: The egg's location and state are saved even after a server restart.
- Dynamic visual effects: Unique aesthetics for the player possessing the Dragon Egg.
- Dropped item protection: Comprehensive anti-damage and anti-despawn mechanics for the Dragon Egg item.
- Full message customization: All notifications and interface text can be changed in the configuration.
- Easy management: Intuitive commands for administrators to track the egg and reload configurations.
? Requirements
- Spigot/Paper 1.21+
- Java 25
? Installation
- Download the latest version of the plugin from the Releases section
- Place the JAR file in the
plugins folder of your server
- Restart the server
- Configure the configuration files as you see fit
- Reload the plugin with the command
/dragonegg reload
? Supported Languages
XfeaturesDragonEgg supports multiple languages for users from around the world. You can change the plugin language using the command /dragonegg language <language>.
Available Languages:
- English (en)
- Russian (ru)
- German (de)
- Polish (pl)
- Italian (it)
- Portuguese (pt)
- Turkish (tr)
- French (fr)
- Spanish (es)
- Lithuanian (lt)
- Latvian (lv)
- Estonian (et)
- Arabic (ar)
- Hindi (hi)
- Chinese (Simplified) (cn)
- Japanese (ja)
- Korean (ko)
Adding a New Language
If you want to add a new language or improve an existing translation:
- Copy the
messages-en.yml file from the resources/messages/ folder
- Rename it to
messages-XX.yml, where XX is your language code
- Translate all strings to your language
- Submit the translation via Pull Request or contact the developers
We always welcome new translations and improvements to existing ones!
⚙️ Configuration
After the first launch, the plugin will create the configuration file:
config.yml
Basic plugin settings:
# All available languages can be found here:
# https://github.com/XfeaturesGroup/XfeaturesDragonEgg/tree/master/examples/messages
# Language settings for the plugin
language: "en"
# Container protection
protection:
enabled: true
# List of blocked container types
# The egg can ONLY be placed in a normal CHEST or TRAPPED_CHEST
blocked-containers:
- ENDER_CHEST
- SHULKER_BOX
- BUNDLE
- DISPENSER
- DROPPER
- FURNACE
- BLAST_FURNACE
- SMOKER
- BREWING_STAND
- HOPPER
- BARREL
- CRAFTER
# Visual effects when carrying the egg
effects:
enabled: true
# Player glowing effect (pink/purple color)
glowing:
enabled: true
color: "LIGHT_PURPLE"
# END_ROD particles around the player
particles:
enabled: true
type: "END_ROD"
count: 3
interval: 10
# Egg tracking
tracking:
enabled: true
persistent: true
? Commands
| Command |
Description |
Permissions |
/dragonegg reload |
Reload configuration |
xfeatures.dragonegg.reload |
/dragonegg where |
Show the Dragon Egg location |
xfeatures.dragonegg.where |
/dragonegg help |
Show the help message |
xfeatures.dragonegg.use |
/dragonegg language <lang> |
Change plugin language |
xfeatures.dragonegg.language |
? Permissions
xfeatures.dragonegg.use - Access to the main DragonEgg command
xfeatures.dragonegg.where - Access to track the Dragon Egg location
xfeatures.dragonegg.reload - Access to the reload command
xfeatures.dragonegg.language - Access to change the plugin language
xfeatures.dragonegg.bypass - Bypass container restrictions for the Dragon Egg
xfeatures.dragonegg.effects - Receive visual effects when carrying the egg
? Performance
The plugin is optimized for minimal impact on server performance:
- Asynchronous data saving
- Efficient event handling
- Minimal memory usage
? Future plans
- ✅ Advanced container restrictions (Implemented)
- ✅ Support for more languages (Implemented)
- ✅ Anti-despawn and Anti-damage mechanics (Implemented)
- GUI for managing the Dragon Egg state
? Contributing to the project
Contributions are welcome! If you have ideas for improving the plugin:
- Fork the repository
- Create a branch for your feature (
git checkout -b feature/amazing-feature)
- Commit your changes (
git commit -m 'Add some amazing feature')
- Push the changes to your fork (
git push origin feature/amazing-feature)
- Open a Pull Request
? Statistics
The plugin collects anonymous statistics via bStats to improve functionality:
You can view the plugin statistics on the bStats page.
Data collected:
- Protection features usage (Enabled/Disabled)
- Visual effects usage
- Tracking usage and persistence mode
- Number of players and servers
- Online mode status
- Server, plugin, and Java versions
Disabling statistics
If you want to disable statistics collection, you can do so in the plugins/bStats/config.yml file by setting enabled: false. Disabling statistics does not affect the functionality of the plugin.
? Support
If you encounter any problems or have any questions:
- Create an issue in the repository
- Contact us via Discord
Made by the XfeaturesGroup Dev-team
评论 0
登录后参与评分
还没有评论,来抢沙发吧