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


    Yep, you need Permissions 3.

    Not yet, but that's on my todo list.

    AFAIK there's no message that shows up when someone logs in for the first time. MessageChanger won't add any messages to the server, it just modifies the existing ones.
  3. Offline


    I was confused with the Essentials one :p
  4. Offline


    2011-07-12 10:33:46 [SEVERE] Could not pass event PLAYER_LOGIN to MessageChanger
        at de.frozenbrain.MessageChanger.mcPlugin.getMessage(
        at de.frozenbrain.MessageChanger.mcPlayerListener.onPlayerLogin(
        at org.bukkit.plugin.RegisteredListener.callEvent(
        at org.bukkit.plugin.SimplePluginManager.callEvent(
        at net.minecraft.server.ServerConfigurationManager.a(
        at net.minecraft.server.NetLoginHandler.b(
        at net.minecraft.server.NetLoginHandler.a(
        at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
        at net.minecraft.server.MinecraftServer.h(
    #2011-06-12 10:29:15
    #Server info:
    Server name - [GER] FreeMiner
    Server port - 25565
    Minecraft version - 1.7.2
    Bukkit build - 953
    Bukkit version - git-Bukkit-0.0.0-904-g9277096-b953jnks (MC: 1.7.2)
    #Plugins info:
    AfkKick - 1.4
    BananaChunk - 4.6
    CommandBook - 1.5.2
    CraftBukkitUpToDate - 2.5.6
    creaturebox - 0.7.4
    DropPlugin - 2.1
    FalseBookBlock - 0.86.2alpha
    FalseBookCart - 0.86.2alpha
    FalseBookCore - 0.86.2alpha
    FalseBookExtra - 0.86.2alpha
    FalseBookIC - 0.86.2alpha
    FirstJoin - 1.3
    Flup_p1 - 1.7.2
    GravelClay - 1.3
    HeroicDeath -
    HeroSpawn - 0.2
    HomeX - 0.6
    iChat - 2.3.1
    LogBlock - 1.21
    LogBlockQuestioner - 0.02
    LWC - 3.3
    mcMMO - 1.0.34
    MessageChanger - 1.0
    MinecraftViewer - 1.0c
    MyWarp - 2.0
    NaturalGiants - 1.3
    NoSuffixedKill - 1.01
    NoWeather - 1.5
    Permissions - 3.1.5
    Pigasus - 0.1
    PluginInfo - 0.1.3
    RandomPort - 1.0
    SimpleReserve - 0.2.6
    SimpleTips - 0.5
    SpongeRestore - 1.1
    StarterKit - 0.4a
    Tables - 0.4.1
    TimeAnnounce - 1.1
    TimeFold - 0.4.2
    TimeRank - 0.1.0b
    TKeepGrowing - 0.1.5
    Tombstone - 1.3.0
    TreeAssist - 1.1
    Vanilla - 0.1
    WorldEdit - 4.6
    WorldGuard - 5.2.2
  5. Offline


    Nice catch, thanks :)

    Version 1.01 is up.
  6. Offline


    Mine Don't works! :(
  7. Offline


    I can't get it to work. This is the group I want to change the messages for:
            default: false
                prefix: ''
                suffix: ''
                build: true
                    KICK_KICK_REASON: '&4Mach keinen Scheiss.'
                    KICK_FULL: '&eDer Server ist voll, sorry!'
                - ''
                - 'lockette.user.create.*'
                - 'falsebook.blocks.gate'
                - ''
                - ''
                - ''
                - 'iConomyChestShop.command.iteminfo'
                - '-homesweethome.home'
                - '-homesweethome.home.set'
                - 'warpz0r.*'
                - 'falsebook.blocks.lift'
                - 'SpawnX.spawn'
                - ''
    The plugin is enabled. I am using the Bukkit build Dinnerbone tweeted for 1.7.3 and there aren't any errors in the console.
  8. Offline


    Could you edit the Outdated Server message.?
  9. Offline


    No, damnit!

    Are you kicking people with a plugin? Maybe it overwrites the custom kick message.. I might have to set the priority to highest :)
  10. Offline


    Umm yeah, I think so, I have ScrapBukkit installed. It would be nice if you could fix that. :)

    Here are all my plugins:
    CommandSigns, CommandHelper, ColoredSigns, AlwaysDay, LimitSpawns, ChairCraft, Tables, FalseBookChat, BlockCantKeepUpSpam, MineMail, ColorMe, FalseBookCore, AdvancedWarning, FakeMessage, FalseBookIC, Permissions, SpawnX, Citizens, SimpleGive, iChat, HeroicDeath, FalseBookBlock, MusicCraft, ScrapBukkit, BigBrother, ChatBukkit, FalseBookExtra, WorldGuard, Minequery, Warpz0r, iConomyChestShop, MoveCraft, Clear, MagicCarpet, MultiInv, HelpCommands, LoginMessage, WorldEdit, Lockette, EasyRules, MotherNature, TeleConfirmLite, iConomy, MultiVerse, MobArena, ThunderJoin, RemoteToolkitPlugin, CookieMonster, MessageChanger

    I know those are quite a lot, but I am pretty sure ScrapBukkit is the reason. I'll try disabling it tomorrow. :)
  11. Offline


    This plugin seems to turn off IChat, Permissions, and DefaultCommands, which are the backbone of my server :'(
    Please fix this, cuz i could REALLY use this plugin
    My plugins:
    AntiHack, BedrockControl, BigBrother, BoatMod, BookWorm,
    Chat, ClayGen, ColorMe, CraftBookCommon, CraftBookCircuits, CraftBookCommon,
    CraftBookMechanisms, CraftBookVehicles, CustomCrafting, DefaultCommands, EasyRules,
    EternalApple, FishPeople, FlatLands, FLTDetector, ForceChat, FoundDiamonds,
    HeroicDeath, HomeX, IBICF, iConomy, iConomyChestShop, IPGet, ItemDetector, Jail,
    Jobs, LastCommand, LockCraft, Lockette, MagicCarpet, MailBox, MineMail, MobDrops,
    MultiInv, MultiInv, MusicCraft, NoExplode, OpenInv, OpWizard, OreDetector, Par
    ties, Permissions, Persistence, PuddiChat, RealTeleporter, Regios, Runecraft,
    Runecraft, SimpleAdmin, SimpleNews, SimpleSign, Socials, Sortal, Spells, SQLite,
    TimeAnnounce, Wand, Warpz0r, WeatherGod, WelcomeMe, WordRank, WorldEdit, Citizens,
    DefaultPermissions, iChat, MobArena
  12. Offline


    I've never had a problem with this plugin and iChat or Permissions 3.1.6. And if you're going to say it "turns them off", please post a log so the dev can see what the problem might be.
  13. Offline


    I understand that my setup is probably not completely supported, but I figured I'd pass this on to you, Mr. Dev.

    2011-07-22 21:17:52 [INFO] USER [/IP:pORT] logged in with entity id 103 at ([World1] -44.78125, 94.0, 89.28125)
    2011-07-22 21:17:57 [SEVERE] Could not pass event PLAYER_JOIN to MessageChanger
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getUserObject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/User;
    	at de.frozenbrain.MessageChanger.mcPlugin.getMessage(
    	at de.frozenbrain.MessageChanger.mcPlayerListener.onPlayerJoin(
    	at org.bukkit.plugin.RegisteredListener.callEvent(
    	at org.bukkit.plugin.SimplePluginManager.callEvent(
    	at net.minecraft.server.ServerConfigurationManager.c(
    	at net.minecraft.server.NetLoginHandler.b(
    	at net.minecraft.server.NetLoginHandler.a(
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    	at net.minecraft.server.MinecraftServer.h(
    2011-07-22 21:17:57 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-22 21:18:40 [INFO] Connection reset
    2011-07-22 21:18:40 [INFO] USER lost connection: disconnect.quitting
    2011-07-22 21:18:40 [SEVERE] Could not pass event PLAYER_QUIT to MessageChanger
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getUserObject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/User;
    	at de.frozenbrain.MessageChanger.mcPlugin.getMessage(
    	at de.frozenbrain.MessageChanger.mcPlayerListener.onPlayerQuit(
    	at org.bukkit.plugin.RegisteredListener.callEvent(
    	at org.bukkit.plugin.SimplePluginManager.callEvent(
    	at net.minecraft.server.ServerConfigurationManager.disconnect(
    	at net.minecraft.server.NetServerHandler.a(
    	at net.minecraft.server.NetworkManager.b(
    	at net.minecraft.server.NetServerHandler.a(
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    	at net.minecraft.server.MinecraftServer.h(
    This is with CB #1025, PermissionsEx 1.13, Essentials Full 2.5
                    KICK_KICK_REASON: '&4The Admin or a Moderator has kicked you. You may rejoin at any time.'
                    KICK_FULL: '&fThe server has reached its maximum capacity. Try again later.'
                    KICK_WHITELIST: '&4You do not have permission to join the server at this time.'
                    KICK_KICK_LEAVEMSG: '&eThere's the door, %pName. Get lost.'
                    KICK_BANNED: '&4The Admin has banned you from this server. Way to go...'
                    SERVER_STOP: 'Error: '%msg' Server stopping.'
  14. Offline


    This plugin is currently only working with Permissions 3. I really need to make it more compatible in the near future, sorry for now.
  15. Offline


    Everything seems to require permissions... I have a hard time getting permissions to work :(
  16. Offline


    for some reason it wont create a folder in my plugins, i added the jar but still no :( Any ideas or documentation
  17. Offline



    i see u changed the way to configure MessageChanger. How to edit the default messages? Or do i have to add them for each group i have? :(
  18. Offline


    You have to add them to your groups. However the way messages are defined will change soon (again) to make the plugin more compatible.
    Don Redhorse and Taranis01 like this.
  19. Offline


    @FrozenBrain When can you update the plugin to work with CraftBukkit 1000?

    I was really hoping to play with this brilliant plugin but ran into multiple troubles with no directory being created :(

    Thank You
  20. Offline


    It's working fine with CB Build 1000. No file will be created, that's correct. Read the "Configuration" part in the first post.
  21. Offline


    @FrozenBrain The thing is im not using permissions, is there a way i could get this working with MCMYADMIN group manager?
  22. Offline


    Nope, not yet.
  23. Offline


    @FrozenBrain if its working with bukkit 1000 and is tested maybe you should update the information to reflect that? Just a suggestion as I haven't been using this due to assuming it was outdated.
  24. Offline


    after installing no file is created :/
    i also restart the server
  25. Offline

    Don Redhorse

    @FrozenBrain any eta on a superperms version? I like the plugin and I'm looking forward to use it again.
  26. Offline



    Is this inactive? No post from you for little over a month and it's 2 RB's behind!
  27. Offline


    Hi, could you make it possible to customize the "Outdated Server" message? :D
    Tallcraft and Nick22 like this.
  28. Offline

    Don Redhorse

  29. Offline

    Don Redhorse

    MY version still works on 1285
  30. Offline

    Don Redhorse

  31. Offline


    When I start the plugin, it says that a permission system could not be found, disabling plugin.
    How do I solve this. When I installed the plugin, it also never created a config file, so I created one in a "MessageChanger" folder in plugins.

Share This Page