1792019283
sx的等级限制怎么改成sx-level的等级而不是原版等级
求解

我是力量
显示可装载物品的槽位不能用了?? 没了?

小李呀
这是一个好插件,我来支持一下

66666680
但是mythicmobs免费版不支持1.16

小凯吖
神乎奇基不服不行

395865805
感谢楼主分享

358382501
爷的青春回来了

358382501
好插件 我过来顶贴了

望星の殇
本帖最后由 望星の殇 于 2020-8-18 19:01 编辑

@肥洋洋 作者您好
我在使用您的插件时发现了一些问题,不知道是不是我配置的问题,现将问题贴在下面
客户端:1.12.2最新spigot java:jdk8 with openj9

在切换到特定武器时会弹出下列报错,并导致属性失效,但是装备lore还在

  1. [SX-Attribute] Plugin SX-Attribute v3.6.4-SNAPSHOT generated an exception while executing task 90968
  2. java.lang.NumberFormatException: For input string: "."
  3.         at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043) ~[?:1.8.0_242]
  4.         at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110) ~[?:1.8.0_242]
  5.         at java.lang.Double.parseDouble(Double.java:538) ~[?:1.8.0_242]
  6.         at github.saukiya.sxattribute.data.attribute.SubAttribute.getNumber(SubAttribute.java:288) ~[?:?]
  7.         at github.saukiya.sxattribute.data.attribute.sub.attack.Damage.loadAttribute(Damage.java:159) ~[?:?]
  8.         at github.saukiya.sxattribute.data.attribute.SubAttribute.lambda$loadAttributes$2(SubAttribute.java:109) ~[?:?]
  9.         at github.saukiya.sxattribute.data.attribute.SubAttribute$Lambda$88/0000000029514D80.accept(Unknown Source) ~[?:?]
  10.         at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:1.8.0_242]
  11.         at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_242]
  12.         at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_242]
  13.         at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) ~[?:1.8.0_242]
  14.         at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:497) ~[?:1.8.0_242]
  15.         at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:487) ~[?:1.8.0_242]
  16. teManager.java:108) ~[?:?]                                                                    .8.0_242]
  17.         at github.saukiya.sxattribute.data.attribute.SXAttributeManager.loadEntityData(SXAttri ~[?:1.8.0_242]buteManager.java:248) ~[?:?]
  18.         at github.saukiya.sxattribute.listener.ListenerUpdateAttribute$1.run(ListenerUpdateAttribute.java:54) ~[?:?]
  19.         at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
  20.         at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
  21.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_242]
  22.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_242]
  23.         at java.lang.Thread.run(Thread.java:821) [?:1.8.0_242]
复制代码
我尝试搜索“java.lang.NumberFormatException: For input string”,但看起来我的lore中并不含有.
下面是报错武器的截图


下面是另一个正常武器的截图


下面是randomforge的配置文件部分

  1.   ylmj:
  2.     id: 268
  3.     data: 0
  4.     #物品名
  5.     display: '&8&l < = (&7契约者&8&l) = >'
  6.     #自定义lore
  7.     lores:
  8.     - '&8&l[[ * ]] &f雨林木剑 <等级>'
  9.     - '&f'
  10.     - '&2&l۞ &2等级 &7最低要求: 10'
  11.     - '&6&lψ &6职业 &7无要求'
  12.     - '&f'
  13.     - '&7同比战斗评估 [<strength>&7]'
  14.     - '&7 力量: &a<攻击力1>'
  15.     - '&7 坚韧: &a15'
  16.     - '&f'
  17.     - '&c ◎ 上限附加 &7| <上限类型> &7|'
  18.     - '&7 <上限属性> &a<值>'
  19.     - '&f'
  20.     - '&8雨林木头的精华融汇于内,'
  21.     - '&8力量喷涌而出.'
  22.     - '&7宝石孔 &8&l<宝石孔>'
  23.     - '&7宝石孔 &8&l<宝石孔>'
  24.     levels:
  25.       下限:
  26.         weight: 8
  27.         等级:
  28.           type: fixed
  29.           value: '&f下限级'
  30.         上限类型:
  31.           type: fixed
  32.           value: '&f无'
  33.         上限属性:
  34.           type: fixed
  35.           value: '&f'
  36.         值:
  37.           type: fixed
  38.           value: '&f'
  39.         宝石孔:
  40.           type: fixed
  41.           value: '[&4&l۞&8&l]'
  42.         攻击力1:
  43.           type: strength
  44.           base: 40
  45.           add: 50
  46.       常规:
  47.         weight: 10
  48.         等级:
  49.           type: fixed
  50.           value: '&a常规级'
  51.         上限类型:
  52.           type: fixed
  53.           value: '&f无'
  54.         上限属性:
  55.           type: fixed
  56.           value: '&f'
  57.         值:
  58.           type: fixed
  59.           value: '&f'
  60.         宝石孔:
  61.           type: fixed
  62.           value: '[&4&l۞&8&l]'
  63.         攻击力1:
  64.           type: strength
  65.           base: 40
  66.           add: 60
  67.       上限强劲:
  68.         weight: 1
  69.         等级:
  70.           type: fixed
  71.           value: '&6上限级'
  72.         上限类型:
  73.           type: fixed
  74.           value: '&6强袭'
  75.         上限属性:
  76.           type: fixed
  77.           value: '&4强劲:'
  78.         值:
  79.           type: strength
  80.           base: 1
  81.           add: 30
  82.         宝石孔:
  83.           type: fixed
  84.           value: '[&4&l۞&8&l]'
  85.         攻击力1:
  86.           type: strength
  87.           base: 40
  88.           add: 70
  89.       上限敏捷:
  90.         weight: 1
  91.         等级:
  92.           type: fixed
  93.           value: '&6上限级'
  94.         上限类型:
  95.           type: fixed
  96.           value: '&a敏捷'
  97.         上限属性:
  98.           type: fixed
  99.           value: '&2敏捷:'
  100.         值:
  101.           type: strength
  102.           base: 1
  103.           add: 20
  104.         宝石孔:
  105.           type: fixed
  106.           value: '[&4&l۞&8&l]'
  107.         攻击力1:
  108.           type: strength
  109.           base: 40
  110.           add: 70
  111.       上限守护:
  112.         weight: 1
  113.         等级:
  114.           type: fixed
  115.           value: '&6上限级'
  116.         上限类型:
  117.           type: fixed
  118.           value: '&e守护'
  119.         上限属性:
  120.           type: fixed
  121.           value: '&f坚韧:'
  122.         值:
  123.           type: strength
  124.           base: 1
  125.           add: 20
  126.         宝石孔:
  127.           type: fixed
  128.           value: '[&4&l۞&8&l]'
  129.         攻击力1:
  130.           type: strength
  131.           base: 40
  132.           add: 70
复制代码
SX的属性名称我已经改为和武器上使用的相同
以下是SX的配置文件



望星の殇
望星の殇 发表于 2020-8-18 18:35
@肥洋洋 作者您好
我在使用您的插件时发现了一些问题,并且我没有在该帖子或其他地方找到讨论组,不知道是 ...

以下是另一个会报错的武器的lores


肥洋洋
请把
力量喷涌而出.
改成
力量喷涌而出

望星の殇

啊,这么简单的吗,整了一下午没整好,删掉  .  就好了,太草了

肥洋洋
望星の殇 发表于 2020-8-18 21:04
啊,这么简单的吗,整了一下午没整好,删掉  .  就好了,太草了

好的,没事就好,没事就好。

WaterC
攻速似乎改不掉,我在item里面按照教程文档的Type:SX Attackspeed:0.1这样设置了,或者在lore上弄了
攻击速度: -800%(攻击速度: 0.01) 这样都没用,而且会比原版的速度高出很多很多,服务器版本1.12.2 spigot

Juniper
我有一个小请求,那就是能否在生成的物品的选项中加入custom_model_data的选项,这对与1.14.4以上的服务器很友好,谢谢

肥洋洋
w1632050253 发表于 2020-8-19 15:19
我有一个小请求,那就是能否在生成的物品的选项中加入custom_model_data的选项,这对与1.14.4以上的服务器 ...

这个选项是什么

Juniper

是关于材质的,1.14.4+才有的功能,RPGinv也是有这个选项的,使用特定的custom_model_data就能显示出特定的材质

kerorozsl
1.16.1 版本 ClearDefaultAttribute 标签不生效

358382501
请问跟dxl插件在一起打完副本退出武器有概率变成普通武器失去lore是什么情况

358382501
希望出个属性自定义的功能,加点新的属性之类的

j02760
希望能添加禁止附魔的選項  或是在鐵砧內禁止使用

肥洋洋
kerorozsl 发表于 2020-8-19 16:50
1.16.1 版本 ClearDefaultAttribute 标签不生效

3.6.5已修复

肥洋洋
358382501 发表于 2020-8-19 17:26
请问跟dxl插件在一起打完副本退出武器有概率变成普通武器失去lore是什么情况 ...

3.x版本已修复   

肥洋洋
358382501 发表于 2020-8-19 17:27
希望出个属性自定义的功能,加点新的属性之类的

CustomManager,JsAttribute,两个属性构建器满足您的需求

肥洋洋
j02760 发表于 2020-8-19 19:10
希望能添加禁止附魔的選項  或是在鐵砧內禁止使用

emmm ? 这就不属于SX的范围了,详情可定制

肥洋洋
WaterC 发表于 2020-8-18 21:46
攻速似乎改不掉,我在item里面按照教程文档的Type:SX Attackspeed:0.1这样设置了,或者在lore上弄了
攻击速 ...

3.6.5 已修复

WaterC

谢谢~~~

影酱🌸
3.6.4-SNAPSHOT papi变量貌似出问题了

jrx233
不知道是不是我使用姿势有问题,暴击有全息,而普通伤害却没有全息

肥洋洋
XiangZi_ 发表于 2020-8-20 00:33
3.6.4-SNAPSHOT papi变量貌似出问题了

papi version < 2.10

3095426260
请问楼主大大 如何关闭SX初始的100攻击力跟10%暴击几率

美年达呀
楼主的重制版SX太好用了,我已经靠你这个赚了一个亿

肥洋洋
3095426260 发表于 2020-8-20 10:30
请问楼主大大 如何关闭SX初始的100攻击力跟10%暴击几率

下载3.6.5版本

kkao
大哥优秀啊

影酱🌸

已是最新版本 2.10.9

肥洋洋
XiangZi_ 发表于 2020-8-20 12:16
已是最新版本 2.10.9

降低papi版本

兰陵缭乱看
怎么弄随机属性啊,比如我想弄个武器在攻击力: 10-50之间中抽取攻击力数值要怎么弄

肥洋洋
帖子看了吗,教程读了吗,例子试过了吗?

kerorozsl
1.16.1 版本的 ClearDefaultAttribute 标签还是不生效
防具加上 生命上限 装备上以后也不生效(手持生效)

肥洋洋
kerorozsl 发表于 2020-8-20 17:54
1.16.1 版本的 ClearDefaultAttribute 标签还是不生效
防具加上 生命上限 装备上以后也不生效(手持生效) ...

好的,知道了

3095426260
本帖最后由 3095426260 于 2020-8-21 05:33 编辑

楼主大大,格挡属性跟闪避是同一种属性吗,我全身什么东西都没有,只有副手有一个10%格挡几率10%格挡比例的盾牌,为什么我会平白无故多出10%点闪避=======================================================================
已自行解决,通过改配置文件的判定名!

1010095167
巨强的插件

h321
非常棒的插件

落落哟
sx重制版,nice

清风残阳
爷的青春又回来了 希望有更多的附属

思念化作海
本帖最后由 屑🥕 于 2020-8-22 22:28 编辑

https://paste.ubuntu.com/p/VV25qY4YY9/

1.7.10 Uranium上装了这个插件 启动信息报了这些 有一段好像不对的样子
应该可以用吧...?


放弃了

MonsterXZ
sxnb!国人插件越来也棒了!

3095426260
不能ban盾牌免伤

寂灭90387
挺不错的插件

Bright_C
[14:36:15] [Server thread/INFO]: YoHern issued server command: /yum reload SX-Attribute
[14:36:15] [Server thread/INFO]: [SX-Attribute] Disabling SX-Attribute v3.6.4-SNAPSHOT
[14:36:18] [Server thread/INFO]: [SX-Attribute] ServerVersion: 1.12.2
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|Crit] To Priority 3 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|Damage] To Priority 2 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|HitRate] To Priority 16 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|Ignition] To Priority 9 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|LifeSteal] To Priority 8 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|Lightning] To Priority 11 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|AttackPotion] To Priority 10 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|Real] To Priority 4 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|Tearing] To Priority 12 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|Block] To Priority 7 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|Defense] To Priority 5 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|Dodge] To Priority 1 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|Reflection] To Priority 6 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|Toughness] To Priority 13 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|EventMessage] To Priority 22 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|ExpAddition] To Priority 17 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|MythicMobsDrop] To Priority 21 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|HealthRegen] To Priority 15 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|Health] To Priority 14 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|WalkSpeed] To Priority 19 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|CustomManager] To Priority 23 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|power] To Priority 100 !
[14:36:18] [Server thread/INFO]: [SX-Attribute] Attribute >> Register [SX-Attribute|AttackSpeed] To Priority 20 !
[14:36:18] [Server thread/WARN]: java.lang.NoClassDefFoundError: jdk/internal/dynalink/beans/StaticClass
[14:36:18] [Server thread/WARN]:        at github.saukiya.sxattribute.SXAttribute.laodJsAttribute(SXAttribute.java:187)
[14:36:18] [Server thread/WARN]:        at github.saukiya.sxattribute.SXAttribute.onLoad(SXAttribute.java:159)
[14:36:18] [Server thread/WARN]:        at pw.yumc.Yum.managers.PluginsManager.load(PluginsManager.java:348)
[14:36:18] [Server thread/WARN]:        at pw.yumc.Yum.managers.PluginsManager.load(PluginsManager.java:406)
[14:36:18] [Server thread/WARN]:        at pw.yumc.Yum.managers.PluginsManager.reload(PluginsManager.java:441)
[14:36:18] [Server thread/WARN]:        at pw.yumc.Yum.commands.YumCommand.reload(YumCommand.java:323)
[14:36:18] [Server thread/WARN]:        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[14:36:18] [Server thread/WARN]:        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[14:36:18] [Server thread/WARN]:        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[14:36:18] [Server thread/WARN]:        at java.lang.reflect.Method.invoke(Unknown Source)
[14:36:18] [Server thread/WARN]:        at pw.yumc.Yum.commands.info.CommandInfo.lambda$execute$0(CommandInfo.java:136)
[14:36:18] [Server thread/WARN]:        at pw.yumc.Yum.commands.info.CommandInfo.execute(CommandInfo.java:146)
[14:36:18] [Server thread/WARN]:        at pw.yumc.Yum.commands.CommandSub.onCommand(CommandSub.java:193)
[14:36:18] [Server thread/WARN]:        at pw.yumc.Yum.inject.CommandInjector.onCommand(CommandInjector.java:106)
[14:36:18] [Server thread/WARN]:        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[14:36:18] [Server thread/WARN]:        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:145)
[14:36:18] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:706)
[14:36:18] [Server thread/WARN]:        at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1610)
[14:36:18] [Server thread/WARN]:        at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1455)
[14:36:18] [Server thread/WARN]:        at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(CPacketChatMessage.java:38)
[14:36:18] [Server thread/WARN]:        at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(CPacketChatMessage.java:8)
[14:36:18] [Server thread/WARN]:        at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:15)
[14:36:18] [Server thread/WARN]:        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[14:36:18] [Server thread/WARN]:        at java.util.concurrent.FutureTask.run(Unknown Source)
[14:36:18] [Server thread/WARN]:        at net.minecraft.util.Util.func_181617_a(Util.java:50)
[14:36:18] [Server thread/WARN]:        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:868)
[14:36:18] [Server thread/WARN]:        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:469)
[14:36:18] [Server thread/WARN]:        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:804)
[14:36:18] [Server thread/WARN]:        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658)
[14:36:18] [Server thread/WARN]:        at java.lang.Thread.run(Unknown Source)
[14:36:18] [Server thread/WARN]: Caused by: java.lang.ClassNotFoundException: jdk.internal.dynalink.beans.StaticClass
[14:36:18] [Server thread/WARN]:        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:144)
[14:36:18] [Server thread/WARN]:        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:99)
[14:36:18] [Server thread/WARN]:        at java.lang.ClassLoader.loadClass(Unknown Source)
[14:36:18] [Server thread/WARN]:        at java.lang.ClassLoader.loadClass(Unknown Source)
[14:36:18] [Server thread/WARN]:        ... 30 more



报错,没有生成器

第一页 上一页 下一页 最后一页