Change documentation a bit

This commit is contained in:
2018-05-01 04:06:17 +02:00
committed by GitHub
parent e927ca5f3c
commit f98a038e38
+5 -2
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) 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) ## Event API (For developers)
For Bukkit/Spigot servers:
### Bukkit/Spigot
```java ```java
public class StaffChatListener implements Listener public class StaffChatListener implements Listener
{ {
@@ -34,7 +36,8 @@ getServer().getPluginManager().registerEvents(new StaffChatListener(), this);
``` ```
in your plugin onEnable. in your plugin onEnable.
For BungeeCord servers: ### BungeeCord
```java ```java
public class StaffChatListener implements Listener public class StaffChatListener implements Listener
{ {