Filled Per World Join and Leave Message

Discussion in 'Archived: Plugin Requests' started by KenoVincent, Jul 4, 2014.

  1. Offline

    KenoVincent

    Plugin category: INFORMTIONAL

    Suggested name: JoinAndLeave

    What I want: I would like to have this plugin per world join and leave message but just in the worlds that I assigned so that it will not show in the main SPAWNWORLD. And will accept color and other text formatting.

    Ideas for commands: NON

    Ideas for permissions: joinandleave.*

    When I'd like it by: As soon s it is available?
     
  2. Offline

    CGA1123

    KenoVincent

    By join and leave messages you mean things like,
    "CGA1123 has joined the game."
    "CGA1123 has left the game"

    And also do you mean when thay join the world only, or when they join the server?
     
  3. Offline

    KenoVincent

    CGA1123 yes only when they switch to different world..
     
  4. Offline

    CGA1123

    KenoVincent

    Ok!

    KenoVincent
    Added it to the plugin you requested before!
    Here

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
    KenoVincent likes this.
  5. Offline

    KenoVincent

    CGA1123 Thanks for having this as well.. it will be handy..

    CGA1123 I have one problem it wont display the players name even if I config it right.

    It will only show %Player

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  6. Offline

    CGA1123

    KenoVincent
    Fixed it.
    If you should leave the motd blank, it wont send anything.
    ie motd: ""
     
  7. Offline

    KenoVincent

    CGA1123 where is the fixed jar?
     
  8. Offline

    CGA1123

  9. Offline

    KenoVincent

    CGA1123 yep fixed.. Thanks once again for the fast update.
     
    CGA1123 likes this.
  10. Offline

    CGA1123

  11. Offline

    EddieFriday

    CGA1123 got this errors:

    Code:java
    1. [17:57:09] [Server thread/ERROR]: Could not pass event PlayerChangedWorldEvent to PerWorldMOTD v1.2
    2. org.bukkit.event.EventException
    3. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    4. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    5. at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    6. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    7. at net.minecraft.server.v1_7_R3.PlayerList.moveToWorld(PlayerList.java:551) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    8. at org.bukkit.craftbukkit.v1_7_R3.entity.CraftPlayer.teleport(CraftPlayer.java:495) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    9. at com.earth2me.essentials.Teleport.now(Teleport.java:126) [Essentials.jar:?]
    10. at com.earth2me.essentials.Teleport.teleport(Teleport.java:194) [Essentials.jar:?]
    11. at com.earth2me.essentials.Teleport.teleportPlayer(Teleport.java:158) [Essentials.jar:?]
    12. at com.earth2me.essentials.spawn.Commandspawn.respawn(Commandspawn.java:68) [EssentialsSpawn.jar:?]
    13. at com.earth2me.essentials.spawn.Commandspawn.run(Commandspawn.java:39) [EssentialsSpawn.jar:?]
    14. at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:149) [Essentials.jar:?]
    15. at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:505) [Essentials.jar:?]
    16. at com.earth2me.essentials.spawn.EssentialsSpawn.onCommand(EssentialsSpawn.java:72) [EssentialsSpawn.jar:?]
    17. at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    18. at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    19. at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:740) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    20. at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:956) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    21. at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:817) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    22. at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    23. at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    24. at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    25. at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    26. at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    27. at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    28. at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    29. at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    30. at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    31. Caused by: java.lang.NullPointerException
    32. at me.CGA1123.PerWorldMOTD.onWorldChange(PerWorldMOTD.java:106) ~[?:?]
    33. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
    34. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    35. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
    36. at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
    37. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3097jnks]
    38. ... 27 more
     
  12. Offline

    CGA1123

    EddieFriday
    Can you post the full log please.
    Use pastebin or something similar
     
  13. Offline

    EddieFriday

  14. Offline

    timtower Administrator Administrator Moderator

  15. Offline

    EddieFriday

    timtower timtower It is for website connection just for perks and more in the future.. I'm trying to use community bridge but I cant make a good configuration. Hard to configure should I say. And the support is Man soooo hard to connect to the developer.

    CGA1123
    Any updates if this is fixed?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  16. Offline

    CGA1123

    EddieFriday
    Can't get on a computer atm. So I can't check my code right now.
    Post your config, wrong config files throw null errors a lot.

    EDIT:
    You just created a new world. And changed to it when the error is created.
    Therefor there are no settings for the world in the config.
    Add the world and its settings in the config and the error will disappear
     
  17. Offline

    EddieFriday

    CGA1123 Yes nailed it. Thanks. But can you add in the config to except a certain world?
     
  18. Offline

    CGA1123

    EddieFriday Here, the plugin now only will send the message if that world is contained in the config.
     
  19. Offline

    EddieFriday

    Last edited by a moderator: Jun 9, 2016
    CGA1123 likes this.
  20. Offline

    CGA1123

    EddieFriday
    can you send your config, it should be working.
     
  21. Offline

    EddieFriday

    CGA1123

    Code:java
    1. motds:
    2. CreativeWorld:
    3. motd: "ON YEAH THIS IS THE MESSAFE"
    4. sound: "AMBIENCE_CAVE"
    5. joinmsg: "&2&l||&2&l>&a&l> %Player"
    6. leavemsg: "&c&l<&4&l<&e&l|| %Player"


    It works before the version 1.3. before you update the exceptions to certain worlds?
     
    CGA1123 likes this.
  22. Offline

    CGA1123

    EddieFriday
    Ok, I will fix it when I get home. I'm in the airport and my flight is delayed :(

    EddieFriday

    Should be working now! Here

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
    EddieFriday likes this.
  23. Offline

    EddieFriday

    CGA1123 Thanks for the latest update..
     
    CGA1123 likes this.

Share This Page