AfkF24andGitHub 307f890b52 Fix bungee.yml
Quick fix for having the author displayed as null due to an invalid bungee.yml. This could prevent the plugin from being loaded through external Bungee plugin managers :)
2019-08-30 20:07:12 +02:00
2019-08-30 20:07:12 +02:00
2018-01-04 15:44:24 +01:00
2018-05-15 00:57:54 +02:00
2018-05-15 01:22:19 +02:00
2019-05-02 06:24:05 +02:00
2019-05-04 04:01:42 +02:00

Travis-CI All Release Latest Release Github commits (since latest release)

StaffChat

Simple and highly configurable staffchat

Download

You can download the plugin from the Spigot resource page or via the GitHub releases

Event API (For developers)

Bukkit/Spigot

Because the event API in 1.14+ is now strict between sync and async events you should check whether this was called synchronously or asynchronously by using event.isAsynchronous()

public class StaffChatListener implements Listener
{

    @EventHandler
    public void onStaffChat(StaffChatEvent event)
    {
        // String format = event.getFormat();
        // event.setFormat("&b{NAME} >> {MESSAGE}");
        // String message = event.getMessage();
        // Player player = event.getPlayer();
        // event.setCancelled(true);
    }

}

Register the listener with

getServer().getPluginManager().registerEvents(new StaffChatListener(), this);

in your plugin onEnable.

BungeeCord

public class StaffChatListener implements Listener
{

    @EventHandler
    public void onStaffChat(BungeeStaffChatEvent event)
    {
        // String format = event.getFormat();
        // event.setFormat("&b{NAME} >> {MESSAGE}");
        // String message = event.getMessage();
        // Player player = event.getPlayer();
        // event.setCancelled(true);
    }

}

Register the listener with

getProxy().getPluginManager().registerListener(this, new StaffChatListener());

in your plugin onEnable.

S
Description
Simple and highly configurable staffchat
Readme MIT
422 KiB
v1.4.1
Latest
2022-03-22 01:57:02 +01:00
Languages
Java 100%