@IconByte Do what @RainoBoy97 said. You need to do player.getWorld().getName
@bennie3211 player.removeItem(Material.GLASS_BOTTLE, 1); will only remove 1
@bennie3211 Try updating inventory or simply player.removeItem();
@nverdier You're not making the disguise right. Use this for help http://www.spigotmc.org/wiki/lib-s-disguises-creating-a-disguise/
@DogeDebugger Im talking about what the command with the arguments will look like. Ex. /loan <player> <amount>?
@DogeDebugger Can you show how the command is supposed to look?
@HelloThereItsMe Cancel the event
@DSCxSander Loop though the ArrayList and add them on config
@WATWtomanik3 Make an ArrayList then inside the loop and them if they have the permission.
@DogeDebugger System.currentTimeMillis();?
@AppleMC if(getConfig().contains(player.getName){ //There in the config } else{ //Add them to config }
@AppleMC It probably doesn't work, because you played on the server before. Try checking if they are in the config instead
@Telmovieira int task; task = Bukkit.getScheduler().scheduleSyncRepeatingTask(plugin, new Runnable(){ }, 0L, 20L);...
@ColonelHedgehog Just saw it.
@Telmovieira I believe that its this.cancel(); If not you can read more about it here http://wiki.bukkit.org/Scheduler_Programming
@Konato_K Delayed task and teleport
@DogeDebugger Try to just teleport the player to the location instead
@nuno1212sss I believe that setHealth and setMaxHealth are doubles, so you have to doplayer.setHealth(20D)
@Antigrate You mean invis potions
Edit: NVM
Separate names with a comma.