XPDispenser
一款 Minecraft Bukkit 插件,让你能将经验值“投掷”给自己(例如用于修复具有修补魔咒的工具)。

这是什么?
XPDispenser 允许你通过使用当前收集的经验点数,将经验球“投掷”给自己。
这些收集到的经验点数可用于修复附魔了修补魔咒的工具和盔甲。这样,你就可以重复使用已收集的经验点数来修复你的工具和盔甲。
权限
目前只有一个权限,用于控制玩家是否被允许使用此插件:xpdispenser(默认:所有人)
如何使用?
只需在任何位置放置一个告示牌,并在第一行输入文本 [XPDispenser]。
可选地,第二行可以指定单次投掷的经验点数数量(如果告示牌上未提供,则默认为 10)。
因此,如果你想获得 50 点经验值,可以放置一个包含以下内容的告示牌:
正确放置告示牌后,第一行的颜色将变为蓝色。
要使用该告示牌,只需在装备好需要修复的工具和/或盔甲时,与其交互(即右键点击它)。
为什么使用告示牌而不是命令?
很简单:作为一个普通玩家,我不喜欢执行命令,但我喜欢像现实生活中那样与环境进行交互。
对于此插件而言,你可以将告示牌视为某种会吐出经验球的机器。
构建
你可以按照以下两个步骤构建该项目:
- 检出(checkout)代码仓库
- 使用 Maven 构建 jar 文件:mvn clean package
注意: 构建项目需要 JDK 1.8 和 Maven!
我的其他插件
你可以在 我的网站 找到它们。
XPDispenser
A Minecraft Bukkit plugin to throw your XP at yourself (e.g. to repair your mending tools).

What is it?
XPDispenser allows you to throw XP orbs at yourself by using your currently collected XP points.
The collected XP points can be used to repair tools and armor enchanted with the mending enchantment. In that way, you are able to reuse your already collected XP points to repair your tools and armor.
Permissions
Currently, there is only one permission available which controls whether a player is allowed to use this plugin: xpdispenser (Default: everyone)
How to use it?
Simply place a sign at any location with the text [XPDispenser] at the first line.
Optionally, the second line contains the amount of XP points to be thrown in a single time (defaults to 10, if not given on the sign).
So, if you want to get 50 XP points, you can place a sign with the following content:
- First line:
[XPDispenser]
- Second line:
50
After correctly placing the sign, the color of the first line will change to blue.
To use the sign, simply interact with it (i.e. right click on it) while having the tool and/or armor to repair equipped.
Why use a sign instead of a command?
It's simple: I just don't like to execute commands as a normal player, but I like to interact with the environment just like you would do in real life.
In case of this plugin, you could see the sign as some type of machine which will dispense some XP orbs.
Build
You can build the project in the following 2 steps:
- Check out the repository
- Build the jar file using maven: mvn clean package
Note: JDK 1.8 and Maven is required to build the project!
My other plugins
You can find them on my website.
评论 0
登录后参与评分
还没有评论,来抢沙发吧