This is a simple plugin to convert from XP to Emeralds and back again. Other items may be used instead of Emeralds, if desired (XP to Dirt, anyone?). The item to use and the scale of conversion may be customized on a per-world (or global) basis.
这是一个简单的用于交换绿宝石和经验的插件。你也可以设置成用其他的物品交换。每一个世界都可以设置一个不同的交换经验的物品和交换的花费和经验数。
扔进plugins文件夹,重启服务端
Configuration
conversion_scale: Set the scale of conversion (the amount of XP that converts to 1 Emerald).设置交换得到的经验数。
material: Set the material to use.设置交换用的物品。
convert_xp_using: If emeralds is used, the [amount] is in Emeralds, while if xp is used, it is XP.如果使用了绿宝石,就是绿宝石的数量[amount],如果使用了经验,就是经验的。
convert_emeralds_using: Similarly, sets the [amount] to Emeralds, or can convert based on the desired Experience level. (This feature may not work correctly.)相似的,设置绿宝石的数量。也可以基于所需的经验。(这个功能可能有点问题)
(说实话作者convert_xp_using和convert_emeralds_using两项我真的没看懂,还是遵从原意翻译了= =)
To use specific settings for a world, use the following format:
设定每个世界不同的设置,需要如下格式:
world_name:
#世界名
____conversion_scale: 9001
____material: gold_ingot
Replace the underscores with spaces, and 9001 and gold_ingot with the values you wish to use.
将下划线换成空格,“9001”和“gold_ingot”换成你想设置的东西
命令:
- /xptoemerald
- Convert some XP to Emeralds.经验换绿宝石
- usage: /xptoemerald [player] [amount]
- /xptoemerald setscale
- Set the scale of conversion.设置交换的经验数
- usage: /xptoemerald setscale <scale> [world]
- /xptoemerald setmaterial
- Set the material to use.设置用来交换的物品
- usage: /xptoemerald setmaterial <material> [world]
- /xptoemerald reload
- Reload values from the configuration file.重新读取插件
- usage: /xptoemerald reload
- /emeraldtoxp
- Convert some Emeralds to XP.绿宝石换成经验
- usage: /emeraldtoxp [player] [amount]
- /xp2em
- /sptoemerald的简写
- /em2xp
- /emeraldtoxp的简写
xptoemerald.*: Give access to all xptoemerald commands.xptoemerald所有的权限
xptoemerald.admin: Allow converting of other player's resources. Also allows setting of scale and material, and reloading of the config file.交换其他玩家的绿宝石或经验的权限
xptoemerald.convert: Allow converting of XP to Emeralds and back.允许交换绿宝石和经验的权限
xptoemerald.convert.xte: Allow conversion of XP to Emeralds via commands.允许使用命令把绿宝石换成经验的权限
xptoemerald.convert.etx: Allow conversion of Emeralds to XP via commands.允许使用命令把经验换成绿宝石的权限
xptoemerald.sign Allow conversion via signs. 允许使用告示牌交换的权限
While the jarfile is built against 1.4.6, it should be compatible with 1.5 and 1.6, though this has not been tested. Future updates will be built against the current stable or beta of Bukkit.
虽然是在1.4.6上面编写的,但是应该可以支持1.5和1.6,只是没有测试。以后的版本会支持更新的mc版本。
是原作者说可以在1.6上面使用的= =