Spigot World Chat 1.0

Allows separate chat per world

  1. World Chat

    What it does:
    World Chat is a VERY light weight plugin (Literaly only 30 lines of code) that allows separate chat for every world. For example if there were 2 worlds ("Survival" and "PVP" for this example) and if a player in the world "PVP" said "gg" than only the players that are also on the world will see "gg". The players on survival will not see that chat message.

    Features:
    - Separate chat per world
    - Does not inter fear with chat format, colors, etc
    - Very light weight

    Installation:
    All that you have to do to install the plugin is put it in your plugins folder in your spigot or bukkit server. Then just reload and it should work fine, multiverse or multiword are not required for this plugin to work.

    Source Code:
    Version 1.0 - http://pastebin.com/KBDnt9cT

    Future Plans:
    - Add permission to disable this
    - Add disabled worlds in a future config
     
    • Like Like x 1
    • Useful Useful x 1
  2. can u have prefixs
     
  3. Yes you can. But if you mean add prefixes to the plugin then maybe.
     
  4. hello !

    if we have 10 worlds + 1 world mini games

    can I have the same chat for the 10 worlds and not the same for mini game ?

    thanks
     
    • Agree Agree x 1
  5. Can you make a command that if admins do /global that they get the chat over all the world and this:


    Thanks!
     
  6. Just like that guy said, could you add a shares.yml or something? That'd be helpful.

    Thanks! :)
     
    • Agree Agree x 1
  7. A Permission for staff to see all the world chats would be nice
     
    • Agree Agree x 3
  8. a command to see global chat is nice...
    if you had it...
     
  9. Code (Text):
    Could not pass event AsyncPlayerChatEvent to WorldChat v1.0
    org.bukkit.event.EventException
            at us.Myles.PWP.TransparentListeners.PerWorldPluginLoader$1.execute(PerWorldPluginLoader.java:122) ~[?:?]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84]
            at us.Myles.PWP.TransparentListeners.PWPRegisteredListener.callEvent(PWPRegisteredListener.java:30) [PerWorldPlugins.jar:?]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84]
            at net.minecraft.server.v1_10_R1.PlayerConnection.chat(PlayerConnection.java:1273) [spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84]
            at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1211) [spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84]
            at net.minecraft.server.v1_10_R1.PacketPlayInChat$1.run(PacketPlayInChat.java:39) [spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_112]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_112]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_112]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_112]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;
            at me.gamingod.Main.onChat(Main.java:23) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_112]
            at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_112]
            at us.Myles.PWP.TransparentListeners.PerWorldPluginLoader$1.execute(PerWorldPluginLoader.java:120) ~[?:?]
            ... 12 more
     
  10. Is it going to work with Minecraft 1.11.2?
     
  11. Does this work on 1.12.2?