SHARE
TWEET

Untitled

a guest Aug 23rd, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package de.odin.classes;
  2.  
  3. import org.bukkit.entity.Player;
  4. import org.bukkit.event.EventHandler;
  5. import org.bukkit.event.Listener;
  6. import org.bukkit.event.player.PlayerJoinEvent;
  7.  
  8. import me.e0g.betasystem.Beta;
  9.  
  10. public class Join implements Listener {
  11.    
  12.     if(!(Beta.getValidUsers().getKey(e.getPlayer().getUniqueId().toString()).equalsIgnoreCase("yee"))) {
  13.         return;
  14.         }
  15.    
  16.     Player p;
  17.    
  18.     @EventHandler
  19.     public void onJoin(PlayerJoinEvent e) {
  20.         e.setJoinMessage("");
  21.         new LobbyInventory(e.getPlayer()).setInventory();
  22.        
  23.        
  24.     }
  25.  
  26. }}
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