ChatFormatter 1.0.1

Want a nice chat with an API? This is what you need!

  1. alzdoesmc
    Tested Minecraft Versions:
    • 1.9
    Want to make your chat look amazing? Are you a developer and want people to easily be able to hook your plugin into a server's chat?! This is the plugin you can use!

    [​IMG]

    This plugin is built with 1.9, but it should be compatible with Minecraft 1.8.

    In order to hook into our plugin, it's very simple:

    Code (Java):

    public class Example extends JavaPlugin implements Listener {

           public static final String INSERT = "Insert Me!";

           @EventHandler
           public void onChat(ChatEvent event){
                  event.format("insertme", INSERT);
           }

    }
     
    And in the config:

    Code (Text):

    format: '{insertme} {Prefix}&e{Name}&r{Suffix}&f {Message}'
     
    Notice the {insertme} tag in the config, this must be equal to the tag specified in the ChatEvent#format() method!

    It's a very powerful system, and it can be used for much more!

    Here are all of the current tags we offer (not including the tags that other plugins will eventually implement):
    • {Prefix} - Gets the prefix of the player. Currently supports PermissionsEx, zPermissions, GroupManager, and ZGPermissions. Is nothing if no permissions plugin is installed.
    • {Name} - Gets the name of the player.
    • {Suffix} - Gets the suffix of the player. Currently supports PermissionsEx, zPermissions, GroupManager, and ZGPermissions. Is nothing if no permissions plugin is installed.
    • {DisplayName} - Gets the displayname of the player, which may or may not contain the prefix and/or suffix of the player depending on which permissions plugin you use.
    • {Message} - The chat message that was sent.
    NOTICE: All tags are CaSe SeNsItIvE!!!1

    Thank you!
    iRetroOh likes this.

Recent Updates

  1. MaxBans fix

Recent Reviews

  1. NORBIKA55
    NORBIKA55
    5/5,
    Version: 1.0.1
    coooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooool
    1. alzdoesmc