FKBoom

爆炸保护和不同类型爆炸效果的自定义。

资源图片
# FKBoom 插件概览 **以下内容为自动翻译,由于母语非英语,可能存在可读性问题,敬请谅解!** ## 主要功能: - **标准保护**:使用游戏默认的爆炸保护效果,以防止 TNT、重生锚、床等造成的破坏。 - **动态爆炸**:爆炸效果会根据环境和配置动态变化,增强游戏体验。 - **禁用爆炸保护**:允许所有爆炸效果发生,没有任何保护措施。 - **互动管理**:允许在下界和末地使用床,增强游戏互动性。 - **图形界面设置**:提供直观的图形界面,允许拥有必要权限的玩家轻松调整设置。 - **命令和权限**:简化命令(例如 /fk xxx),便于管理。 - **多世界支持**:为每个世界自定义爆炸和互动规则。 - **配置重新加载**:无需重启服务器即可即时更新服务器设置。 - **静音爆炸模式**:启用静音爆炸,减少干扰。 - **烟花爆炸模式**:新的烟花爆炸效果为你的游戏增添更多视觉效果。 - **爆炸伤害**:选项,启用或禁用所有实体爆炸伤害。 - **默认设置生成**:点击 GUI 中世界设置时,将自动生成默认设置,无需手动配置。 - **自定义 GUI 界面**:提供更便捷的自定义 GUI 界面,包括主界面和世界设置界面。用户可以灵活配置和管理,支持配置 GUI 界面语言、物品、ID 和命令。 ## 兼容性: - **Minecraft 版本**:1.20.1 到 1.21 - **Java 版本**:Java 17 到 Java 22 - **服务器核心支持**:Spigot、Paper、Folia、Purpur、PufferFish、Leaves、Mohist、Arclight ## 保护措施: - **全面保护**:保护画作、盔甲架、物品框、船、矿车、缰绳、发光物品框等免受爆炸伤害。 **FKBoom 插件为 Minecraft 服务器提供全面的爆炸管理和控制,同时确保游戏互动和多样性。无论您想完全控制爆炸效果,还是在多个世界中保持不同的游戏规则,FKBoom 都能满足您的需求。**
模组使用说明 **其他模组需要单独测试** **测试版本 1.20.1:** - **Botania 模组 - Manastorm Charge:** 在 Manastorm Charge 的最后一次爆炸时,虽然它显示爆炸是非同步的,但实际上它不会破坏任何方块。重新进入游戏会显示正常。 - **Mekanism 模组 - 黑曜石 TNT、小爬行者** - **Creeper Overhaul 模组 - 所有爆炸爬行者** **已知问题和不兼容性:** - Applied Energistics 2 Tiny TNT 对于其他单独测试的模组,如果发现物品无法防爆,该插件可能无法实现防爆效果。 某些版本的 Mohist 服务器可能存在问题,请不要向我报告这些问题。
权限介绍 - **权限节点:`fkboom.command`** - **描述**:允许使用 FKBoom 插件命令。 - **默认值**:此权限默认授予服务器管理员(op),确保只有受信任的管理员才能执行此命令。 - **权限节点:`fkboom.reload`** - **描述**:此权限允许用户重新加载插件的配置文件,无需重启服务器即可应用新设置。 - **默认值**:此权限默认授予服务器管理员(op),确保只有受信任的管理员才能执行此命令。 - **权限节点:`fkboom.gui`** - **描述**:允许打开爆炸保护设置的图形用户界面(GUI)。 - **默认值**:此权限默认授予服务器管理员(op),确保只有受信任的管理员才能执行此命令。 - **权限节点:`fkboom.manage`** - **描述**:允许管理所有爆炸保护设置。 - **默认值**:此权限默认授予服务器管理员(op),确保只有受信任的管理员才能执行此命令。 - **权限节点:`fkboom.gui.access`** - **描述**:允许访问爆炸保护设置的图形用户界面(GUI),但不允许管理设置。 - **默认值**:此权限默认授予服务器管理员(op),确保只有受信任的管理员才能执行此命令。
GUI 界面 ![爆炸设置界面](https://cdn.modrinth.com/data/cached_images/d08332c290bb550a5837a11ac8da60a8c4ba00d4.png) ![世界设置界面](https://cdn.modrinth.com/data/cached_images/f98e58e273712c139722e5b0e9e3daa98f27d2ac.png)
gui.yml ``` # 授予 fkboom.command、fkboom.gui 和 fkboom.gui.access 权限后,玩家可以查看爆炸设置 GUI,但无法修改设置。 # 示例按钮以控制台执行命令(可定制名称) # 当玩家点击此按钮时,控制台将执行命令 dm open menu {player_name} clicked the button!,其中 {player_name} 将被替换为点击按钮的玩家的名称。此命令名称 example_console_command 可以自定义为任何合适的名称。 #example_console_command: #slot: 49 #material: "BARRIER" #name: "&cReturn" #lore: #- "&7Click to return to the menu" #command: "console:dm open menu {player_name}" # 示例按钮以玩家执行命令(可定制名称) # 当玩家点击此按钮时,他们将执行命令 kill {player_name},其中 {player_name} 将被替换为点击按钮的玩家的名称。此命令名称 suicide 可以自定义为任何合适的名称。 #suicide: #slot: 31 #material: "DIAMOND" #name: "&bSuicide" #lore: #- "&7Click to commit suicide" #command: "player:kill {player_name}" # GUI 配置文件的 # 主 GUI 配置 # 仅可定制已存在的槽位 gui: main: title: "&2Explosion Settings - Page " size: 54 border: material: "GLASS_PANE" name: "&f " slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] items: prev_page: slot: 45 material: "ARROW" name: "&6Previous Page" lore: - "&7Click to go to the previous page" command: "prev_page" next_page: slot: 53 material: "ARROW" name: "&6Next Page" lore: - "&7Click to go to the next page" command: "next_page" return_button: slot: 49 material: "BARRIER" name: "&cClose" lore: - "&7Click to close the menu" command: "close" world_items: material: "GRASS_BLOCK" name: "&a" lore: - "&7Click to set the world" command: "open_world_settings {world_name}" slots: [10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24, 25, 28, 29, 30, 31, 32, 33, 34, 37, 38, 39, 40, 41, 42] # world 设置菜单的配置 # 您可以自由定制任何槽位,包括添加或删除槽位 world_settings: title: "&2{world_name} Settings" size: 54 border: material: "GLASS_PANE" name: "&f " slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] items: return_button: slot: 49 material: "ARROW" name: "&cReturn to Main Menu" command: "open_main_gui" tnt_explosion_setting: slot: 11 material: "TNT" name: "&cTNT Explosion Setting" lore: - "&7Current setting: &e{custom_info}" command: "toggle_setting tnt-explosion-setting" creeper_explosion_setting: slot: 12 material: "CREEPER_HEAD" name: "&aCreeper Explosion Setting" lore: - "&7Current setting: &e{custom_info}" command: "toggle_setting creeper-explosion-setting" endercrystal_explosion_setting: slot: 13 material: "END_CRYSTAL" name: "&bEnd Crystal Explosion Setting" lore: - "&7Current setting: &e{custom_info}" command: "toggle_setting endercrystal-explosion-setting" minecart_tnt_explosion_setting: slot: 14 material: "TNT_MINECART" name: "&eMinecart TNT Explosion Setting" lore: - "&7Current setting: &e{custom_info}" command: "toggle_setting minecart-tnt-explosion-setting" wither_explosion_setting: slot: 15 material: "WITHER_SKELETON_SKULL" name: "&cWither Explosion Setting" lore: - "&7Current setting: &e{custom_info}" command: "toggle_setting wither-explosion-setting" ghast_explosion_setting: slot: 20 material: "GHAST_TEAR" name: "&fGhast Explosion Setting" lore: - "&7Current setting: &e{custom_info}" command: "toggle_setting ghast-explosion-setting" block_explosion_setting: slot: 21 material: "BRICK" name: "&7Block Explosion Setting" lore: - "&7Current setting: &e{custom_info}" command: "toggle_setting block-explosion-setting" wither_block_damage: slot: 22 material: "SOUL_SAND" name: "&cWither Block Damage" lore: - "&7Current setting: &e{custom_info}" command: "toggle_setting wither-block-damage" allow_bed_interaction: slot: 23 material: "WHITE_BED" name: "&cBed Interaction" lore: - "&7Current setting: &e{custom_info}" command: "toggle_setting allow-bed-interaction" allow_anchor_interaction: slot: 24 material: "RESPAWN_ANCHOR" name: "&dRespawn Anchor Interaction" lore: - "&7Current setting: &e{custom_info}" command: "toggle_setting allow-anchor-interaction" custom_protection: slot: 29 material: "SHIELD" name: "&9Protected from Explosions" lore: - "&7Paintings, Armor Stands, Item Frames" - "&7Boats, Minecarts, Leads, Glow Item Frames" - "&7Current setting: &e{custom_info}" command: "toggle_setting custom-protection" explosion_damage: slot: 30 material: "REDSTONE" name: "&cExplosion Damage" lore: - "&7Current setting: &e{custom_info}" command: "toggle_setting explosion-damage" messages: no_permission: "&c您没有权限更改设置。" unknown_command: "&c未知命令: {command}" config_save_error: "&c无法保存配置文件。" setting_updated: "&a设置已更新。" no_permission_msg: "&c您没有使用此命令的权限。" config_reloaded: "&a插件已成功重新加载!" command_help: - "&6-------- FKBoom --------" - "&6 » /fkboom help - 显示命令列表" - "&6 » /fkboom gui - 打开设置界面" - "&6 » /fkboom reload - 重新加载插件" - "&6 » /fkboom plugin - 显示插件信息" - "&6-------- FKBoom --------" unknown_command_msg: "&c未知命令。使用 » /fkboom help 查看命令列表。" plugin_info: - "&6-------- FKBoom --------" - "&6 » Author:_Aosion" - "&6 » QQ:1435567503" - "&6-------- FKBoom --------" ```
config.yml 中自定义世界配置 默认情况下,所有世界具有与主世界相同的设置。 ![config.yml](https://cdn.modrinth.com/data/cached_images/d45b180d6587f5fd96bad0be39dcd7d916ad52ef.png) ``` # 以下是 FKBoom 插件的配置文件 # 'normal': 启用爆炸保护。 # 'none': 禁用爆炸保护。 # 'silent': 启用静音爆炸。 # 'firework': 爆炸将创建烟花效果。 # 'dynamic': 爆炸将创建动态效果。 # 请在模组使用前查看插件介绍(这不影响原版,无需关注) explosion-settings: enable-general-anti-explosion: true # 自定义世界设置 # 您可以复制 'world' 设置并将其更改为所需的世界名称即可 worlds: world: # 主世界设置 tnt-explosion-setting: normal # TNT 爆炸效果 creeper-explosion-setting: normal # 小爬行者爆炸效果 endercrystal-explosion-setting: normal # 末地水晶爆炸效果 minecart-tnt-explosion-setting: normal # TNT 矿车爆炸效果 wither-explosion-setting: normal #凋零骷髅头爆炸效果 ghast-explosion-setting: normal # 幽灵火球爆炸效果 block-explosion-setting: normal # 重生锚、床爆炸效果 wither-block-damage: false # 凋零方块伤害(false 表示凋零不会破坏方块) allow-anchor-interaction: true # 重生锚互动 allow-bed-interaction: true # 床互动(下界、末地) explosion-damage: true # 实体爆炸伤害 custom-protection: true # 保护以下实体免受爆炸伤害:画作、盔甲架、物品框、船、矿车、缰绳、发光物品框 ```
爆炸效果展示 动态爆炸效果 ![动态爆炸效果](https://cdn.modrinth.com/data/cached_images/e02d2cfcd73a4a316db67209492e261a580d31ed.png) 烟花爆炸效果 ![烟花爆炸效果](https://cdn.modrinth.com/data/cached_images/3539fb4e3f9eebc9f1ba6ebd3bd2406f179f422d.png)
## bStats: ![bStats](https://bstats.org/signatures/bukkit/fkboom.svg)