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


    What other plugins do you have that may interfere with CustomMessages?
  3. Offline


    i haz version 1.3.1 (yes ill update soon)
    and my config is like this...
        Use-Permissions-For-Messages: true
            join: /name has joined RPNations!
    so yeah...
  4. Offline


    If you delete or rename config.yml it should regenerate after you reload. Or it could be something wrong with your folder permissions.
  5. Offline


    Nothing I use touches the join/leave messages.
  6. Offline


    dw it somehow worked now so its ok :)
  7. Offline


    Ok thats good.

    Thats kinda wierd why the commands arent registering. There are no errors or anything?
  8. Offline


    Nope, but like I said its fixed now that I had the plugin regen the config. As long as it works now after I did that, I'm good.
  9. Offline


    Ok. Thanks for letting me know.
  10. Offline


    does the work with mchat and mchat info?
  11. Offline


    I am not exactly sure. There was one person that reported to me saying that mchat overrides this plugin.
  12. Offline


    Hey! Seems like a great plugin, but i get this in console when starting up! :eek:
    What does it mean, what did i do wrong?

    18:03:19 [SEVERE] Could not load 'plugins\CustomMessages.jar' in folder 'plugins':
    mapping values are not allowed here
    in "<reader>", line 4, column 62:
    ... ges: false Global-Quit-Message: '&e/name &eLeft the game.'

    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(
    at org.yaml.snakeyaml.composer.Composer.composeNode(
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(
    at org.yaml.snakeyaml.composer.Composer.composeNode(
    at org.yaml.snakeyaml.composer.Composer.composeDocument(
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(
    at org.yaml.snakeyaml.Yaml.load(
    at org.bukkit.util.config.Configuration.load(
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    at org.bukkit.craftbukkit.CraftServer.<init>(
    at net.minecraft.server.ServerConfigurationManager.<init>(
    at net.minecraft.server.MinecraftServer.init(
  13. Offline


    Could you post your config file please? I think i know the problem but i just want to make sure.
  14. Offline


    Strange stuff that Upload thing.. Wellwell, here is the config (sorry about sending as text)

    Global-Join-Message: '&e/name &eJoined the game.'
    Auto-Update: true
    Use-Permissions-For-Messages: false Global-Quit-Message: '&e/name &eLeft the game.'
  15. Offline


    You just need to move Global-Quit-Message: '&e..." to a new line with the same spacing as the other lines. This should fix the problem.
  16. Offline


    I'll try that. Thanks!! :)
  17. Offline


    Updated CustomMessages to v1.4 . This update includes /checkjoin/quit [player] so you can check current join/quit messages of you or another player and /checkglobaljoin/quit to check the current global join / quit messages.
  18. Offline


    Just a quick conflict report. Conflicts with StealthLogin. StealthLogin makes people who have it able to log in/out quietly, with no message being shown. Even though i had StealthLogin installed, CM still showed login/out messages.
  19. Offline


    Ok. Thanks for the report. I think I know a way around this problem. Ill test it out and probably release an update.

    Updated to version 1.4.1 in order to (hopefully) fix this problem. Please let me know if it didnt work.

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


    Is there any way of displaying the prefix? :)

    [Admin] Macintosh0 joined the game.

    Great plugin anyways :D
  21. Offline


    Hmm. That may be possible. I think I will look into the Permissions API. But before that, I am thinking about adding Spout support into the plugin. :D
    Macintosh0 likes this.
  22. Offline


    I updated the plugin to version 1.4.2. This version contains an optimized configuration handler to hopefully do less disk reading and writing.
  23. Offline


    I seem to be having a strange issue with this plugin. People can apparently set their quit/join messages and the config.yml seems to be being updated with no problems, but it just doesn't work. People leave/join and the default message is still used. There are no errors in the console, it just refuses to do anything.

    Help me, psycowithespn, you're my only hope!
  24. Offline


    Have do a /checkjoin on them to see if it took effect. If it didnt, Im guessing you have Use-Permissions-For-Messages set to true. You could try setting it to false to see what that does. If neither of those work, tell me any plugins that may be conflicting with custommessages.

    And to everyone using my plugin right now, I am almost done with the spout support in CustomMessages. And if you guys have any plugin requests / suggestions, please let me know in this thread or a pm.
  25. Offline


    I'm having the same problem as briffy. When I write the checkjoin it shows whit effect but when join its default and changing Use-Permissions-For-Messages to false didint helped. Maby the problem is PermissionsBukkit v1.1 whit SimplePrefix or do I need to write something to premissions I am new at the bukkit :oops:
  26. Offline


    I'm not running Permissions (unless the built-in permissions in the latest CB would affect this?) and the only other plugins I have are: ChopTree, HeroicDeath, DelayedStop, MCDocs and Whitelist. I tried it with all those disabled and it was still the same. Using /checkjoin or /checkquit shows the default join/quit messages. I've also tried it with Use-Permissions-For-Messages set to false and no dice. :(
  27. Offline


    The messages don't work, i've disabled the permissions but when i connect to the game, it's the same message as the normal. But, when i type /checkjoin, the connection message appears. And, how I can show the username without prefix and just the color of the plugin ?
  28. Offline


    1.8.1 release?
  29. Offline


    I'm using this on 1.8.1 (1318) without any issues.
  30. Offline


    Sorry for the long inactivity guys. I've just been busy with college and jobs and stuff. I have some free time so I'll move CustomMessages to bukkitdev now.
  31. Offline


    i like it i like it alot

Share This Page