Everytime i try to spawn a custom NPC in with the NPC tool I get a faital error and get kicked from the game.
Can someone please help because this is really annoying and I am not sure on how to fix this.
A log of the error would be great for us to see whats wrong.
The message ‘a fatal error’ is a server crash, meaning there will be a error report, in the log file and/or crash report
i tried to upload the log but the error is 60,000 characters long. Ill post the main parts
18.01 19:52:08 [Server] Server thread/WARN [Sponge]: /* Since the event can be modified during the event’s listener,
18.01 19:52:08 [Server] INFO there could be adverse side effects of the exception occuring
18.01 19:52:08 [Server] INFO such that duplications or other game breaking issues could exist.
18.01 19:52:08 [Server] INFO Due to the nature of the exception, this is not likely an exception
18.01 19:52:08 [Server] INFO that is covered by SpongeForge or Forge itself, and therefor should
18.01 19:52:08 [Server] INFO be reported to the mod/plugin author first prior to reporting to
18.01 19:52:08 [Server] INFO Sponge or Forge. /
18.01 19:52:08 [Server] Server thread/WARN [Sponge]: / Owning Mod/Plugin: universeguard /
18.01 19:52:08 [Server] Server thread/WARN [Sponge]: / Exception: /
18.01 19:52:08 [Server] Server thread/WARN [Sponge]: / java.lang.NoClassDefFoundError: org/spongepowered/api/data/meta/ItemEnchantment */
And
/
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / Could not pass the event InteractBlockEvent$Secondary$OffHand$Impl to an Event Listener! /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / Since the event can be modified during the event’s listener,
18.01 19:54:56 [Server] INFO there could be adverse side effects of the exception occuring
18.01 19:54:56 [Server] INFO such that duplications or other game breaking issues could exist.
18.01 19:54:56 [Server] INFO Due to the nature of the exception, this is not likely an exception
18.01 19:54:56 [Server] INFO that is covered by SpongeForge or Forge itself, and therefor should
18.01 19:54:56 [Server] INFO be reported to the mod/plugin author first prior to reporting to
18.01 19:54:56 [Server] INFO Sponge or Forge. /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / Owning Mod/Plugin: universeguard /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / Exception: /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / java.lang.NoClassDefFoundError: org/spongepowered/api/data/meta/ItemEnchantment /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / com.universeguard.utils.InventoryUtils.getSelector(InventoryUtils.java:42) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / com.universeguard.utils.InventoryUtils.isSelector(InventoryUtils.java:54) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / com.universeguard.event.EventRegionSelect.setPoint(EventRegionSelect.java:62) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / com.universeguard.event.EventRegionSelect.onRightClick(EventRegionSelect.java:54) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / org.spongepowered.common.event.listener.OffHandListener_EventRegionSelect_onRightClick19.handle(Unknown Source) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:381) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / org.spongepowered.mod.event.SpongeModEventManager.extendedPost(SpongeModEventManager.java:454) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / org.spongepowered.common.SpongeImplHooks.postForgeEventDataCompatForSponge(SpongeImplHooks.java:2710) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / net.minecraft.server.management.PlayerInteractionManager.func_187251_a(PlayerInteractionManager.java:829) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / net.minecraft.network.NetHandlerPlayServer.redirect$impl$checkState$zii000(NetHandlerPlayServer.java:2949) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / net.minecraft.network.NetHandlerPlayServer.func_184337_a(NetHandlerPlayServer.java:741) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:55) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:11) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / org.spongepowered.common.event.tracking.phase.packet.PacketPhaseUtil.onProcessPacket(PacketPhaseUtil.java:209) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / net.minecraft.network.PacketThreadUtil$1.redirect$impl$redirectToPhaseTracker$zla000(SourceFile:540) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / java.util.concurrent.FutureTask.run(FutureTask.java:266) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / net.minecraft.util.Util.func_181617_a(SourceFile:46) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:308) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / net.minecraft.server.MinecraftServer.redirect$onRun$zje000(MinecraftServer.java:4716) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: / java.lang.Thread.run(Thread.java:748) /
18.01 19:54:56 [Server] Server thread/WARN [Sponge]: //
Its this on repeat
UniverseGuard issue - talk to the author of that plugin.
I just up right removed it and it still doesnt work
So whats the new error now that UniverseGuard is gone? Also please use PasteBin or something similar. It keeps formatting making errors easier to read and doesnt crash my Sponge Chrome app when viewing on a phone.
CauseStackManager called from off main thread
...
20.01 16:30:39 [Server] INFO at com.pixelmonmod.pixelmon.entities.npcs.EntityNPC.<init>(EntityNPC.java:97) ~[EntityNPC.class:?]
Get the Pixelmon devs to not do whatever NPC code they have on the main thread, the game loop is not thread safe unfortunately…
Hi, I have the same problem, does anyone have a solution?
If its the exact same issue. The solution on the comment above that dualspiral made is a good one. The more people who get behind the idea the more likely it will change
From what I understand yes, if I change the inventory to the shopkeepers it’s fine, but if I add shopkeepers, also reporting them as npc in the config. Of the NPCs, when I open the game and try to place a shopkeeper, I crash
Ok after so much studying and trying I found a working method! I hope this short guide will be useful to someone: 1 go to the pixelmon config and put “true” to external files for npc; 2 restart the server, a folder external to the config files called pixelmon will be created; 3 go to the pixelmon folder and then to the npcs folder; 4 go to the shopkeepers folder; 5 copy “pokemartmain1_en_us”; 6 paste the file you just copied and rename it “(nometuoshop) 1_en_us”; 7 open the file and change the Data-type to “spawn” (third line); 8 now change the dialogs and tools to your liking, but BEWARE OF the “{}” and the “,” a simple error will give you an error; 9 now save, exit the shopkeepers folder and enter the “npcs” file; 10 look for the shopkeepers section, copy the structure of the first name, and paste it by entering the name of your shop, only until 1, nothing en_us. FINISH! I apologize for English but I am using a translator, but I hope that the guide is useful to you anyway, it took me a lifetime to find a working method! Good life
hello i am trying to sort this issue out i have with my server all the npc’s has disappeared i have gone through your method as above but i am stuck on number 10 due to the translation could you please expand on that method please