Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void alentar(PlayerJoinEvent e){
- Player p = e.getPlayer();
- FileConfiguration config = plugin.getConfig();
- String path = config.getBoolean("config.mensaje-bienvenida");
- if(path.equals(true)){
- String texto = plugin.getConfig().getString("config.mensaje-bienvenida-texto");
- jugador.sendMessage(texto);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement