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

    FrozenBrain

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


    [​IMG]

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

    Features:
    • Change the server's default messages
    • Use different messages for different worlds, groups and users
    Download MessageChanger v1.01
    Source Code
    [​IMG]

    Configuration:
    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):
    Code:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
                messageChanger:
                    KICK_KICK_REASON: '&4Pwned by admin'
                    KICK_FULL: '&eThe server is full, sorry.'
            inheritance:
    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:
    Code:
    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 :)

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

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


    Todo:
    • 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 :) )
    Changelog:
    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

    Don Redhorse

    are you using MY version or the one from the OP?

    if you are using MY version please go to http://forums.bukkit.org/threads/ad...ange-the-servers-default-messages-1240.39977/ or to the dev.bukkit site and post there..

    if you use the version from the OP I think it is broken with the latest releases..

    btw.. IIRC there was a plugin for that.. for an older version of "minecraft"..

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

    IronPixel

    Sooo you won't get that in this version? It would be nice if you did, I like to have the smallest amount of plugins possible.
    Oh and I have another thing I would hope you could implement: It would be really cool if the joining message could use the display name (nickname), not sure if that is possible, but I use a alias plugin called dispnamechanger and it would be really useful for me :)
     
  4. Offline

    Don Redhorse

  5. Offline

    TheCrazyOne

    Is it possible to use [Mod] %msg, this worked before 1.8. '
    It was working with PEX, but now only the "server stop" message shows. Not the player groups. (CB1318)

    Error

    Code:
    20:15:38 [SEVERE] Could not pass event PLAYER_JOIN to MessageChangerjava.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getUserObject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/User;
            at de.frozenbrain.MessageChanger.mcPlugin.getMessage(mcPlugin.java:93)
            at de.frozenbrain.MessageChanger.mcPlayerListener.onPlayerJoin(mcPlayerListener.java:34)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:260)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:80)
            at net.minecraft.server.Packet1Login.a(SourceFile:59)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:46)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  6. Offline

    Don Redhorse

    Message Changer is dead as it seems.. take a look at http://forums.bukkit.org/threads/ad...ange-the-servers-default-messages-1317.39977/ for a light version of it..

    don't know if you did see my post below yours... outdated server message... looks like a nogo... Displayname....

    ===>>>> http://forums.bukkit.org/threads/ad...ange-the-servers-default-messages-1317.39977/

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

    IronPixel

    Aw that's sad, oh well not the most important thing.
    And about using this other message changer, I am sorry, but I won't be using that. The main reason for having the custom messages is to easily see higher ranks joining. For this I need support for groups.
    I will keep this version of message changer until I find a message changer that supports groups or when I have to use another permission system than Permissions 3. I will keep an eye on your plugin at dev, but I am afraid I can't send any tickets when I am not using the plugin.
     
  8. Offline

    Don Redhorse

    no probs...
     
  9. Offline

    MCCrafterRene

    WHERE ARE THE CONFIG.yml ????!!!!
     
  10. Offline

    Don Redhorse

    that will get extracted if you don't have it.. at least if you have MY version... this one is dead..

    and otherwise the config is in the top message...
     
  11. Offline

    ibreaktoucher

    i dont get a messagechanger folder in my plugins directory :( anyone who can help me?
     
  12. Offline

    Don Redhorse

    try MY version
     
  13. Offline

    Don Redhorse

  14. Offline

    Don Redhorse

    SuperPerms support added.... head over to dev.bukkit
     
  15. Offline

    IronPixel

    Thank you :D
     
  16. Offline

    deanipops

    Great Plugin FrozenBrain :), But Could you please add an option to change the Saving Msgs like

    Saving world data. Expect lag for a short while.
    CONSOLE: Forcing save..
    Save Complete
    If you could add that it would be awesome :)

    Thanks Dean.
     
  17. Offline

    Don Redhorse

    no he can't because this plugin is inactive since ages, my plugin which is the successor is still active atm but I can't either or better said I probably can't. I don't think that there is a normal way to intercept that message.
     
  18. Offline

    MinopolisMc

    Is this ready for minecraft 1.2.5/1.2.4?
     
  19. Offline

    Don Redhorse

  20. Offline

    trumankitos13

    Does this plugin have AutoMessages that broadcast randomly in intervals? IF not that is a suggestion!
     
  21. Offline

    Don Redhorse

  22. Offline

    TheCoolGuy123_5

    To me, it looks like it configs the chat's leave/join/kick messages, I use CustomJoinMessages plugin that does that, I am scared that these plugins will interfere w/ each other. Maybe if I leave the join/kick/leave messages to "" (blank) it works. Can you also add a option so when your kicked cause the server is full, be able to change it?
     

Share This Page