Change documentation a bit

This commit is contained in:
Oskar Nordling 2018-05-01 04:06:17 +02:00 committed by GitHub
parent e927ca5f3c
commit f98a038e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -11,7 +11,9 @@ Simple and highly configurable staffchat
You can download the plugin from the [Spigot resource page](https://www.spigotmc.org/resources/37804/) or via the [GitHub releases](https://github.com/oskar3123/StaffChat/releases)
## Event API (For developers)
For Bukkit/Spigot servers:
### Bukkit/Spigot
```java
public class StaffChatListener implements Listener
{
@ -34,7 +36,8 @@ getServer().getPluginManager().registerEvents(new StaffChatListener(), this);
```
in your plugin onEnable.
For BungeeCord servers:
### BungeeCord
```java
public class StaffChatListener implements Listener
{