I want to create a lobby plugin for a Bungeecord network but I don't know which API I should use. In the Bungeecord API there aren't methods like...
I got it! The init() method in the Main class was private. Now it works.
No, not even if I hide all if statement.
I have registered the event in the Main class PluginManager plm = Bukkit.getPluginManager(); plm.registerEvents(new SignListener(), this); and...
@EventHandler public void handlePlayerJoin(PlayerInteractEvent event) { if(event.getClickedBlock().getState() instanceof Sign) {...
This is the code I used so far: @EventHandler public void clickSign(PlayerInteractEvent event) { if(event.getClickedBlock() instanceof...
Separate names with a comma.