Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

EssentialsChat hook broken #735

Closed
Terrobility opened this issue Dec 17, 2014 · 1 comment
Closed

EssentialsChat hook broken #735

Terrobility opened this issue Dec 17, 2014 · 1 comment

Comments

@Terrobility
Copy link

It gives an error and doesn't parse tags, regardless of the config option. I am using the latest version of Spigot and SpigotEssentials.

[21:05:36] [Async Chat Thread - #1/ERROR]: Could not pass event EventMassiveCorePlayerToRecipientChat to Factions v2.7.2
org.bukkit.event.EventException
at com.massivecraft.factions.engine.EngineChat$ParseRelcolorEventExecutor.execute(EngineChat.java:128) ~[?:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-b43a31a-20c65ca]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-b43a31a-20c65ca]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot.jar:git-Spigot-b43a31a-20c65ca]
at com.massivecraft.massivecore.event.EventMassiveCore.run(EventMassiveCore.java:30) [MassiveCore.jar:?]
at com.massivecraft.massivecore.MassiveCoreEngineMain.recipientChat(MassiveCoreEngineMain.java:102) [MassiveCore.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_05]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) [spigot.jar:git-Spigot-b43a31a-20c65ca]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-b43a31a-20c65ca]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-b43a31a-20c65ca]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot.jar:git-Spigot-b43a31a-20c65ca]
at net.minecraft.server.v1_8_R1.PlayerConnection.chat(PlayerConnection.java:1036) [spigot.jar:git-Spigot-b43a31a-20c65ca]
at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:975) [spigot.jar:git-Spigot-b43a31a-20c65ca]
at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [spigot.jar:git-Spigot-b43a31a-20c65ca]
at net.minecraft.server.v1_8_R1.PacketPlayInChat$1.run(PacketPlayInChat.java:47) [spigot.jar:git-Spigot-b43a31a-20c65ca]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_05]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_05]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_05]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_05]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_05]
Caused by: java.lang.NullPointerException
at com.massivecraft.factions.chat.tag.ChatTagRoleprefix.getReplacement(ChatTagRoleprefix.java:31) ~[?:?]
at com.massivecraft.factions.chat.ChatFormatter.compute(ChatFormatter.java:164) ~[?:?]
at com.massivecraft.factions.chat.ChatFormatter.format(ChatFormatter.java:140) ~[?:?]
at com.massivecraft.factions.engine.EngineChat.parseRelcolor(EngineChat.java:136) ~[?:?]
at com.massivecraft.factions.engine.EngineChat$ParseRelcolorEventExecutor.execute(EngineChat.java:124) ~[?:?]
... 22 more

@oloflarsson
Copy link
Member

Go into your /mstore/factions_mconf/instance.json and take a look at the configuration option "defaultPlayerFactionId". You have specified a faction there that doesn't exist. Try setting it to "none" or remove the config option so it's set to the default value (will reappear in the file after a few seconds).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants