#Server error

1 messages · Page 1 of 1 (latest)

plain python
#

I've checked multiple other things and my server is lagging massively, i've checked plugins and all but nothing besides this error in console, i check mc-logs but i'm not sure if i'm putting in the wrong section or what, any idea of what the error is specifically?

#
java.lang.NullPointerException: Cannot invoke "net.essentialsx.api.v2.ChatType.key()" because "this.chatType" is null
    at EssentialsX-2.21.0.jar/com.earth2me.essentials.Settings$ChatFormatConfigSupplier.get(Settings.java:630) ~[EssentialsX-2.21.0.jar:?]
    at EssentialsX-2.21.0.jar/com.earth2me.essentials.Settings$ChatFormatConfigSupplier.get(Settings.java:619) ~[EssentialsX-2.21.0.jar:?]
    at EssentialsX-2.21.0.jar/com.earth2me.essentials.Settings$TypedChatFormat.getFormat(Settings.java:722) ~[EssentialsX-2.21.0.jar:?]
    at EssentialsX-2.21.0.jar/com.earth2me.essentials.Settings$ChatFormats.getFormat(Settings.java:695) ~[EssentialsX-2.21.0.jar:?]
    at EssentialsX-2.21.0.jar/com.earth2me.essentials.Settings.getChatFormat(Settings.java:612) ~[EssentialsX-2.21.0.jar:?]
    at EssentialsX-2.21.0.jar/com.earth2me.essentials.Settings.getChatFormat(Settings.java:607) ~[EssentialsX-2.21.0.jar:?]
    at EssentialsXChat-2.21.0-dev42-8a57856.jar/com.earth2me.essentials.chat.processing.AbstractChatHandler.handleChatFormat(AbstractChatHandler.java:94) ~[EssentialsXChat-2.21.0-dev42-8a57856.jar:?]
    at EssentialsXChat-2.21.0-dev42-8a57856.jar/com.earth2me.essentials.chat.processing.ChatHandler$ChatLowest.onPlayerChat(ChatHandler.java:26) ~[EssentialsXChat-2.21.0-dev42-8a57856.jar:?]
    at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:44) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
    at```
#
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.adventure.ChatProcessor.post(ChatProcessor.java:378) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
    at io.papermc.paper.adventure.ChatProcessor.process(ChatProcessor.java:85) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.chat(ServerGamePacketListenerImpl.java:2414) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.broadcastChatMessage(ServerGamePacketListenerImpl.java:2530) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChat$9(ServerGamePacketListenerImpl.java:2178) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
    at net.minecraft.util.FutureChain.lambda$append$1(FutureChain.java:25) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
    at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
    at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
    at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]```
#

full error ^^ the only thing that pops up in console, I'm not fully sure if this is causing the lag but if not, just incase does anyone know what it may be?

plain python
#

anyone?

autumn sleet
#

make sure you have the plugin updated to the latest version

deep pawn
#

This is likely due to:

Incompatibility between your version of EssentialsXChat and your Minecraft/Paper version (1.21.1)

Missing or unrecognized chat type in your EssentialsX config.yml under the chat: or chat-format: section.

#

EssentialsX 2.21.0-dev+42 is not stable, and newer builds may fix this issue with better support for Paper 1.21.1's chat changes.

  1. Temporarily Disable EssentialsXChat
    If chat formatting isn't critical right now:

Just remove EssentialsXChat.jar from your plugins/ folder.

Restart the server.

This will avoid the crash, and you can later reconfigure or switch to a working version.

  1. Use Legacy Chat Support (Paper)
    If you're on Paper, and the chat system is causing issues, you can enable legacy chat behavior:

In paper-global.yml:

yaml
Copy
Edit
chat:
use-vanilla-logger: true
In paper.yml:

yaml
Copy
Edit
settings:
use-legacy-chat-events: true
Then restart your server.

  1. Check Essentials Chat Config
    If you're customizing chat formats, make sure your config.yml has the correct structure under chat::

yaml
Copy
Edit
chat:
radius: 0
format: '<{DISPLAYNAME}> {MESSAGE}'
Avoid using chat-type: or other newer fields unless you're sure they’re supported by your current build.

🔍 Bonus: Alternative Chat Plugins
If you’re consistently having issues, consider switching to a chat plugin like:

VentureChat

ChatControl

DeluxeChat (premium)

#

Because these are all what i had to do to fix it when I had that error!

little lily
#

or just use skript

plain python
#

Also uh, jst a question when using mclogs for this kinda stuff where would I copy from and end? Cause I'm sure copying the whole thing wouldn't work