Inactive [ADMN] MessageChanger v1.01 - Change the server's default messages [953]

Discussion in 'Inactive/Unsupported Plugins' started by FrozenBrain, Apr 17, 2011.

  1. Offline


    MessageChanger - Change the server's default messages
    Version: v1.01
    CraftBukkit Build: 953


    This simple plugin allows you to change the server's default messages to whatever you want.

    • Change the server's default messages
    • Use different messages for different worlds, groups and users
    Download MessageChanger v1.01
    Source Code

    Show Spoiler

    MessageChanger 1.00+ works side-by-side with Permissions 3. That means, that you'll have to add some keys to your permissions files.

    Example (groups.yml):
            default: true
                prefix: ''
                suffix: ''
                build: false
                    KICK_KICK_REASON: '&4Pwned by admin'
                    KICK_FULL: '&eThe server is full, sorry.'
    Easy as that. Just add a new node called "messageChanger" as a child of the "info" node of either a group or a player. Then add the following keys as childs of the new node:
    Key			+ You get the message if ...
    KICK_FULL		+ The server is full.
    KICK_WHITELIST		+ you're not white-listed.
    KICK_KICK_LEAVEMSG	+ you get kicked (everybody can see this in the chat).
    KICK_KICK_REASON	+ you get kicked.
    PLAYER_JOIN		+ you join the server (everybody can see this in the chat).
    PLAYER_QUIT		+ you leave the server (everybody can see this in the chat).
    KICK_BANNED		+ you're banned from the server.
    SERVER_STOP		+ the server is shutting down (use '' or '%msg' for the usual error message).
    If you need help, feel free to ask :)

    %pName - the player's name
    %msg - the original message

    If you want to use colors, use the color codes &0 - &f (click me).

    • Add support for multiple colors - Done!
    • Different messages per group - Done!
    • Stop sending an error to the clients when stopping the server (send a custom message instead) - Done and fixed!
    • Add more wildcards (request some :) )
    Version 1.01
    • Fixed an NPE
    Version 1.00
    • MessageChanger is now working side-by-side with Permissions 3
      • You have to reconfigure the plugin, read the "Configuration" part above!
    Show Spoiler

    Version 0.24
    • Updated for Minecraft 1.6.6 (CraftBukkit b818)
    • SERVER_STOP is now working correctly, yey!
    Version 0.23
    • Added support for other chat related plugins (needs testing)
    • Updated for CB 803
    Version 0.22
    • Fixed PLAYER_QUIT
    • Updated for CB 733
    Version 0.21
    • Added SERVER_STOP
    Version 0.20
    • Multiworld support
    • Permissions support
    • Added the '%msg' wildcard (see above)
    Version 0.12
    • Added support for colored messages
    Version 0.11
    • Remove messages completely (simply by setting them to '')
    Version 0.1
    • First public release

    Have fun :)
  2. Offline


    Yes, it accepts the accented characters.

    But, remember to save the config's file with utf-8 codify.
  3. Offline


    The message "PLAYER_QUIT" with #714 doesn't work. I see the default message.
  4. Offline


    I'm going to fix this as soon as we get a new recommended build.
  5. Offline


    Ok, thanks.
  6. Offline


    Can't hide the join/left messages with this plugin, here's the config example i'm using:

  7. Offline


    Seriously, learn to read.

    I'll maybe release a testing build today.
  8. Offline

    Jackool Jackool

    Hey, this is my first post on this forum; and I think that you should release a testing build today, that'd be great.
    But obviously totally up to you.
  9. Offline


    Well, it seems that there's a bug in craftbukkit. Can't do much about it.
  10. Offline


    waiting for the test build.

    Have an 160+ server, and all those join/left messages are flooding completely my chat
  11. Offline


    any update on this ?
  12. Offline


  13. Offline


    My intention is just DISABLE the joined/left messages on my server. This function is as well affected by the CB bug ?
  14. Offline


    Yes. It's exactly the same bug.
  15. Offline


    oh, so let's w8 :D

    Fixed PlayerQuitEvent.setMessage()


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


    Told you it was a bug in CraftBukkit ^^

    Update's out, see first post.
  17. Offline


    works like a charm :D

  18. Offline


    Hum... i speak french ... so...

    I want to set FRENCH words and i put:
    PLAYER_QUIT: '%name s'est déconnecté'

    And the file is saved on the UTF-8 for the character ''é''
    BUT for the " ' " it cause a bug on the file...
    SO i put:
    PLAYER_QUIT: "%name s'est déconnecté"
    but with these ->"<- it cause another bug...

    Please, can you help me?

    And ... Sorry for my BAD ENGLISH !!!
  19. Offline


  20. Offline


    PLAYER_QUIT: "%name s'est déconnecté"
    Is working fine for me. Make sure the file uses the UTF-8 charset.

    You can also use the following:
    PLAYER_QUIT: '%name s''est déconnecté'
  21. Offline


    Hum, thanks, but when i log, the text are white and not yellow ...
  22. Offline


    Write '&e' (without the '') in front of your message.
  23. Offline


    You should add message changer to Unknown Commands. If you leave it blank nothing shows.
  24. Offline


    Is it possible to have KICK_KICK_LEAVEMSG include the variable KICK_KICK_REASON? I've seen it done in a server I used to play in but I have no idea what plugin was used.

    Is there a way I could accomplish that? Here's an example:

    Obviously <reason> would be a different variable. Is there a list of variables I am able to use? Is there also a simpler way of broadcasting to the server who got kicked and why? I would like to have people publicly humiliated for their wrong-doing. The message that used to be displayed in the other server was like this:

    How do I do this?
  25. Offline


    Works for 740
  26. First, thanks for this plugin. But, is it possible to leave the choice in the config file if "/reload" has to kick the players or not ? I think that's not possible to know if the server is going to stop or reload, no ?
    emoknight likes this.
  27. Offline


    Sure, you can set the message to '' to stop the plugin from kicking the players everytime the server reloads or stops. I can't check if the server stops or reloads so I have to use one message for both.
  28. Offline


    any way u can fix the message when i reload the server. it the shows the message of the stoping server message
  29. Offline


    Great! I'd pay something to see the face when someone's banned and see this haha ^^ Thanks
  30. Offline


    REQ: Possibility to change server message:

    'A player with this name is already online.'
  31. Offline


    @FrozenBrain What about SERVER_RESTART? :)

    And when i restart/stop the server i get the KICK_KICK_REASON msg. Why?

Share This Page