本帖最后由 楠木i 于 2023-3-31 20:01 编辑

SkillAPI 扩展属性脚本 (魔法值、魔法恢复)
魔法属性 (SkillAPI扩展属性脚本).zip
(2.35 KB, 下载次数: 215, 售价: 20 粒金粒)

感谢 @黑的 TabooLib

点我前往 Wiki 页面3.0.9 版本开始已支持自定义脚本属性 脚本属性教程
插件基于 Kotlin 完全重写 旧版本附属部分可能无法兼容新版 如果是 属性类附属 这边建议重写
如果只是简单的调用API对玩家属性的操作,那么从 3.0.5 版本开始可以 继续使用

插件下载 (2021/05/24)
AttributePlus 开发赞助计划加入计划即可获取 多种权益&附属 及加入 插件内部群 资格
具体详细请添加交流群后 @Q群管家 了解赞助计划详情(非爱发电赞助)
如有 BUG 或 其他问题 请添加交流群进行反馈,帖内反馈恕不回复




[bStats] [常见问题] [更新记录] [爱发电赞助] [API]二傻的快乐插件交流群: 901796907
贡献者名单


插件文档
Nukkit-AttributePlus 已正式发布
链接: https://www.mcbbs.net/thread-1117682-1-1.html
插件下载
插件必须重启安装,不允许用Plugman或Yum在线安装
Kc 核心不支持该插件,请使用 Ur 核心
更新记录
最近一次更新内容
2.3.7 更新内容
更新内容
https://afdian.net/leaflet?slug=CanMengLo
未经允许禁止转载
已知BUG列表暂未发现,发现请添加交流群反馈
Attribute Plus
感谢 @黑 的 TabooLib
支持 1.8 至 1.19 的服务器版本,未来将持续更新至新版
基于 Kotlin / Taboolib 开发的玩家属性插件,拥有 新机制、优先级、自定义属性 功能
Custom Attribute (脚本属性教程)
从 3.0.9 版本起支持使用 JavaScript 自定义属性脚本
你可以编写出许许多多有意思的属性,前提你需要会 JavaScript 基础
插件下载
█████,如果您要查看本帖隐藏内容请回复
SkillAPI 扩展属性脚本 (魔法值、魔法恢复)

AttributePlus 开发赞助计划
加入计划即可获取 多种权益&附属
如有 BUG 或 其他问题 请添加交流群进行反馈,帖内反馈恕不回复
2021.12 数据,可能有更多内容

感谢 @黑的 TabooLib

点我前往 Wiki 页面3.0.9 版本开始已支持自定义脚本属性 脚本属性教程
插件基于 Kotlin 完全重写 旧版本附属部分可能无法兼容新版 如果是 属性类附属 这边建议重写
如果只是简单的调用API对玩家属性的操作,那么从 3.0.5 版本开始可以 继续使用
插件下载 (2021/05/24)
xmdhs如果您要查看本帖隐藏内容请回复
AttributePlus 开发赞助计划加入计划即可获取 多种权益&附属 及加入 插件内部群 资格
具体详细请添加交流群后 @Q群管家 了解赞助计划详情(非爱发电赞助)
如有 BUG 或 其他问题 请添加交流群进行反馈,帖内反馈恕不回复




[bStats] [常见问题] [更新记录] [爱发电赞助] [API]二傻的快乐插件交流群: 901796907
贡献者名单
- 插件自身拥有 51 种属性标签 N 种规则限制标签 2 种回收标签 (装上APE不止51种属性!)
- 更好的兼容 HolographicDisplays / RPGInventory/ MythicMobs / SkillAPI 插件
- 属性可作用于怪物身上,属性均支持负数及小数点
- 还原1.9+蓄力攻击伤害机制,蓄力可造成不同伤害(近战&远程)
- 扩展功能: 加点 / 饰品 / 自定义属性(APE)
- 全新机制: 盾牌机制 / 弓箭机制 / 效果伤害机制
- GUI界面: 属性信息 / 回收界面 / 加点界面 / 耐久修复界面
- 全自定义加点项(属性,描述,规则标签,变量)
- 提供开发文档 [API]
想注册新的属性吗? 那么开发文档可以帮到你!

插件文档
Nukkit-AttributePlus 已正式发布
链接: https://www.mcbbs.net/thread-1117682-1-1.html
插件下载
插件必须重启安装,不允许用Plugman或Yum在线安装
Kc 核心不支持该插件,请使用 Ur 核心
xmdhs如果您要查看本帖隐藏内容请回复
更新记录
最近一次更新内容
2.3.7 更新内容
更新内容
https://afdian.net/leaflet?slug=CanMengLo
未经允许禁止转载
已知BUG列表暂未发现,发现请添加交流群反馈
本帖最后由 楠木i 于 2020-7-27 13:19 编辑
edit (:
edit (:
占个沙发,希望以后会有更多的功能
指令展示方式赞一个 挺好看的
都看见没有 这是真正的大佬作品!!!
感觉很不错 支持一下
tql 正好需要这个插件 另外
你咋换头像了呢
你咋换头像了呢
可以可以很强啊
希望加入百分比护甲属性的功能
指令展示方式赞一个 挺好看的
灯芯草 发表于 2019-8-8 13:22
希望加入百分比护甲属性的功能
未来会添加,目前1.1版本已更新。
没有加血嘛?
THMC 发表于 2019-8-8 17:42
没有加血嘛?
下个版本会增加进去的。
可以支持升级获得属性吗
比如我升级获得了点数
点数可以投入到力量智力之类的属性
比如我升级获得了点数
点数可以投入到力量智力之类的属性
1957863988 发表于 2019-8-8 20:50
这个想法我早就有了。
通过升级获得属性点。让玩家加大
嗯,现在能做装备的插件太多了,但属性都是附在装备上的,给谁穿都强
希望能做出让玩家自身强的机制
神乎其技,不服不行!
超级牛逼,力挺!!
属性是Lore判断吗 那可以使用其他例如MM保存物品 取出 Lore一样 会有属性吗
很棒的一个插件,打算是用来制作生存服务端里的一些功能,不知道效果会如何
稍后在生存服务端测试一下效果,顺带提醒一下
”2.配置文本介绍 [1.0版本]
[部分服务端可能需要转码才能使用,认默的是ANSI编码]“
中的“认默的是ANSI编码”的默认打反了,(除非是故意的;w;)
稍后在生存服务端测试一下效果,顺带提醒一下
”2.配置文本介绍 [1.0版本]
[部分服务端可能需要转码才能使用,认默的是ANSI编码]“
中的“认默的是ANSI编码”的默认打反了,(除非是故意的;w;)
jmmjmmxxx123 发表于 2019-8-9 00:29
很棒的一个插件,打算是用来制作生存服务端里的一些功能,不知道效果会如何
稍后在生存服务端测试一下效果 ...

新版本已更新
1.2版本 [2019.08.09/17:26]:
▲ 新增 缴械 属性 [具体功能请查看贴内]
▲ 新增 使用权限 / 等级要求 限制性属性
[无法强制使用未满足要求的装备]
▲ 新增 1 种属性 及 变量
%ap_disarm% — 缴械几率
▲ 更好的调整属性提示消息,Attributes.yml内
可对各种属性的提示语进行修改,高度自定义
▲ 修复一个小BUG
1.2版本 [2019.08.09/17:26]:
▲ 新增 缴械 属性 [具体功能请查看贴内]
▲ 新增 使用权限 / 等级要求 限制性属性
[无法强制使用未满足要求的装备]
▲ 新增 1 种属性 及 变量
%ap_disarm% — 缴械几率
▲ 更好的调整属性提示消息,Attributes.yml内
可对各种属性的提示语进行修改,高度自定义
▲ 修复一个小BUG
MCBBS有你更精彩
申请添加: 新属性
详情: 击飞几率 击飞倍率
击飞= 漂浮buff 短时间内给予高等级的漂浮buff 然后摔落造成伤害
漂浮等级为固定等级 击飞倍率是指玩家接触地面造成的伤害
申请添加: 新属性
详情: 沉默几率 沉默倍率
沉默= 玩家无法切换道具/装备
沉默倍率= 持续时间
基础0.5s
详情: 击飞几率 击飞倍率
击飞= 漂浮buff 短时间内给予高等级的漂浮buff 然后摔落造成伤害
漂浮等级为固定等级 击飞倍率是指玩家接触地面造成的伤害
申请添加: 新属性
详情: 沉默几率 沉默倍率
沉默= 玩家无法切换道具/装备
沉默倍率= 持续时间
基础0.5s
蛮不错的属性插件,发展空间很大,期待后续版本

鉴定石可以加 不同的孔要不同的鉴定石吗 多一个这样的选项可能会好很多
6656654 发表于 2019-8-10 01:30
鉴定石可以加 不同的孔要不同的鉴定石吗 多一个这样的选项可能会好很多
感谢提议
bliblibli23333 发表于 2019-8-9 19:43
申请添加: 新属性
详情: 击飞几率 击飞倍率
击飞= 漂浮buff 短时间内给予高等级的漂浮buff 然后摔落造成伤 ...
沉默几率 沉默倍率 已经更新。
锁定生命颗数不能关?太不友好了吧

这个非常不错
年七月 发表于 2019-8-11 08:47
这个非常不错
如果你有使用的话,如果发现bug请及时反馈哦
等养肥了再用

11.08 14:05:27 [Multicraft] Skipped 4 lines due to rate limit (30/s)
11.08 14:05:27 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_212]
11.08 14:05:27 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_212]
11.08 14:05:27 [Server] INFO at org.serverct.ersha.jd.Attribute.DamageSub.onEntityDamage(DamageSub.java:46) ~[?:?]
11.08 14:05:27 [Server] INFO at org.serverct.ersha.jd.Util.GetItem.getAllMix(GetItem.java:154) ~[?:?]
11.08 14:05:27 [Server] INFO at org.serverct.ersha.jd.Util.GetItem.getDamagemix(GetItem.java:282) ~[?:?]
11.08 14:05:27 [Server] INFO Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
11.08 14:05:27 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_212]
11.08 14:05:27 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:669) [MinecraftServer.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:809) [MinecraftServer.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:431) [lt.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:991) [MinecraftServer.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:245) [ej.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:10) [ja.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:55) [ja.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147340_a(NetHandlerPlayServer.java:1558) [nh.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.entity.player.EntityPlayer.func_71059_n(EntityPlayer.java:1404) [yz.class:?]
11.08 14:05:27 [Server] INFO at noppes.npcs.entity.EntityNPCInterface.func_70097_a(EntityNPCInterface.java:521) [EntityNPCInterface.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:903) [sv.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.entity.EntityLivingBase.damageEntity_CB(EntityLivingBase.java:1381) [sv.class:?]
11.08 14:05:27 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:629) [CraftEventFactory.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:465) [CraftEventFactory.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:597) [CraftEventFactory.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callEvent(CraftEventFactory.java:102) [CraftEventFactory.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492) [SimplePluginManager.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507) [SimplePluginManager.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[RegisteredListener.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:338) ~[JavaPluginLoader$1.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO org.bukkit.event.EventException
11.08 14:05:27 [Server] ERROR Could not pass event EntityDamageByEntityEvent to AttributePlus v1.2.5
武器打怪报错,而且没有伤害,但查自身属性的时候是有增加攻击力的
11.08 14:05:27 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_212]
11.08 14:05:27 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_212]
11.08 14:05:27 [Server] INFO at org.serverct.ersha.jd.Attribute.DamageSub.onEntityDamage(DamageSub.java:46) ~[?:?]
11.08 14:05:27 [Server] INFO at org.serverct.ersha.jd.Util.GetItem.getAllMix(GetItem.java:154) ~[?:?]
11.08 14:05:27 [Server] INFO at org.serverct.ersha.jd.Util.GetItem.getDamagemix(GetItem.java:282) ~[?:?]
11.08 14:05:27 [Server] INFO Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
11.08 14:05:27 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_212]
11.08 14:05:27 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:669) [MinecraftServer.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:809) [MinecraftServer.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:431) [lt.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:991) [MinecraftServer.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:245) [ej.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:10) [ja.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:55) [ja.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147340_a(NetHandlerPlayServer.java:1558) [nh.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.entity.player.EntityPlayer.func_71059_n(EntityPlayer.java:1404) [yz.class:?]
11.08 14:05:27 [Server] INFO at noppes.npcs.entity.EntityNPCInterface.func_70097_a(EntityNPCInterface.java:521) [EntityNPCInterface.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:903) [sv.class:?]
11.08 14:05:27 [Server] INFO at net.minecraft.entity.EntityLivingBase.damageEntity_CB(EntityLivingBase.java:1381) [sv.class:?]
11.08 14:05:27 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:629) [CraftEventFactory.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:465) [CraftEventFactory.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:597) [CraftEventFactory.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callEvent(CraftEventFactory.java:102) [CraftEventFactory.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492) [SimplePluginManager.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507) [SimplePluginManager.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[RegisteredListener.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:338) ~[JavaPluginLoader$1.class:1.7.10-R0.1-SNAPSHOT]
11.08 14:05:27 [Server] INFO org.bukkit.event.EventException
11.08 14:05:27 [Server] ERROR Could not pass event EntityDamageByEntityEvent to AttributePlus v1.2.5
武器打怪报错,而且没有伤害,但查自身属性的时候是有增加攻击力的
本帖最后由 1957863988 于 2019-8-11 14:11 编辑
服务器版本及核心说一下
你的武器攻击力是 攻击力: 100 - 1000
这种格式吗? 如果不是就改成这种,必须是 最小值 - 最大值
AceBrather 发表于 2019-8-11 14:07
11.08 14:05:27 [Multicraft] Skipped 4 lines due to rate limit (30/s)
11.08 14:05:27 [Server] INFO at ...
服务器版本及核心说一下
你的武器攻击力是 攻击力: 100 - 1000
这种格式吗? 如果不是就改成这种,必须是 最小值 - 最大值
游戏内显示An internal error occurred while attempting to perform this command
hbxfc 发表于 2019-8-11 18:11
游戏内显示An internal error occurred while attempting to perform this command
服务器核心是什么? 版本多少?
报错贴出来

核心: PaperSpigot-1.13.2
无法使用,lz试试吧
无法使用,lz试试吧