SHARE
TWEET

Untitled

a guest May 21st, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package site.solenxia.listeners;
  2.  
  3. import org.bukkit.Bukkit;
  4. import org.bukkit.entity.Player;
  5. import org.bukkit.event.EventHandler;
  6. import org.bukkit.event.Listener;
  7. import org.bukkit.event.player.PlayerJoinEvent;
  8.  
  9. public class PlayerJoinListener implements Listener {
  10.  
  11.     @EventHandler
  12.     public void onJoin(PlayerJoinEvent event){
  13.         for(Player players : Bukkit.getOnlinePlayers()){
  14.             players.hidePlayer(players);
  15.         }
  16.     }
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top