XP Item
XP Item 允许玩家将经验等级(XP Levels)或经验值(XP Experience)存储到配置中选择的任意物品里。玩家左击可存入经验等级或经验值,右击可取出经验等级或经验值。如上图中所示,物品的名称和描述信息(lore)会显示已保存的经验数量,因此重命名该物品不会额外增加经验等级或经验值。为了防止物品复制漏洞,插件确保只有一个 XP Item 能够承载经验等级或经验值。配置文件包含以下设置:记录 XP Item 中的所有交易、更改颜色、自定义发送给玩家的提示信息,以及设定单个 XP Item 可存储的最大经验量。
这也是利用被禁用的物品发挥实际用途的好方法。我曾见过有人使用末影珍珠作为 XP Item,从而让一个原本被禁用的物品变得有用武之地。
商店也可以出售下界岩并将其用作 XP Item,从而使下界岩也能用于其他用途。
Latest Download (v1.1)
下载链接:
Quote:v1.1
- 修复了在使用经验时可能出现的复制漏洞问题
- 更新了更新检测器(Update Checker)
- 修改了配置文件以存储物品名称
v1.0
Features
该插件允许游戏中任何物品均可用于存储经验等级或经验值。
目前您可以:
- 更改使用的物品
- 切换使用“经验值”或“经验等级”
- 调整站立或潜行状态下的存入/取出数量
- 更改每个 XP Item 的最大存储量
- 更改颜色
- 自定义所有提示信息
- 设置存入或取出经验/经验等级时的费用
- 支持启用或禁用 Vault 集成
- 将交易记录写入 Bukkit 日志。
Install
直接拖拽安装。之后重启服务器或执行重载命令。
然后根据需要编辑生成的配置文件。使用 [/xpitem reload] 命令重新加载配置。
Config v1
BackEnd:
DONOTTOUCHConfigVersion: 2
allowMetrics: true #建议开启,以便我了解此插件最常见的用法
UpdateChecking: true #仅在重启和 /xpitem reload 时检查更新
sendInteractionsToLog: false
Settings:
itemName: EXP_BOTTLE #这是用于存储经验的物品
useLevels: false #如果希望存储经验等级而非经验值,请设为 true
normalDepositAmount: 10
shiftDepositAmount: 30
maxAmount: -1
showEnchantWhenAmountOver0: true
Colors:
itemNameAmount: '&6'
itemName: '&5'
Messages:
deposit: '&aYouhavedeposited{amount}{xptype}.'
withdraw: '&3Youhavewithdrawn{amount}{xptype}.'
notEnough: '&cYouortheitemdoesnothave{amount}{xptype}.'
max: '&cMaxamountof{xptype}inthisXPItem.'
Commands
- /xpitem reload
- XPItem 重载命令。需要 xpitem.reload 权限。
Permissions
- * xpitem.reload
- 允许重载配置文件。
- xpitem.deposit
- 允许玩家存入经验等级
- xpitem.withdraw
- 允许玩家取出经验等级
- xpitem.bypasscost
- 允许玩家免除存入或取出时的费用
Quote:本插件使用了 Hidendra 的插件指标系统(plugin metrics system),这意味着以下信息会被收集并发送至 mcstats.org:
- 唯一标识符
- 服务器的 Java 版本
- 服务器处于离线模式还是在线模式
- 插件的版本
- 服务器的版本
- 操作系统版本/名称及架构
- CPU 核心数
- 在线玩家数量
- Metrics 版本
- 服务器是使用 XP 还是 Experience
- XP Item 的物品名称
- 可以通过编辑 plugins/Plugin Metrics/config.yml 并将 opt-out 设置为 true 来退出此服务。
待办事项
Vault:
enabled: false
withdrawCost: 0
depositCost: 0
错误或需要帮助
- 提交评论或工单以获取错误修复方面的帮助。
- 如果我未及时回复,你可以通过 Skype 联系我:EnkyHD
开源

XP Item
XP Item will allow players to store their XP Levels or XP Experience into any item selected in the config. The players will be able to Left click to Deposit XP Levels or XP Experience and Right click to Withdraw XP Levels or XP Experience. As shown in the image above the amount of xp is saved in the item name and the items lore so that renaming the item will not give extra XP Levels or XP Experience. The item is also prevented from duping by ensuring that only one XP Item gets the XP Levels or XP Experience. The config has settings to log all transactions in the XP Items, change the colors, change the messages shown to players, and set a max amount of XP that can go into the XP Item.
This is also a great way to use disabled items for something useful. I have seen EnderPearls used before as the XP Item to put use to an item that was disabled.
Shops could also sell Bedrock and use it as the XP Item so bedrock could be used for something.
Latest Download (v1.1)
Download here:
Quote:v1.1
- Fixed duping problem when using Experience
- Updated Update Checker
- Modified Config to store Item names
v1.0
- Fixed error preventing players from using enderpearls.
Features
The plugin will allow any item in game to be used to store XP Levels or Experience.
Currently you can:
- Change the Item
- Change from Experience or XP Levels
- Change amount deposit/withdrawn while standing or sneaking
- Change the max amount per XP Item
- Change Colors
- Change all the messages
- Charge to Withdraw or Deposit Experience or XP Levels
- Ability to disabled or enabled Vault Support
- Log transactions to bukkit log.
Install
Drag and drop Installation. Afterword do a restart or reload.
Then edit the config file made to your liking. Use [/xpitem reload] to reload the config.
Config v1
BackEnd:
DONOTTOUCHConfigVersion: 2
allowMetrics: true #Recommended so I can see the most common ways this plugin is used
UpdateChecking: true #Only checks on restart and /xpitem reload
sendInteractionsToLog: false
Settings:
itemName: EXP_BOTTLE #This is the item used to store the XP
useLevels: false #Set to true if you wish to store XP Levels instead of Experience
normalDepositAmount: 10
shiftDepositAmount: 30
maxAmount: -1
showEnchantWhenAmountOver0: true
Colors:
itemNameAmount: '&6'
itemName: '&5'
Messages:
deposit: '&aYouhavedeposited{amount}{xptype}.'
withdraw: '&3Youhavewithdrawn{amount}{xptype}.'
notEnough: '&cYouortheitemdoesnothave{amount}{xptype}.'
max: '&cMaxamountof{xptype}inthisXPItem.'
Commands
- /xpitem reload
- XPItem reload command. Requires xpitem.reload perm.
Permissions
- * xpitem.reload
- Gives use to reload config.
- xpitem.deposit
- Allows a player to deposit levels
- xpitem.withdraw
- Allows a player to withdraw levels
- xpitem.bypasscost
- Allows a player to bypass a price to withdraw or deposit
Quote:This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- If the server is using XP or Experience
- The Item name of the XP Item
- Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
To-Do
- Add ability to make players pay to withdraw or deposit money
Vault:
enabled: false
withdrawCost: 0
depositCost: 0
- Add more features from requests.
Bugs or need help
- Post a comment or a ticket for bug or error help.
- If I have not replied quickly you can find me on skype: EnkyHD
Open Source

评论 0
登录后参与评分
还没有评论,来抢沙发吧