bk1325 I think you have a misstake in your Utilities, there you set i to 1 and then try while ( i == DarkBot.maxNum ), but this ist 300 if im...
Jhtzb Nothing worked? So what have you tested? Here you have to make sure your string has at least 2 characters: s = s.substring(0, s.length() -...
Encrylize Are you sure that this code is really used and the player is you? Because using String-variable with sendMessage() works.
Fozie This will not work, as Door is even no BlockState or a Subclass of it... Door is MaterialData, so get the MaterialData of the Block
Fozie But Door has nothing to do with Block. You have to check the Type of the Block being Material.x where x maybe is something of IRON_DOOR,...
bobjoe8482 Try like String msgToSend = ChatColor.translateAlternateColorCodes('&', msgFromArguments); Edit: Ninjaed by Minecrell :)
ThunderWaffeMC args[1] cant be used, if there is no second argument provided, else there is no limitation in java. You can try my if-condition and...
ThunderWaffeMC I guess there is no second argument given to the command. /command argument1 argument2 ... args[0] provides argument1 args[1]...
moneyremco You will have to listen to InventoryClickEvent and InventoryDragEvent, check the inventory to be your custom one and cancel the events.
Domi381 Have you tried to use english names in config and use localization for äöü?
Pizza371 1. Where does getYaml come from? I dont see it in bukkit-api 2. You sort the Array while you are filling it. Result is you will overwrite...
DanishDuckling First, nothing of this is tested: World.getBlockAt(location).setTypeId(0); //removes block TNTPrimed tnt = (TNTPrimed)...
DanishDuckling ignited TNT is a entity, so you have to remove the block and spawn a ignited tnt (TNTPrimed) at this location.
Fozie Did you register the event? And I think it will be enough to cancel the event or the collision.
Loogeh Fozie The VehicleCollisionEvent is not cancellable, but VehicleEntityCollisionEvent is:...
Separate names with a comma.