武器等级
功能
- 武器、护甲、工具和其他物品在使用时会获得经验并升级!
- 随着等级提升,武器和物品会造成额外伤害!
- 物品在升级时会获得附魔!
- 背包中物品名称下方显示经验条和等级!
- 权限支持!
描述
WeaponLevels 允许你在使用武器和工具时对其进行升级,使其变得更强!等级和经验值会直接显示在物品名称下方,为你的服务器增添酷炫的新外观!每次你击中或击杀生物或玩家时,你使用的武器都会获得经验。随着等级提升,其伤害会增加,且物品名称的颜色会发生变化。
物品阶段
阶段可以在 stages.yml 中进行设置。随着你的物品升级,它们将达到各个阶段并获得设置的 颜色、附魔 以及任何加成效果。
命令
- /wl version - 显示插件的当前版本。
- /wl reload - 重新加载插件配置文件。仅限 OP 使用。
- /wl setlevel <level> - 设置当前手持物品的等级。
权限
- weaponlevels.* - 允许所有物品。
- weaponlevels.<stage> - 允许 <stage> 阶段的物品
- weaponlevels.setlevel - 允许使用 /wl setlevel
附魔
可以在配置文件中为每个等级阶段设置附魔。附魔列表以逗号分隔。每个附魔由两个用点分隔的数字组成。第一个数字是附魔 ID(点击此处查看 ID 列表),第二个数字是附魔等级。例如,“5.3” 代表呼吸术 III;“17.5” 代表亡灵杀手 V。
即将推出的功能
- 与 RPGItems、MagicalWeapons、PVPGun+ 和 DiabloDrops 集成
- 在物品描述中添加更多信息(伤害/护甲、特殊效果等)
- 武器随等级提升而恢复耐久度
- ...如果你有任何新功能想法,请告诉我!
>> 开发者 API <<
注意
版本 1.2.6 已发布,正在等待管理员审核,审核通过后方可下载。
请注意,这是一个开发构建版,为了修复前一版本的多个错误而匆忙推出,因此请自行权衡风险使用。由于我即将休假一周,期间无法进行编码,所以不得不加快进度。
以下是一些需要注意的更改:
- 现在仅使用 4 个配置文件:config.yml、stages.yml、groups.yml、items.yml
- stages.yml 定义了所有阶段。
- 现在有一个“bonuses”部分,包含伤害、护甲等加成内容。
- 暂时忽略 groups.yml 和 items.yml;它们尚未完全实现。
- 钓鱼时,你现在可以钓到不同等级的鱼;你的鱼竿等级越高,钓到高阶鱼的几率就越大。
- 阶段现在具有“food”加成,可提高食用该等级食物时获得的饱食度。
- 许多物品的经验条已被移除;这将在下一次更新中提供配置选项。
如果你对新系统有任何疑问,或发现了任何错误,请给我发私信,我会尽快回复你。
捐赠者
GleeCraft: $50 (gleecraftmc.com)
非常感谢大家的捐赠,这让我能够投入更多时间开发插件!请在捐赠时告知你的服务器名称,我会将你的服务器添加到上面的列表中!
Weapon Levels
Features
- Weapons, Armor, Tools and other items gain experience as you use them and level up!
- As they level up, weapons and items deal bonus damage!
- Items gain enchantments as they level up!
- Experience bar and level shown under the item name in the inventory!
- Permissions!
Description
WeaponLevels allows you to level up your weapons and tools as you use them, making them more powerful! The level and experience are displayed right under the item name, adding a slick new look to your server! Every time you hit or kill a mob or player, the weapon you're using will gain experience. As it levels up, it's damage will increase and the color of the item name will change.
Item Stages
Stages can be set in stages.yml. As your items level up, they will reach each stage and receive the color, enchantments, and any bonuses that are set.
Commands
- /wl version - Shows the current version of the plugin.
- /wl reload - Reloads the plugin config files. OP only.
- /wl setlevel <level> - Sets the level of the currently held item.
Permissions
- weaponlevels.* - Allows all items.
- weaponlevels.<stage> - Allows <stage> items
- weaponlevels.setlevel - Allows use of /wl setlevel
Enchantments
Enchantments can be set for each level stage in the config. The list of enchantments is separated by commas. Each enchantment is formatted with two numbers separated by a period. The first number is the ID of the enchantment (Click here for the ID list), and the second number is the level of the enchantment. So if the enchantment is "5.3", it would be Respiration III. Or, if it were "17.5", it would be Smite V.
Upcoming Features
- Integration with RPGItems, MagicalWeapons, PVPGun+, and DiabloDrops
- More information in item descriptions (damage/armor, special effects, etc.)
- Weapons gain durability as they level up
- ...let me know of any other ideas you have for new features!
>> Developer API <<
NOTICE
Version 1.2.6 has been posted and is awaiting approval by a moderator before it will be available for download.
Please note that this is a development build that was rushed in order to fix multiple bugs from the previous version, so use it at your own risk. I had to rush it because I'm going on vacation for a week and will not be able to code during that time.
Some changes to be noted:
- Now uses only 4 config files: config.yml, stages.yml, groups.yml, items.yml
- Stages.yml defines all of the stages.
- There is now a "bonuses" section that contains things such as damage, armor, etc.
- Ignore groups.yml and items.yml for now; they haven't been fully implemented yet.
- When fishing, you can now receive fish of different levels; the higher level your fishing rod, the higher chance you have of catching high-level fish
- Stages now have a "food" bonus which increases the fullness you gain from eating food of that level
- Many items have their experience bars removed; this will be configurable in the next update
If you have any questions about the new system, or bugs you have found, please leave me a private message and I will get back to you as soon as I can.
Donators
GleeCraft: $50 (gleecraftmc.com)
Donations are greatly appreciated and allow me to spend more time working on the plugin! Let me know the name of your server when you donate and I'll add your server to the list above!
下载 WeaponLevels
下载 WeaponLevels
下载 WeaponLevels
下载 WeaponLevels
下载 WeaponLevels
下载 WeaponLevels
下载 WeaponLevels
下载 WeaponLevels
v1.2.6
源码更改:
- - 移除了对 bPermissions 的依赖
- - 代码清理
- - 添加了基本的开发者 API - WeaponLevelsAPI
游戏更改:
- + 方块在被放置后保留经验数据
- + 熔炉和工作台通过被使用获得经验
- ~ 修复了需要 bPermissions 才能运行的错误
- ~ 修复了覆盖配置文件的错误
- ~ 其他插件的名称不会被覆盖
- ~ 修复了弓和箭的问题
- ~ 修复了空手时控制台的刷屏问题
- ~ 修复了控制台刷屏:“读取经验条出错!”
v1.2.5
源码更改:
- ~ 代码清理
- ~ 权限检查大幅改动
- ~ 配置文件减少至 4 个
游戏更改:
- + 为盔甲添加了经验和加成
- + 为工具添加了经验
- + 为钓鱼添加了经验和加成
- + 为食物添加了饥饿值加成
- + 为煤炭添加了燃料加成
- ~ 修复了在没有权限的情况下物品升级一次后无法再使用的错误
- ~ 修复了伤害加成
- ~ 移除了某些物品的经验条
v1.2.4
源码更改:
- + 添加了 CHANGELOG.txt
- + 添加了 README.txt(还是空的 lol)
- - 移除了没有文件扩展名的 README
- - 移除了大量未使用的导入
- ~ 将监听器合并到一个文件中
- ~ 更好地组织了所有内容
- ~ 完全重新设计了插件的结构
- ~ 大量优化
- ~ 启用和禁用消息现在从 plugin.yml 获取作者和版本,而不是硬编码
游戏更改:
- + 添加了命令 "/wl version"、"/wl setlevel" 和 "/wl reload"
- + 添加了对基于 SuperPerms 的权限插件的支持
- + 添加了对 RPG Items 的部分支持(仍需大量工作)
- + 添加了自定义等级组的支持
- + 添加了描述和经验条颜色的配置
- + 合成中添加了随机等级
- - 移除了等级和经验条旁边的三角形
- - 移除了控制台刷屏
- - 移除了附魔物品相关的错误
- - 移除了部分物品名称变为 "null" 的错误
- ~ 修复了无论配置如何都不允许生成器的错误
v1.2.3
因修订而移除
v1.2.2
- 项目现由 NOVUS! ▲ 托管
源码更改:
- 更新至 CraftBukkit 1.5.2-R0.1
- 将源包重命名为 com.coffecup.novus.*
- 将主类重命名为 WLPlugin.class
- 将已放置方块的变量和方法移至 BlockChecker.class
游戏更改:
- 工具现在能正确处理经验
- 移除了物品名称中的星号
- 在物品描述中添加三角形以标识插件
- 物品堆叠不再获得经验(可配置)
- 玩家放置的方块在被破坏时将不再给予经验
- 最大等级现在实际上是可配置的
v1.2.1
- 将配置分离为 5 个文件,均位于 WeaponLevels 文件夹内的 "configuration" 文件夹中。
- 每种类型的物品(武器、盔甲、工具和物品)都有各自的等级、附魔和选项。
- 附魔现在真正起作用了!
- 修复了所有物品都获得 Protection level 0 附魔的错误。
- 空的 CSV 列表现在默认为 "none" 而不是 "0.0",以修复上述错误。
- 进行了小幅性能更新,将非常微小的延迟降低到更微小的延迟。
- 你现在可以更改最大等级。
v1.2
- 武器在升级时可以接收附魔
- 更多的配置选项
- 工具在使用时升级(镐子在石头上,铲子在泥土上等)
- 盔甲在被击中时升级
- 当物品升级时玩家获得经验
- 可以禁用某些物品
v1.1
- 配置中每个怪物拥有独立的经验值
- BUG 修复:“Chrys Exploit” 允许玩家在非 PvP 区域轻松获取经验
- BUG 修复:手中无物品时攻击怪物导致的控制台刷屏
v1.0
- 初始发布
* 此插件仍处于测试阶段,并经历了一些重大更改。可能会发生错误,请报告以便修复!
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧