Inactive [CHAT] CustomMessages v1.5.0 - Change Join and Leave Messages [1.1 RB6]

Discussion in 'Inactive/Unsupported Plugins' started by psycowithespn, Jul 22, 2011.

  1. Offline


    Offically moved over to bukkitdev. Here
    old post (open)
    CustomMessages - Change Join and Leave Messages:

    Version: v1.4.1
    CustomMessages gives you and your users the ability to change their join and quit messages to whatever you want with color. This plugin can also change the global join and quit messages of everyone that isn't using the commands. I made this plugin for my server, TPLMC. This plugin is not dependent on iChat for color or Permissions. There are nodes for Permissions V3 in the plugin. They are listed under the commands. If you don't use Permissions, this plugin will default to ops. Thanks to anyone that uses this plugin. Ill try my best to put any suggestions in.
    You can use /name anywhere in any message to show the players name automatically. If you want to give messages out without them being able to set them, then set Use-Permissions-For-Messages to false. The Use-Permissions configuration node is useless now. Version 1.2.1 makes Use-Permissions-For-Messages actually work. Auto-Updater is included. It automatically downloads the latest version of CustomMessages into /plugins/CustomMessages/updates/(unless you have Auto-Update to disabled). You have to move it to /plugins/ in order to get the newest version. (Thanks to DCP for this)

    Commands (bold are new ones):
    • /customjoin <message> - Allows you to change your join message.
    • /customquit <message> - Allows you to change your quit message.
    • /resetjoin - Resets your join message to the global default.
    • /resetquit - Resets your quit message to the global default.
    • /customglobaljoin <message> - Sets default join message for people without messages
    • /customglobalquit <message> - Sets default quit message for people without messages
    • /resetglobalquit - Resets global quit message to the default
    • /resetglobaljoin - Resets global join message to the default
    • /customjoino <player> <message> - Change others messages
    • /customquito <player> <message> - Change others messages
    • /resetjoino <player> - Reset others messages
    • /resetquito <player> - Reset others messages
    • /colors - Shows all of the colors capable with the color codes. Use them iChat style in /customjoin/quit (&colorcode)
    • /updatecm - Will check for and download any updates without having to reload or restart the server.
    • /checkjoin/quit [player] - Shows the current join/quit message of you or a player
    • /checkglobaljoin/quit - Shows the current global join/quit message.
    Permission Nodes:

    • <CustomMessages.quit> - Allows access to /customquit and /resetquit
    • <CustomMessages.join> - Allows access to /customjoin and /resetjoin
    • <CustomMessages.Globaljoin> - Allows access to /customglobaljoin and /resetglobaljoin
    • <CustomMessages.Globalquit> - Allows access to /custoglobalquit and /resetglobalquit
    • <CustomMessages.quito> - Allows access to /customquito and /resetquito
    • <CustomMessages.joino> - Allows access to /customjoino and /resetjoino
    • <CustomMessages.Update> - Allows access to /updatecm
    • /checkjoin/quit and /checkglobaljoin/quit are available to everyone.
    • /colors is available to everyone without a node.
    Download The Plugin

    • Conflicts with MChat

    Version 1.4.2:
    • Optimized the way the configuration is handled. (should be less disk reads and writes)
    Version 1.4.1:
    • Fixed Conflict with StealthLogin (hopefully).
    Version 1.4:
    • Added /checkjoin/quit and /checkglobaljoin/quit

    Changelog (open)

    Version 1.3.2:
    • Fixed Null Pointer Exception with ops without a message
    • Fixed /customglobaljoin usage
    • Added Option in configuration to disable auto-updating.
    Version 1.3.1:
    • Feature: Added /updatecm - does an auto update without restarting or reloading the server
    • BugFix: Null pointer exception fixed
    Version 1.3:
    • BugFix: Fixed /colors showing usage.
    • Feature: Added Auto-Updater :D
    Version 1.2.1:
    • BugFix: Use-Permissions-For-Messages actually works now
    Version 1.2:
    • Added configuration node (Use-Permissions-For-Messages): Set to false to have messages without nodes or op
    • Added /customjoino/quito <player> <message>, /resetjoino/quito <player>
    Version 1.1.1:
    • Bugfix: Error when not using permissions
    Version 1.1:
    • Shows Color when setting messages
    • Added /customglobaljoin/quit and /resetglobaljoin/quit
    • Renamed Default-Join-Message to Global-Join-Message (in config)
    • Config.yml can actually be edited directly now, just reload to apply changes
    Version 1.0:
    • Released the plugin
  2. Offline


    Amazing! I love this plugin! Great work :)
  3. Offline


  4. Offline


    Nice Plugin But its not usefull for some .. .. if u can add this - Example
    For ops only :
    /customjoinall <message> - Allow ops to change all the join messages.
    /customquitall <message> - Allow ops to change all the quit messages.
    Please :D
  5. Offline


    No problem. Ill get right on it.
  6. Offline


    Doesn't seem to work on my end. Perhaps interferes with CommandBook?

    The commands work and everything. Just doesn't seem to load.
  7. Offline


    :D Thank u verry much (WATING) :D

    And there is another i dea to make it cool ... (Just an i dea :p)
    for Example :
    command : /customjoin Random messege Enable/Disable or True/Flase
    and then u can set like more than 2 random messega for Example :
    Player login :
    THE ADMIN doffer HAS Left the game :( (LogOut)
    The cool guy doffer Has joined the game :) (Login)
    doffer left the server and Grifers can have FUN :) (logOut)
    Only i dea but it will be cool and am Sure they will like your plugin :)

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


    Are you getting any errors in console? and do you have anything set up in command book that might override my plugin? Ill look into it.
  9. Offline


    Nope, no errors. The plugin works, I can do the in-game commands, but when people leave and join, that doesn't work.. Oh wait.. I think it may be mChat.. I know the dev of mChat - I'll talk to him too.
  10. Offline


    Updated the plugin with /customglobaljoin/quit and /resetglobaljoin/quit.
    @A27hmad - Do you want this to be editable in game?
  11. Offline


    No thx but if u .. for others :D
    i am suing it right now :D Thank u
  12. Offline

    Will Haskell

    Hi, i'm trying to use this plugin and when I run /customjoin I get "An internal error occured while attempting to run this command", and this in console:

    "18:45:15 [GRAVE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'cust
    omjoin' in plugin CustomMessages v1.0
    at org.bukkit.command.PluginCommand.execute(
    at org.bukkit.command.SimpleCommandMap.dispatch(
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.

    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet3Chat.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(
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHand
    at com.psyco.tplmc.CustomMessages.CustomMessages.onCommand(CustomMessage
    at org.bukkit.command.PluginCommand.execute(
    ... 12 more"
  13. Offline


    Are you using craftbukkit b1000? And do you have permissions?

    Edit: Nevermind, I found a problem with my code when permissions isnt used, and I guess that is why you had that problem. Updated to 1.1.1 to fix the problem.
  14. Offline


    When i manually Edit the config.yml for other Users, nothing happen :S

    Well its a GREAT Plugin!
  15. Offline


    You have to reload or restart the server after manually editing the yml file. I am going to add a /custommessages reload or something like that soon.
  16. Offline


    I Did Reload the Server after editing it:

    First i edited my CustomMessage via the Command and then i copied my Phrase and Chnaged the Name and the Text! ; )

    Watch yourself:

    Use-Permissions: true
    Global-Join-Message: '&3Welcome &f[&9/name&f] &3to the Server!'
    join: '&cServerOwner &f[&4Creepster197&f] &cLogged In!'
    quit: '&cServerOwner &f[&4Creepster197&f] &cLogged Out!'
    join: '&cRootAdmin &f[&4r14v8&f] &cLogged In!'
    quit: '&cRootAdmin &f[&4r14v8&f] &cLogged Out!'^

    I edited r14v8 manually to the Config and reloaded / restarted the Server, but when he joins, the globalsjoinmessage Displays! : (

    Thanks for your fast awnser! :D

  17. Offline


    Whats up with the ^ at the end of the config? Did you put that there?
    Edit: Just tested putting that character outside of the quotes and it doesnt display the message. Delete the ^ from the last line and it will work.
  18. Offline


    Oh Im So Sorry! The " ^ " must be from my Push to talk! : S

    Ive edited it to this:

    Use-Permissions: true
    Global-Join-Message: '&3Welcome &f[&9/name&f] &3to the Server!'
    join: '&cServerOwner &f[&4Creepster197&f] &cLogged In!'
    quit: '&cServerOwner &f[&4Creepster197&f] &cLogged Out!'
    join: '&cRootAdmin &f[&4r14v8&f] &cLogged In!'
    quit: '&cRootAdmin &f[&4r14v8&f] &cLogged Out!'

    And it doesnt work again : [
    Thanks for your Awnsers, i realy like this Plugin! : )

  19. Offline


    are you using the proper yml spacing like permissions? I cant really tell because bukkit forums format it wierd.
  20. Offline


    Ive used the Config.yml : )

    The only thning i did is to copy my name and my Message and, changed it to another Name & Message and it didnt work :S

    The formation was the right and the only thing ive did is to copy the code for antoher Player hmmm :S When it will be like Permissions Style, in Permissions you can copy Players so
    i think it must work here too : )!

    I realy dont know what to do ; (

    Maybe a bit more Space or one time more ENTER : /

    Well thanks for your awnsers : )

  21. Offline


    Hmm. Thats wierd why it wont work. I've made a config.yml for you that I know should work. Its attached to this post. Just change the .txt to .yml. If this doesnt work, then I'm thinking you might have typed a name wrong. The names are case sensitive.

    Attached Files:

  22. Offline


    Hey Sorry ; )

    But how to change to .yml :S

    I THANK YOU so MUCH for your Helpr & Awnsers!

  23. Offline


    Just put it on your server and rename it to config.yml. I could just put it on my dropbox for you with the right extension. Bukkit forums dont allow .ymls in attached files for some reason.
  24. Offline

    Will Haskell

    Thanks, works fine now ;)
  25. Offline


    Tried it out but nothing works :S Well i had the Idea to create a TempRank where the choosen Players ONLY can
    edit there Message ; ) I like your Plugin so this is what i wanna do :D

    I realy thank you for all your Help! Great Plugin c:)

  26. Offline


    Oh i think i know why its not working. You have to give the person the node or op in order for the message to show up. I can put an option in config.yml in order to fix this if you want.
  27. Offline


    Yes! : ) That will be great! ; )

    I realy thank you!

  28. Offline


    Can we get:
    /customjoin [player] <message>
    /customquit [player] <message>

    I'd like for certain players to have custom join/part messages but don't want to give them the ability to change it to whatever they like. Such as you don't want a user posing as another but still want them to get in on the fun. If you can add this, I'd much appreciate it.
  29. Offline


    Such a GREAT Idea! ; )

    This will be perfect! I 100% agree with Adv! I realy will appreciate it too! ; )
  30. Offline


    Ok, i will get working on that right now.

Share This Page