parent
282bebdcdb
commit
6f28250a10
13 changed files with 308 additions and 13 deletions
|
@ -28,6 +28,10 @@ public class ChatManager {
|
|||
}
|
||||
|
||||
public void init() {
|
||||
if (plugin.getServer().isEnforcingSecureProfiles()) {
|
||||
throw new RuntimeException("Please disable enforce-secure-profile in server.properties to use chatrooms");
|
||||
}
|
||||
|
||||
getById(defaultRoom);
|
||||
plugin.getServer().getPluginManager().registerEvents(new ChatListener(this), plugin);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue