本帖最后由 晓晓SF 于 2022-2-13 14:52 编辑
简介:
HeadBlocks插件可以让你的玩家们在肝的时候保持愉悦(bushi,插件功能很简单,你可以再世界各地藏一些Head(头颅,表达礼物盒意思),你的玩家通过寻找这些礼物盒得到奖励!
原文
HeadBlocks is a plugin that allows you to keep your players busy while having fun. The goal is simple, you hide a number of heads in your world and your players have to find them to get many rewards. |
插件截图:
暂时使用插件原贴提供的截图quq
放置礼物盒 礼物盒列表 找到礼物盒 等待被找到的礼物盒 已经找到的礼物盒 |
特色功能:
- 用起来非常简单
- 没有皮肤、数量限制
- 可以选择多种条件执行奖励,如点击后执行命令、或必须达到xxx级执行命令
- 可以使用多个纹理皮肤(支持HeadDatabase)
- 可以自定义点击音效
- 可以自定义点击后发送的多条消息
- 可以自定义点击后发射烟花、爆炸的特效效果
- 可以自定义已找到、未找到礼物盒头顶上的粒子效果(需要1.13以上)
- 可以再大厅、单个服务器内使用,也可以在多个服务器上使用(需要Redis)
- 可以再MySQL、SQLite上储存玩家数据
- 所有文字几乎都可以被翻译
- 给开发者们提供API支持
- 包含许许多多变量
- 自动更新配置
- 支持Minecraft1.16以上的十六进制颜色
原文
Features: Very easy to use No head limit Possibility to execute commands when clicking or according to levels Possibility to have multiple head and multiple texture (support HeadDatabase) Possibility to customize sounds on click Possibility to send multi-line message on click Possibility to customize a firework or an explosion at the head with any colors Possibility to send a title customizable to the player Possibility to add particles on head already found and not found (1.13+) Can be used on a lobby, on a single server or even on several servers simultaneously (with Redis) Storage of player data in SQLite or MySQL Everything is almost translatable API for developers Contains several placeholders (see below) Automatic configuration updates Supports Minecraft 1.16+ colors Please note, if you are using tiered rewards, make sure it is set up correctly from the start. There is no way to distribute the rewards for the tiers already reached yet! |
WIKI:
原文
You can find the wiki here. |
配置文件:
- config.yml - 插件主配置文件
- language/ - 插件语言文件(自带英语法语,可以加其他语言)
- headblocks.db - SQLite玩家数据(不包括MySQL)
- locations.yml - 礼物盒位置列表
- 汉化和其他在下面
原文
Configurations: config.yml : Plugin configuration file language/ : Folder with translations (en or fr available) headblocks.db : SQLite database for storing player data (excluding MySQL) locations.yml : File containing the list of head positions |
指令:
小提示,这些指令使用时,需要在前面加/hb!!!! 1.5版本以前:
me [玩家] | 显示寻找宝藏的进度 | give [玩家] | 给予一个特殊的礼物,当它被放置,就变得可点击,每个玩家可点击一次 | remove [礼物ID] | 通过UUID移除礼物盒 | removeall | 移除所有礼物盒 | reset [玩家] | 重置某个玩家的数据 | resetall | 重置所有玩家的数据 | list | 显示所有礼物盒列表,包括UUID与位置 | stats [玩家] | 显示某个玩家拥有的礼物盒数量 | reload | 重载插件 | help | 插件帮助
| 1.5新加入:
原文
Commands: me : Displays the player's progress (can contain a progress bar customizable in config.yml) give : Give a special head. When placed, it becomes a clickable head (one-time per player) remove : Remove spawned head by it's uuid removeall : Remove all spawned heads reset : Resets all data of a player resetall : Resets data for all player list : Display in the chat the list of all heads with their locations stats : Displays in the chat the list of recovered and not recovered heads of a player reload : Reload the plugin configuration version : Display the version of the plugin help : Display help message |
权限/变量/API:
权限 - headblocks.use - 允许与礼物盒互动,并且允许使用/hb me - 玩家默认拥有
- headblocks.admin - 允许使用所有指令 - 默认管理员拥有
变量 (需要搭配PlaceHolderAPI)- %headblocks_current% - 反馈出玩家已找到的礼物数量
- %headblocks_max% - 反馈出一共有多少礼物盒
- %headblocks_left% - 反馈出玩家还剩多少礼物没找到
API- HeadClickEvent - 当礼物盒被点击执行事件
- HeadCreatedEvent - 当礼物盒被创建执行
- HeadDeletedEvent - 当礼物盒被移除执行
- 在GitHub上提供Maven/Gradle文件!(即开源)
原文
Permissions: headblocks.use : Allows to interact with the heads & to use the command /hb me (default player) headblocks.admin : All admin commands (default op) If you want to run placeholders, you will need PlaceHolderAPI. Placeholders: %headblocks_current% : returns the number of heads the player has found %headblocks_max% : returns the number of heads placed in total %headblocks_left% : returns the number of heads missing according to the total API: HeadClickEvent : Event triggered when a head is clicked HeadCreatedEvent : Event called when a head is created HeadDeletedEvent : Event to trigger when a head is deleted |
汉化与配置:
Config文件 - # 语言文件
- language: en
- # 礼物盒皮肤
- # 通常来说,使用的格式是: default:<value> 其中 <value> 是头颅的代码 (详见: Other-Value at https://minecraft-heads.com/)
- # 支持 HeadDatabase 插件, 格式为: "hdb:<id>" 其中 <id> 是头颅的ID
- heads:
- - "default:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWQ5Y2M1OGFkMjVhMWFiMTZkMzZiYjVkNmQ0OTNjOGY1ODk4YzJiZjMwMmI2NGUzMjU5MjFjNDFjMzU4NjcifX19"
- - "hdb:28591"
- - "hdb:28596"
- # 通过Redis实现多服务器礼物同步
- redis:
- enable: false
- settings:
- hostname: localhost
- database: 0
- password: ''
- port: 6379
- # 数据库设置 (MySQL)
- database:
- enable: false
- settings:
- hostname: localhost
- database: ''
- username: ''
- password: ''
- port: 3306
- # 自定义进度条 (使用 %progress% 变量时)
- progressBar:
- totalBars: 100
- symbol: '|'
- notCompletedColor: '&7'
- completedColor: '&a'
- # 礼物被点击时,执行的事件
- headClick:
- # 在聊天栏发送消息.支持变量(%player%, %prefix%, PlaceholderAPI)和多行文字
- # 当你不需要发送消息时使用 [] ,
- messages:
- - ""
- - "%prefix% &aYou found a new head!"
- - ""
- # 发送Title效果.支持变量(%player%, %prefix%, PlaceholderAPI)
- # 1.10以下不支持!!!
- title:
- enabled: false
- firstLine: ''
- subTitle: ''
- fadeIn: 0
- stay: 50
- fadeOut: 0
- # 找到礼物时放烟花!
- # 把'colors' 和 'fadeColors' 留空,即可得到随机颜色
- # 支持多种颜色烟花,格式: 'red,green,blue'
- firework:
- enabled: false
- colors: []
- fadeColors: []
- flicker: true
- power: 0
- # 1.13+ - 已被找到的礼物盒产生的粒子效果
- particles:
- enabled: false
- alreadyOwn:
- type: VILLAGER_ANGRY
- # type填写为REDSTONE后,可以选择多种颜色,格式同前面的colors
- colors: []
- amount: 1
- # 点击音效 (音效列表: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html)
- # 留空不发出声音
- sounds:
- alreadyOwn: block_note_block_didgeridoo
- notOwn: block_note_block_bell
- # 指令列表
- # 使用[]不执行指令
- commands:
- - "give %player% diamond"
- # 1.13+ - 未被找到的礼物盒发出的粒子效果,和前面的一样道理
- particles:
- enabled: true
- delay: 20
- playerViewDistance: 16
- notFound:
- type: REDSTONE
- colors:
- - "255,0,0"
- amount: 3
- found:
- type: REDSTONE
- colors:
- - "0,255,0"
- amount: 3
- # 如果设置为true,礼物盒被移除时将会删除所有关于它的玩家数据
- shouldResetPlayerData: true
- # Used to cancel commands executed when clicking on the head if current headClicked is in levels of tieredRewards
- preventCommandsOnTieredRewardsLevel: false
- # 阶段奖励,当玩家达到这些数量礼物时会有奖励
- tieredRewards:
- 1:
- messages:
- - ""
- - "%prefix% &e%player% &afound one head!"
- - ""
- commands:
- - "give %player% diamond"
- 100:
- messages:
- - ""
- - "%prefix% &e%player% &afound &6100 heads&a!!!"
- - ""
- commands:
- - "give %player% diamond 100"
复制代码 |
Language文件
- Prefix: "&6&lH&e&lead&6&lB&e&llocks &7»&r"
- Head:
- Name: "&6&lH&e&lead&6&lB&e&llocks"
- Lore:
- - ""
- - "&7&o允许你在指定位置创建礼物盒"
- - ""
- - "&2✔ &8- &7右键 + 蹲下 创建"
- - "&c✘ &8- &7左键 + 蹲下 移除"
- - ""
- Messages:
- NoPermission: "%prefix% &c你没有相应权限"
- NoPermissionBlock: "%prefix% &c你没有与礼物盒互动的权限"
- ErrorCommand: "%prefix% &c错误的指令.使用/hb help得到帮助"
- PlayerOnly: "%prefix% &c这个指令只可以被玩家执行"
- PlayerNotFound: "%prefix% &c这位玩家并不在线捏"
- HeadNotYetLoaded: "%prefix% &cID为%id%的礼物盒无法获取,直到HeadDatabase完全加载"
- ReloadComplete: "%prefix% &a插件重载成功"
- InventoryFull: "%prefix% &c玩家背包没有空间再获取一个可放置的礼物盒"
- CreativeSneakRemoveHead: "%prefix% &c你必须蹲下才能删除礼物盒"
- CreativeSneakAddHead: "%prefix% &c你必须蹲下才能创建礼物盒"
- HeadPlaced: "%prefix% &2&l+ &a礼物盒创建!!! &7(%world%, %x%, %y%, %z%)"
- HeadRemoved: "%prefix% &2&c- &e礼物盒移除!!! &7(%world%, %x%, %y%, %z%)"
- RemoveAllConfirm: "%prefix% &c注意!这条指令会移除&7%headCount% &c个礼物盒. 添加&7--confirm &c入这条指令继续删除"
- RemoveAllSuccess: "%prefix% &e%headCount% &a个礼物盒被移除!"
- AlreadyClaimHead: "%prefix% &c你已经点击过这个礼物盒了"
- ListHeadEmpty: "%prefix% &c还有没礼物:("
- HeadGiven: "%prefix% &a你获取了一份礼物!"
- NoHeadFound: "%prefix% &c这位玩家还没有找到礼物盒"
- ResetAllNoData: "%prefix% &c没有需要重置的数据"
- ResetAllConfirm: "%prefix% &c注意!这条指令会重置&7%playerCount% &c个玩家数据. 添加&7--confirm &c入这条指令继续删除"
- ResetAllSuccess: "%prefix% &a&e%playerCount% &a个玩家的数据已被移除"
- PlayerReset: "%prefix% &a%player%的数据被移除"
- RemoveLocationError: "%prefix% &c移除时出现了错误.请检查位置"
- HeadAlreadyExistHere: "%prefix% &c这个坐标已经存在了一个礼物盒了啊喂!!"
- Version: "%prefix% &a插件版本 : &e%version%"
- MeCommand:
- - ""
- - "&a已经找到的礼物盒: &e%current%&7/&e%max%"
- - "&a进度 : &7[%progress%&7]"
- - ""
- Chat:
- Hover:
- Teleport: "&7&o传送至礼物盒"
- Remove: "&7&o移除这个礼物盒"
- PreviousPage: "&7&o上一页"
- NextPage: "&7&o下一页"
- Own: "&7&o找到礼物盒"
- NotOwn: "&7&o礼物盒未被找到"
- Box:
- Teleport: "&8[&a☄&8] &7|"
- Remove: "&7| &8[&c✘&8]"
- Own: "&7| &8[&2✔&8]"
- NotOwn: "&7| &8[&c✘&8]"
- StatsTitleLine: "&7------[ &e&6%player% &8» &6%headCount%&8/&6%max%&7]-------"
- LineTitle: "&7------------------[ &6&lH&e&lead&6&lB&e&llocks&7 ]-----------------"
- LineCoordinate: "&6维度 &8: &e%worldName% &8[&6X&8: &e%x%&8, &6Y&8: &e%y%&8, &6Z&8: &e%z%&8]"
- PreviousPage: "&7---------[&8<<<&7]---------"
- NextPage: "&7---------[&8>>>&7]---------"
- PageFooter: " &8[ &e%pageNumber%&7/&e%totalPage% &8] "
- Help:
- LineTop: "&7--------------------[ &e&l帮助 &7]--------------------"
- Help: "&6/hb help &8: &7&o显示这些帮助"
- Me: "&6/hb me &8: &7&o显示你的进度"
- Remove: "&6/hb remove <headUuid> &8: &7&o移除礼物盒"
- RemoveAll: "&6/hb removeall &8: &7&o移除所有礼物盒"
- Give: "&6/hb give <player> <*|number> &8: &7&o给予玩家一个可放置的礼物盒"
- Reset: "&6/hb reset <player> &8: &7&o重置玩家数据"
- ResetAll: "&6/hb resetall &8: &7&o重置所有玩家数据"
- List: "&6/hb list <page> &8: &7&o显示所有礼物盒的列表"
- Stats: "&6/hb stats <player> <page> &8 &7&o显示玩家已找到/未找到的礼物盒"
- Reload: "&6/hb reload &8: &7&o重载插件"
- Version: "&6/hb version &8: &7&o显示插件版本"
复制代码 |
搬运授权与下载插件:
下载插件请到原贴去下载!
如果觉得还行的话给个评分吧qwq 评分人气不消耗自己人气哦qwq! |
|