本帖最后由 asdp000333 于 2020-5-19 21:00 编辑
[付费|信息]TownyGUI —— 城镇菜单<¥44>[1.7-1.14]
https://www.mcbbs.net/thread-815638-1-1.html
(出处: Minecraft(我的世界)中文论坛)Log 链接:https://pan.baidu.com/s/1Z4oGnutjGLC_m0Eec8JZrA 提取码:4f0u
Catserver 刚买的 插件版本为4.9 报错如下
复制代码
已自行解决 脑t作者 不做1.12.2物品ID版本 物品ID有问题导致报错
[付费|信息]TownyGUI —— 城镇菜单<¥44>[1.7-1.14]
https://www.mcbbs.net/thread-815638-1-1.html
(出处: Minecraft(我的世界)中文论坛)Log 链接:https://pan.baidu.com/s/1Z4oGnutjGLC_m0Eec8JZrA 提取码:4f0u
Catserver 刚买的 插件版本为4.9 报错如下
- [20:15:04] [Server thread/INFO]: Tirol issued server command: /tgui main
- [20:15:04] [Server thread/ERROR]: null
- org.bukkit.command.CommandException: Unhandled exception executing command 'tgui' in plugin TownyGUI v4.9
- at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[PluginCommand.class:git-CatServer-1.12.2-3413a60]
- at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:144) ~[SimpleCommandMap.class:git-CatServer-1.12.2-3413a60]
- at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:709) ~[CraftServer.class:git-CatServer-1.12.2-3413a60]
- at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1594) [pa.class:?]
- at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1439) [pa.class:?]
- at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
- at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
- at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_251]
- at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_251]
- at net.minecraft.util.Util.func_181617_a(Util.java:50) [h.class:?]
- at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:844) [MinecraftServer.class:?]
- at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:472) [nz.class:?]
- at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:781) [MinecraftServer.class:?]
- at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:635) [MinecraftServer.class:?]
- at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
- Caused by: java.lang.NullPointerException
- at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:70) ~[ItemStack.class:git-CatServer-1.12.2-3413a60]
- at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:48) ~[ItemStack.class:git-CatServer-1.12.2-3413a60]
- at com.mystycfalls.townygui.itemstack.ItemStackMainMenuInv.town(ItemStackMainMenuInv.java:25) ~[?:?]
- at com.mystycfalls.townygui.commands.CommandTGUI.onCommand(CommandTGUI.java:65) ~[?:?]
- at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[PluginCommand.class:git-CatServer-1.12.2-3413a60]
- ... 15 more
已自行解决 脑t作者 不做1.12.2物品ID版本 物品ID有问题导致报错
上传完整的 log
もぺもぺ 发表于 2020-5-19 20:18
上传完整的 log
如果我说 没生成 该时间段的log 你信么 有debug
asdp000333 发表于 2020-5-19 20:21
如果我说 没生成 该时间段的log 你信么
[20:15:04] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'tgui' in plugin TownyGUI v4.9
通常是插件在加载时就自我禁用所导致的。
所以得看完整的 log ,只有这段没啥用。
本帖最后由 asdp000333 于 2020-5-19 20:23 编辑
插件加载没有报错复制代码
もぺもぺ 发表于 2020-5-19 20:21
[20:15:04] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception exe ...
插件加载没有报错
- [20:21:18] [Server thread/INFO]: [TownyChat] Enabling TownyChat v0.54
- [20:21:18] [Server thread/INFO]: [TownyChat] Default Channel set to general
- [20:21:19] [Server thread/INFO]: [TownyNameUpdater] Enabling TownyNameUpdater v2.5
- [20:21:19] [Server thread/INFO]: [TownyGUI] Enabling TownyGUI v4.9
- [20:21:19] [Server thread/INFO]: [TownyGUI] Hooked into Towny!.
- [20:21:19] [Server thread/INFO]: [TownyGUI] has been enabled without errors.
- [20:21:19] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
- [20:21:19] [Server thread/INFO]: Done (60.020s)! For help, type "help" or "?"
asdp000333 发表于 2020-5-19 20:22
插件加载没有报错
确实。看错了一块地方。并没有什么办法,等别人吧
もぺもぺ 发表于 2020-5-19 20:24
确实。看错了一块地方。并没有什么办法,等别人吧
生成log了大佬你看看?
链接:https://pan.baidu.com/s/1Z4oGnutjGLC_m0Eec8JZrA
提取码:4f0u
asdp000333 发表于 2020-5-19 20:26
生成log了大佬你看看?
链接:https://pan.baidu.com/s/1Z4oGnutjGLC_m0Eec8JZrA
提取码:4f0u ...
我觉得你放到一个原版的 spigot 上应该是可以运行的