Load all chat users on startup

Load all parties on startup
This commit is contained in:
2021-08-04 15:07:16 +02:00
parent 9957158758
commit 571f02b6df
4 changed files with 63 additions and 11 deletions
@@ -29,6 +29,8 @@ public class PlayerListener implements Listener {
ChatUser chatUser = new ChatUser(uuid, -1, false, false);
ChatUserManager.addUser(chatUser);
Queries.saveUser(chatUser);
//TODO load player on other servers with plugin message?
}
@EventHandler