Efnilite / WorldServer

Separate chat and tab list in the worlds in your server.
GNU General Public License v3.0
7 stars 2 forks source link

Everything isn't working except join and leave messages. #3

Closed JJBZ03 closed 5 months ago

JJBZ03 commented 1 year ago

Tab list is not working, per world chat is not working, and I don't know about economy because I don't use economy plugins. This is all on 1.9.0. I have the vilib 1.2.0 so I know it isn't that. I tried joining the discord first to report but it didn't let me join.

Efnilite commented 1 year ago

Are there any errors on startup? You can join the dc at https://www.efnilite.dev/discord

JJBZ03 commented 1 year ago

Yes there is an error

[00:15:53] [Server thread/INFO]: [WorldServer] Enabling WorldServer v1.9.0 [00:15:53] [Server thread/ERROR]: Error occurred while enabling WorldServer v1.9.0 (Is it up to date?) java.util.NoSuchElementException: Unknown path chat-blocked in config.ymlat dev.efnilite.worldserver.config.Config.check(Config.java:204) ~[?:?]at dev.efnilite.worldserver.config.Config.getStringList(Config.java:157) ~[?:?]at dev.efnilite.worldserver.config.Option.init(Option.java:76) ~[?:?] at dev.efnilite.worldserver.config.Config.reload(Config.java:35) ~[?:?]at dev.efnilite.worldserver.WorldServer.enable(WorldServer.java:99) ~[?:?]at dev.efnilite.vilib.ViPlugin.onEnable(ViPlugin.java:59) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:540) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7]at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:454) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7]at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:589) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b5 65e-c1279f7]at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:414) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7]at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:250) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:973) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7] at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7]at java.lang.Thread.run(Thread.java:833) ~[?:?]

JJBZ03 commented 1 year ago

You can join the dc at https://www.efnilite.dev/discord

Also the link works but when I try to join it says "unable to accept invite." Am I banned or something?

Efnilite commented 1 year ago

Yes there is an error

[00:15:53] [Server thread/INFO]: [WorldServer] Enabling WorldServer v1.9.0 [00:15:53] [Server thread/ERROR]: Error occurred while enabling WorldServer v1.9.0 (Is it up to date?) java.util.NoSuchElementException: Unknown path chat-blocked in config.ymlat dev.efnilite.worldserver.config.Config.check(Config.java:204) ~[?:?]at dev.efnilite.worldserver.config.Config.getStringList(Config.java:157) ~[?:?]at dev.efnilite.worldserver.config.Option.init(Option.java:76) ~[?:?] at dev.efnilite.worldserver.config.Config.reload(Config.java:35) ~[?:?]at dev.efnilite.worldserver.WorldServer.enable(WorldServer.java:99) ~[?:?]at dev.efnilite.vilib.ViPlugin.onEnable(ViPlugin.java:59) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:540) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7]at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:454) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7]at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:589) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b5 65e-c1279f7]at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:414) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7]at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:250) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:973) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7] at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7]at java.lang.Thread.run(Thread.java:833) ~[?:?]

Can you send your config.yml?

Efnilite commented 1 year ago

You can join the dc at https://www.efnilite.dev/discord

Also the link works but when I try to join it says "unable to accept invite." Am I banned or something?

It seems your Discord account was compromized some time ago, so I had to ban you to remove the spam messages. I'll unban you now.

JJBZ03 commented 1 year ago

Yes there is an error [00:15:53] [Server thread/INFO]: [WorldServer] Enabling WorldServer v1.9.0 [00:15:53] [Server thread/ERROR]: Error occurred while enabling WorldServer v1.9.0 (Is it up to date?) java.util.NoSuchElementException: Unknown path chat-blocked in config.ymlat dev.efnilite.worldserver.config.Config.check(Config.java:204) ~[?:?]at dev.efnilite.worldserver.config.Config.getStringList(Config.java:157) ~[?:?]at dev.efnilite.worldserver.config.Option.init(Option.java:76) ~[?:?] at dev.efnilite.worldserver.config.Config.reload(Config.java:35) ~[?:?]at dev.efnilite.worldserver.WorldServer.enable(WorldServer.java:99) ~[?:?]at dev.efnilite.vilib.ViPlugin.onEnable(ViPlugin.java:59) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:540) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7]at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:454) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7]at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:589) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b5 65e-c1279f7]at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:414) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7]at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:250) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:973) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7] at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3814-Spigot-64b565e-c1279f7]at java.lang.Thread.run(Thread.java:833) ~[?:?]

Can you send your config.yml?

My config.yml config.yml.txt

Efnilite commented 1 year ago

Try setting chat-blocked: [] on your config and restart the server.

JJBZ03 commented 1 year ago

Try setting chat-blocked: [] on your config and restart the server.

Now there is no error but it's still doing the same thing. Only leave and join messages are working. Also I forgot to mention it doesn't block vanilla leave and join messages if you are in a different group.

JJBZ03 commented 1 year ago

Try setting chat-blocked: [] on your config and restart the server.

Never mind nothing is working at all it isn't even doing that. My players lied to me. They said it says left and join when I switch worlds but it doesn't. So basically the plugin does absolutely nothing.

Efnilite commented 1 year ago

I'll test your setup for myself tomorrow to see what's wrong

JJBZ03 commented 1 year ago

I use Bungeecord could that be the problem?

Efnilite commented 1 year ago

It seems that you have several empty sections in your config. Try setting chat-join-formats: [] and chat-leave-formats: [], followed by a restart. If this doesn't work, I'll test it myself.

I use Bungeecord could that be the problem?

No

JJBZ03 commented 1 year ago

It seems that you have several empty sections in your config. Try setting chat-join-formats: [] and chat-leave-formats: [], followed by a restart. If this doesn't work, I'll test it myself.

I use Bungeecord could that be the problem?

No

I added join and leave formats and it still doesn't work.

JJBZ03 commented 1 year ago

My new config.yml

config.yml.txt