SmartSpawner Addon

为SmartSpawner添加全局增益、每世界设置和插件集成!

资源图片
# SmartSpawner 插件 **这是一个为 Nighterr 的插件 SmartSpawner 设计的插件,旨在为您提供更多控制、集成和货币化选项。** 通过此插件,您将能够添加全局销售增益、每世界设置,以及与 [ShopGUI+](https://www.spigotmc.org/resources/shopgui-1-8-1-21.6515/) 销售增益和 [ExcellentEnchants](https://modrinth.com/plugin/excellentenchants) 集成以检查镐子是否具有自定义丝绸触摸附魔! ## 功能: ### 🌍 全局销售增益 对 Spawner-GUI 内部出售的物品应用服务器范围内的乘数。 ### 🛒 ShopGUI+ 集成 直接使用 ShopGUI+ 的增益功能与 SmartSpawner 结合。 ### 🛡️ CoreProtect 支持 记录生成器活动并通过 webhook 发送到 Discord。 ### 💰 可配置的商店收益 % 调整玩家实际收到的商店销售价格的百分比。 ### ✨ ExcellentEnchants 支持 在破坏生成器之前自动检查自定义附魔(例如,自定义丝绸触摸)。 ### 🌐 每世界设置 **在每个世界中微调生成器行为:** - 控制破坏规则(需要丝绸触摸 & 等级)。 - 启用/禁用生成器放置。 - 切换生成器堆叠。 ### 🎨 可定制的消息 完全可编辑的消息,带有 RGB 渐变和前缀。 ## 配置文件: - `config.yml` → ShopGUI+ 集成、附魔钩子、收益百分比。 - `messages.yml` → 前缀和错误/重新加载消息,完全可定制。 - `worlds.yml` → 每世界的行为(破坏规则、丝绸触摸、堆叠等)。
config.yml ```yaml shop: earn_percentage: enabled: false percentage: 100 hooks: enchants: # 需要 ExcellentEnchants enabled: false required: - SILK_SPAWNER shopgui: # 需要 ShopGUI+ enabled: false boost-permission: true coreprotect: enabled: false discord: webhooks: enabled: false url: "" title: "生成器 %action%" lines: - "**玩家:** %player%" - "**操作:** %action%" - "**位置:** %world% %x% %y% %z%" actions: break: enabled: true color: "#20948" stack: enabled: true color: "#10938" place: enabled: true color: "#10938" remove: enabled: true color: "#10938" eggchange: enabled: true color: "#10938" version: 1 ```
worlds.yml ```yaml worlds: # 示例世界 #world: # break: # enabled: true # silk-touch: # required: true # level: 1 # place: true # stack: true ```
## 依赖项: - SmartSpawner ## 安装: 1. 将 `.jar` 放入插件文件夹中,以及 [SmartSpawner 插件](https://modrinth.com/plugin/smart-spawner-plugin)。 2. 启动服务器(注意,下载资源可能需要一些时间)。 3. 编辑配置(如果需要)。 4. 重新启动服务器(如果您在步骤 3 中更改了配置)。 ## 指令: - `/smartspawner-addon` - 需要 **smartspawner-addon.command.main** 权限。 - `/smart-spawner-addon reload` - 需要 **smartspawner-addon.command.reload** 权限。 ## Github: https://github.com/Kawi16/SmartSpawner-Addon [![Discord](https://cdn.modrinth.com/data/cached_images/c0d07147126678fb74faed784757db2dff049461.png)](https://discord.gg/kHFRfAPaFC) **💡 此插件正在积极维护! 如果您有任何建议或需要支持,请随时联系我们。 享受增强的生成器机制吧!** 插件作者:Kawi/AlessandroZap · 描述作者:yk.zqin