コード例 #1
0
 @SubscribeEvent
 public void onPlayerLogin(PlayerEvent.PlayerLoggedInEvent event) {
   MessageServerConfig.sendServerConfig(event.player);
 }
コード例 #2
0
 @SubscribeEvent
 public void onPlayerLogoff(PlayerEvent.PlayerLoggedOutEvent event) {
   MessageServerConfig.sendReset(event.player);
 }