Inactive [No support][MISC] WelcomeMessage v1.5.3 - Welcome your Player [935]

Discussion in 'Inactive/Unsupported Plugins' started by Cr3dos, May 16, 2011.

  1. Offline

    Cr3dos

    Name: WelcomeMessage
    V: 1.5.3
    Bukkit: 935

    Welcome your Players with a custom message

    Feature
    • Message from a txt-file or config.yml
    • Key words
    • on/off switch by command for Ops /welcome
    • Group support
    Keys
    • {player} -> the player name
    • {players} -> players on the server seperated with ,
    • {aChatColor} -> Color the text
    • {nl} -> new Line (not supported in the File use enter)
    • {maxPlayerCount} -> max Slots
    • {playerCount} -> how many players are online
    Permission
    /wmset WelcomeMessage.setMessage
    /welcome WelcomeMessage.toggleWelcome
    /wmreload WelcomeMessage.reload

    Future
    • ideas?
    Download
    Jar
    Source

    Changelog
    1.0
    • Release
    1.1
    • Permission for /welcome
    1.2
    • Group supprt :-D
    1.2.1
    • {nl} {players}
    1.3
    • /wmset <groupname> <the new Message>
    1.3.1
    • Bug-fixing
    1.4 (Thanks to cbarber on github)
    • Bug-fixing
    • new key words
    1.5.1
    • Bug fixing
    • reload command
    1.5.2 - 3
    • Bug fixing
     
    Nerdvana and Litt like this.
  2. Offline

    Cr3dos

    I made a update can you check if the error is still there?
     
  3. Offline

    Litt

    Hi) Nice plugin, because it's simple and useful. But i have one idea about it. Can u add a new command (somth like /welcome show) to look through welcome message again? And i wanna offer you to make some kind of timer, you know, to make opportunity for pereodic show this message.

    Sorry about my English grammar, I'm working on it at the moment ^^" :oops:
     
  4. Offline

    Cr3dos

    Thank you :)

    I don't understand what do you mean with "to look throug welcome messageagin". Does that mean send every player the welcomemessage again?

    Thank you for your offer, but I think that make no sense for this plugin.
    There are some plugins that provide that, sorry :(
     
  5. Offline

    Litt

    I mean if somebody wanna to see it again. It could contain some useful information. Web addres, server IP, number of players or some tips for player)For example, welcome message contains some coordinates, and i didn't remember it. I writning command to see it again)
    haha) No problem) ^^i decided that u have to know it)
     
  6. Offline

    Lil_Lyon

    Code:
    2011-06-05 20:54:53 [INFO] Lil_lyon [/127.0.0.1:56758] logged in with entity id 26 at (-21.15625, 73.0, -48.59375)
    2011-06-05 20:54:53 [SEVERE] Could not pass event PLAYER_JOIN to WelcomeMessage
    java.lang.NullPointerException
        at me.cr3dossoft.WelcomeMessage.Listener.WMPlayerListener.replacePlayer(WMPlayerListener.java:85)
        at me.cr3dossoft.WelcomeMessage.Listener.WMPlayerListener.sendAMessage(WMPlayerListener.java:63)
        at me.cr3dossoft.WelcomeMessage.Listener.WMPlayerListener.onPlayerJoin(WMPlayerListener.java:49)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:123)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Running 1.5.1 on B818.

    Again this only occurs when a player logs into a server while the character is in the neather. Also the Message does not display but seems to add an empty line into the chat box.
     
  7. Offline

    Cr3dos

    Okey, thank you. I will fix that.

    On my Server there is no error. I tried to fix it, but I'm not sure if it works.
    Can you show me your config file if the Error is still there
     
  8. Offline

    theguruofreason

    Does this read groups from the server permissions list only, or should it also read from global list? I have people grouped globally but not in my specific world for permissions, and this plugin treats everyone as if they're in the default group (even me, the admin).

    EDIT1: Okay, nevermind, just checked and this plugin ALWAYS displays the default "default group" MOTD for every user, even when I change the config file and even when I use commands in game.
     
  9. Offline

    Cr3dos

    What do you mean it always display the default group, there have to be a error in your config file, beacause on my server it works
     
  10. This plugin is great. But now i want to add colors to the motd. How do i do that? If i want to color the text Green for example

    After doing a bit more playing around i am 90% sure the coloring is broken. But dont quote me on that


    Btw i am using CB818

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

    Cr3dos

    can you show me your config file please
     
  12. Offline

    morizuki

    I don't know if this the exact error, but whenever I put an apostrophe ( ' ).. CB won't detect WelcomeMessage plugin..
     
  13. Offline

    PinkHell

    Can you please include the Plugin ColorMe for the player name and the playerlist
    e.g. like iChat do that with {displayplayer} and {displayplayers}
     
  14. Offline

    gysi

    My config looks like this
    Code:
    message:
        Default: Hallo {player}! Du bist ein Gast. Du kannst nicht sehr viel. Frag nach einer Promotion.
        Admins: Hallo {player} in Admin group
        SuperAdmin: Test
    welcome: 'true'
    
    I only set up gobalGroups and globalUsers in Permissions.
    I added mysel only to the SuperAdmin Group!
    But only the Default message is displayed
     
  15. Offline

    Cr3dos

    Have you tried to surround the text with ' like true?
     
  16. Offline

    Maskur

    Some issues.

    If i try to set a color before the first character, it does not work. Example: Admins: {AQUA}Hello {player}.
    If i use the {players} macro it does not work.

    I could hand you the error outputs 2 if needed.

    Using latest recommended build at the time of writing.
     
  17. Offline

    Cr3dos

    try Admins: '{AQUA}Hello {player}'
     
  18. Offline

    Deathmarine

    I have this issue on 860 contantly.
    Code:
    2011-06-16 15:02:04 [SEVERE] Could not pass event PLAYER_JOIN to WelcomeMessage
    java.lang.NullPointerException
        at java.util.regex.Matcher.getTextLength(Matcher.java:1151)
        at java.util.regex.Matcher.reset(Matcher.java:308)
        at java.util.regex.Matcher.<init>(Matcher.java:228)
        at java.util.regex.Pattern.matcher(Pattern.java:905)
        at me.cr3dossoft.WelcomeMessage.Listener.WMPlayerListener.sendAMessage(WMPlayerListener.java:69)
        at me.cr3dossoft.WelcomeMessage.Listener.WMPlayerListener.onPlayerJoin(WMPlayerListener.java:49)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:428)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:338)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  19. Offline

    Maskur

    That worked, still no luck witht he {players} macro :eek:
     
  20. Offline

    Cr3dos

    Is there an error in the log?
     
  21. Offline

    Maskur

    Sorry, I was off for the whole weekend. I gave it a try again it it suddenly worked :)

    Really nice pugin, thank you for the work you put into it.
     
  22. Offline

    Deathmarine

    So Alright I still get this message on 935 it doesn't seem to affect the display
    Code:
    2011-06-27 19:43:44 [SEVERE] Could not pass event PLAYER_JOIN to WelcomeMessage
    java.lang.NullPointerException
     at java.util.regex.Matcher.getTextLength(Unknown Source)
     at java.util.regex.Matcher.reset(Unknown Source)
     at java.util.regex.Matcher.<init>(Unknown Source)
     at java.util.regex.Pattern.matcher(Unknown Source)
     at me.cr3dossoft.WelcomeMessage.Listener.WMPlayerListener.sendAMessage(WMPlayerListener.java:69)
     at me.cr3dossoft.WelcomeMessage.Listener.WMPlayerListener.onPlayerJoin(WMPlayerListener.java:49)
     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
     at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126)
     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
     at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  23. Offline

    Cr3dos

    try the new update
     
  24. Offline

    easyrhino

    colors appear to be broken in build 1000 even when using ' around the message.
     
  25. Offline

    Cr3dos

    On my server it works fine, can you please show me your config file or is there an error in the log. thank you
     
  26. Offline

    GrygrFlzr

    Welcome Message won't run if I edit the configuration file (I use Notepad++ to edit)
    Running Minecraft 1.7.3 with Craftbukkit build #1000
    Config file:

    Error:
     
  27. Offline

    Cr3dos

  28. Offline

    GrygrFlzr

    I didn't know I was supposed to use '. Because the default configuration file didn't. Thanks for telling me...
     
  29. Offline

    recon88

    Please update this one :) I love it but the /wmreload is broken and this command was the reason why i used this plugin.

    Code:
    >wmreload
    04:13:33 [WARNUNG] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'wmreload' in plugin WelcomeMessage v1.5.3
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.Coloured
    ConsoleSender cannot be cast to org.bukkit.entity.Player
            at me.cr3dossoft.WelcomeMessage.Commands.WMReload.onCommand(WMReload.java:17)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
            ... 7 more

    using 1149 at the moment
     
  30. Offline

    chocolatepeople

    Welcome Message Doesn't appear to work on my server. The chat outline that it should be in is blank, however the chat creates the grey text background for it. The text isn't there though. How can I fix this?
     
  31. Offline

    farcry98

    nice:eek:
    Just what i searched for:)
     

Share This Page