服务器更新日志

更新

修改了 />plugins>AnimatedScoreboard>scoreboards>adminboard.yml 的内容,使计分板显示的内容有意义,更好看。()

同步更新了该文件夹其他的计分板配置文件。(划掉)

问题

出现问题的插件:LEconomy v3.0

在输入 money give 「玩家名」 「金额」 时,如果金额 ≥ 10 位数,会报错以下内容:很明显是超过了 int 型最大值(由于插件是用 java 开发的)

[04:29:19 WARN]: Unexpected exception while parsing console command "money give worable 9999999999org.bukkit.command.CommandException: Unhandled exception executing command 'money ' in plugin LEconomy v 3.0at org,bukkit. command.PluginCommand.execute(PluginCommand.java:47) ~[leaves-api-1.21.4-RO.1-SNA PSHOT,jar:?] at org,bukkit. command.SimpleCommandMap,dispatch(SimpleCommandMap. java:156) [leaves-api-1.21.4RO.1-SNAPSHOT,jar:?] at org,bukkit.craftbukkit.CraftServer. ,dispatchCommand(CraftServer,java:1022). ~[leaves-1.21.4.ja r:1.21.4-36-f553c53] at org,bukkit.craftbukkit.CraftServer. ,dispatchServerCommand(CraftServer,java:1007) ~[leaves-1.21.4.jar:1.21.4-36-f553c53] at net.minecraft.server.dedicated.DedicatedServer. handleConsoleInputs(DedicatedServer.java:483) ~[leaves-1.21.4.jar:1.21.4-36-f553c53] at net.minecraft.server.dedicated.DedicatedServer. tickConnection(DedicatedServer.java:433) ~[le aves-1.21.4 jar:1.21.4-36-f553c53] A at net.minecraft.server MinecraftServer.tickChildren(MinecraftServer. java:1749) ~[leaves-1.21.4jar:1.21.4-36-f553653] at net.minecraft.server.MinecraftServer ,tickServer(MinecraftServer,java:1536)  ~[leaves-1.21.4.j ar:1.21.4-36-f553653] at net.minecraft.server MinecraftServer.runServer(MinecraftServer ,java:1258) ~[leaves-1.21.4.ja r:1.21.4-36-f553653] at net.minecraft.server.MinecraftServer. lambda$spin$2(MinecraftServer,java:312)  ~[leaves-1.21.4jar:1.21.4-36-f553653] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?] Caused by: java.lang.NumberFormatException: For input string: '9999999999" at java,base/java.lang.NumberFormatException. forInputString(NumberFormatException.java:67) "[?: ?] at java,base/java.lang. Integer,parseInt(Integer.java:662) ~[?:] at java,base/java. lang.Integer,parseInt(Integer.java:778) "[?:?] at LEconomy-3,0.jar/qq3154311518.LEconomy. BukkitMain.give(BukkitMain,java:135) [LEconomy-3.0.j ar:?] at LEconomy-3,0.jar/qq3154311518.LEconomy ,BukkitMain.onCommand(BukkitMain, java:107) ~[LEconomy 3,0.jar:?] at org,bukkit.command.PluginCommand. execute(PluginCommand.java:45) ~[leaves-api-1.21.4-RO.1-SNA PSHOT,jar:?] 10 more

解决:将金额改为一个较小的数字,例如 2147483647 或更小的值。

其他

罗小黑战纪太好看了喵喵喵ilovemtjj我爱木头姐姐hhhhhhhhhhhh推荐你们都去看看太好看了快去给木头送钱增加票房(骄傲)

其实我没更新完今晚太晚了明天继续修改。

哈哈哈((g
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇