a guest Jan 18th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public void alentar(PlayerJoinEvent e){
  2. Player p = e.getPlayer();
  3. FileConfiguration config = plugin.getConfig();
  4. String path = config.getBoolean("config.mensaje-bienvenida");
  5.     if(path.equals(true)){
  6.         String texto = plugin.getConfig().getString("config.mensaje-bienvenida-texto");
  7.         jugador.sendMessage(texto);
  8.     }
  9. }
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