Plugin Help Betterchat and Luckperms

Discussion in 'Plugin Help/Development/Requests' started by spatziempire, Dec 3, 2018.

  1. Offline

    spatziempire

    Hey guys,
    I got 2 problems with betterchat.
    The first one is that I can't color names in the tablist. I doesn't matter which group it is.Of course I enabled this feature in the config. Here's my config.json:
    Code:
    [
        {
            "group":"admin",
            "name":"&9%NAME%",
            "suffix":"&7: ",
            "tab-namecolor":"&9",
            "tab-prefix":"&9Admin&7: "
        },
        {
            "group":"supporter",
            "name":"&e%NAME%",
            "suffix":"&7: ",
            "tab-namecolor":"&e",
            "tab-prefix":"&eSupporter&7: "
        },
        {
            "group":"premium",
            "name":"&6%NAME&",
            "suffix":"&7: ",
            "tab-namecolor":"&6"
        },
        {
            "group":"default",
            "name":"&8%NAME%",
            "suffix":"&7: ",
            "tab-namecolor":"&8"
        }
    ]
    The second problem is, that the group premium always doesn't work. When a player with the group premium joins the server and writes something in the chat, this error appears in the consol:
    Error (open)

    [18:53:47 ERROR]: Could not pass event AsyncPlayerChatEvent to BetterChat v1.1
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot.jar:git-Spigot-a1f2566-6a398ac]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-a1f2566-6a398ac]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot.jar:git-Spigot-a1f2566-6a398ac]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:482) [spigot.jar:git-Spigot-a1f2566-6a398ac]
    at net.minecraft.server.v1_13_R2.PlayerConnection.chat(PlayerConnection.java:1570) [spigot.jar:git-Spigot-a1f2566-6a398ac]
    at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1508) [spigot.jar:git-Spigot-a1f2566-6a398ac]
    at net.minecraft.server.v1_13_R2.PacketPlayInChat$1.run(PacketPlayInChat.java:39) [spigot.jar:git-Spigot-a1f2566-6a398ac]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_192]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_192]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_192]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_192]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_192]
    Caused by: java.util.UnknownFormatConversionException: Conversion = 'N'
    at org.bukkit.event.player.AsyncPlayerChatEvent.setFormat(AsyncPlayerChatEvent.java:100) ~[spigot.jar:git-Spigot-a1f2566-6a398ac]
    at me.moertel.betterchat.events.EVNT_PlayerChat.onAsyncChat(EVNT_PlayerChat.java:44) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_192]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_192]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_192]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_192]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot.jar:git-Spigot-a1f2566-6a398ac]
    ... 11 more


    Can someone please help me?
     
    Last edited by a moderator: Dec 3, 2018

Share This Page