DisableMessage

DisableMessage

DisableMessage

I think of building the plugin into a big one...
CraftBukkit-Libary: 1.5.2-R1.0

Features

  • Disables the join message
  • Disables the quit message
  • Disables the death message
  • Disables the kick message
  • You can enable or disable the messages in the config file
  • You can set exceptions with permissions
  • You can see the displaynames (Not the join message)
  • You can change the config with ingame commands
  • You can turn the messages on or off with ingame commands

Commands and Permissions

Command Permission What it does
/dm disablemessage.admin Shows you the commands
/dm reload disablemessage.admin Reloads the config
/dm show disablemessage.admin Shows you the current exception messages
/dm [j/q/d/k] [msg] disablemessage.admin Sets the exception message
/dm [jon;joff/qon;qoff/don;doff/kon;koff] disablemessage.admin Turns the message on or off
/dm s [name] disablemessage.admin Sets the servername
disablemessage.exempt.join Sets the exception to show the join message
disablemessage.exempt.quit Sets the exception to show the quit message
disablemessage.exempt.death Sets the exception to show the death message
disablemessage.exempt.kick Sets the exception to show the kick message

TODO

Nothing currently!

Credits

Thanks to:
Vivaax
Change config with InGame commands (MessageControl)
Xenius01
Plugin Spotlight on Curse.com

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Purple02PlaysMinecraft Purple02PlaysMinecraft Feb 02, 2014 at 03:33 UTC - 1 like

    Maybe u shld update this to 1.7.2

  • Avatar of MinecraftFever1 MinecraftFever1 Sep 07, 2013 at 03:23 UTC - 0 likes

    I can confirm LHammonds "An internal error occurred while attempting to perform this command" when using only exception permissions and Group Manager.

    EDIT: Just so you know, I set it up so that Admins' deaths would not pop up by putting all the exceptions into the default player permission, then subtracting the death exception permission for the admins. When all the messages were still suppressed, I received an error message when I tried to view the exceptions.

    Thanks for your time!

    Last edited Sep 07, 2013 by MinecraftFever1
  • Avatar of LHammonds LHammonds Sep 04, 2013 at 10:53 UTC - 0 likes

    Here is another curveball...when I tested this on my Windows 7 PC, it works just fine (with PEX now instead of bPermissions) but when I copied the same server to an Ubuntu Server, it doesn't work (just like before...not reading the config)

    The only difference I know of between a Windows system and Linux is that Linux differentiates between upper and lowercase letters in path and filenames and the direction of the slash/backslash in the path.

    The actual path to your config is this the following for each OS:

    Linux: plugins/DisableMessage/config.yml

    Windows: plugins\DisableMessage\config.yml

    Could it be that your plugin is hardcoded to use backslashes in the path or using a different case in the names such as "Config.yml"?

    LHammonds

    Last edited Sep 04, 2013 by LHammonds

    Website: HammondsLegacy.enjin.com

    Minecraft Server: HammondsLegacy.com

  • Avatar of LHammonds LHammonds Sep 03, 2013 at 07:39 UTC - 0 likes

    Here's a kicker for ya. I was using bPermissions (tried various versions up to 2.10.7) while having this issue. I just swapped over to using PermissionsEx 1.20.1 (for an unrelated issue) and it started reading the config file correctly (same config file as before) and now all messages are disabled except for the join message which is how I have it configured. Even turned on death messages and the /dm show command recognizes the settings.

    I had no idea it was somehow related to bPermissions (does not make sense to me)...but thought I'd let you know.

    LHammonds

  • Avatar of Elrontur Elrontur Sep 01, 2013 at 18:15 UTC - 0 likes

    @LHammonds: Go

    Thank you for this information! That sound really bad... :( If I have a little bit time I try to check that!

    BFAK:Elrontur,90723776,e8e599221847e1985cba49b2a93479357aa4139e3043cad49f4513e5f5db2721

  • Avatar of LHammonds LHammonds Aug 26, 2013 at 15:52 UTC - 0 likes

    I ran into a hiccup. I had a request to re-enable the join messages so I edited config.yml and set "enable-join: true" and restarted the server, but the join messages remain suppressed.

    I enabled all the messages but they all remain suppressed.

    I tried "/dm show" and it shows the following:

    [DisableMessage] Configuration:
    Join messages: OFF
    Quit messages: OFF
    Death messages: OFF
    Kick messages: OFF
    An internal error occurred while attempting to perform this command
    

    I then typed "/dm j Joined the game" to see what it does with the config file. The config file was wiped out with only the following line in it:

    exempt-join: Joined the game
    

    I restored the file to look like this:

    enable-join: true
    enable-quit: false
    enable-death: false
    enable-kick: false
    exempt-join: §7%p joins %s!
    exempt-quit: §8%p leaves %s!
    exempt-death: §c%p is died!
    exempt-kick: §4%p was kicked from %s!
    servername: HamCraft
    

    And then ran "/dm reload" which said:

    [DisableMessage] The config is reloaded sucessfully!
    

    (yes, successfully was spelled that way)

    The join message still does not show. So it seems the code that loads the config file is not working and only goes off the default settings.

    LHammonds

    Last edited Aug 26, 2013 by LHammonds
  • Avatar of Elrontur Elrontur Aug 22, 2013 at 18:55 UTC - 0 likes

    @LHammonds: Go

    Thank you for this very big info! :) Have fun with it. I try to bring out a 1.6.2 release but I haven't much time... I try to do my best.

  • Avatar of LHammonds LHammonds Aug 22, 2013 at 04:06 UTC - 0 likes

    Thanks for creating and sharing this plugin. Version X works on CraftBukkit 1.6.2 (BETA Build 2838) running on Java 1.7.0_25, 64-bit with Windows 7 and Ubuntu Server 12.04.2, 64-bit.

    Install went flawless, config file auto-created, default settings were perfect. Only changed the generic server name to reflect my actual server name. Startup and shutdown of the server produced no errors and all join and quit messages were suppressed as well as the death messages just as described.

    I will be installing this on my production server soon,

    LHammonds

  • Avatar of Elrontur Elrontur Jul 31, 2013 at 08:36 UTC - 0 likes

    @joehot200: Go

    Thank you verryyyy muuuuch! I'm glad to hear this. :)

    Last edited Jul 31, 2013 by Elrontur
  • Avatar of joehot200 joehot200 Jul 21, 2013 at 18:08 UTC - 1 like

    Now i am growing again and have 60+ people online at all times, members and staff alike complained about the chat spam :)

    This solves ALL the spam on my server.
    Thanks :)

    Last edited Jul 21, 2013 by joehot200

    Pretty much left bukkit :( sorry guys.
    If anyone wants to take over any of my plugins, tell me.

Facts

Date created
Sep 15, 2012
Category
Last update
Jun 17, 2013
Development stage
Release
License
All Rights Reserved
Curse link
DisableMessage
Downloads
5,518
Recent files

Authors