SHARE
TWEET

Untitled

a guest Aug 23rd, 2019 65 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.     Player p;
  13.    
  14.     @EventHandler
  15.     public void onJoin(PlayerJoinEvent e) {
  16.     if(!(Beta.getValidUsers().getKey(e.getPlayer().getUniqueId().toString()).equalsIgnoreCase("yee"))) {
  17.         return;
  18.             }
  19.         e.setJoinMessage("");
  20.         new LobbyInventory(e.getPlayer()).setInventory();
  21.        
  22.        
  23.     }
  24.  
  25. }
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