#Java

1 messages · Page 1 of 1 (latest)

agile brook
#

When I program when I start the plugin I get a message in the console that it is working. It does not work. What is the code?

Cuando programo al iniciar el plugin me sale un mensaje en la consola de que está funcionando. Pero no funciona. ¿Cuál es el código?

agile brook
#
import org.bukkit.ChatColor;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.plugin.java.JavaPlugin;

public class Join extends JavaPlugin implements Listener {

    @Override
    public void onEnable() {
        Bukkit.getLogger().info("El plugin ha sido habilitado");
        Bukkit.getServer().getPluginManager().registerEvents(this, this);







    }

    @Override
    public void onDisable() {
       Bukkit.getLogger().info(ChatColor.RED + "El plugin ha sido deshabilitado");
    }
    @EventHandler
    public void onPlayerJoin(PlayerJoinEvent event) {
        String playerName = event.getPlayer().getName();
        event.setJoinMessage("§cI made my first join plugin!");```
#

Todo esto no me funciona al ejectuar el servidor

agile brook
#

Pero no es ayuda internacional??

#

Entonces nada, gracias por el soporte

glossy patrol
#

xd

gray ocean
#

Hola

past valley
#

hola

#

(i dont speak spanish)

worthy field
#

wait did they left?

fickle zealot
weary comet
#

thats the goofiest and most incorrect way to say that

fickle zealot
#

what

weary comet
#

it is

weary comet
fickle zealot
#

bro sahut the fuck up