CubieX 2 hours to figure my error :P for(String longString : getConfig().getConfigurationSection(p.getName()).getKeys(false)){ i'm getting the...
CubieX ok, new error. List<Long> l = new ArrayList(); for(String longString : getConfig().getConfigurationSection(p.getName()).getKeys(false)){...
i want to get the higher value to convert into Date from config. i know how to get the higher value of a List<long> and convert it to Date but not...
i use this way, maybe is what you are looking for String playername = "eriosgamer"; //Here you can receive the name from a command with...
you could do, in your config something like: 1.Player1 2.Player2 3.Player3 etc and in your code generate a random int, and get the string like...
SkyStatus, with my code should work, but here is your code modified , look and compare. if (args[0].equalsIgnoreCase("delete")) { if...
something like String minvard = args[0]; if(getConfig().getString(minvard) !=null){ //do something } else{ //here the action if is null }
thomasb454 nice men, it works!!
hello, and sorry about my bad english. i'm trying to make a uhc minigame, but i have a problem with the lobby sign. i create a sign with color...
well now it's working, the wall is generated correctly but now i get a big problem, i going to edit the post with the new code for future...
Hi, sorry about my bad english i´m trying to make a wall around a defined area(spawn point). this is the way we built it, it has some problems...
elraro listo! gracias me funciono a la perfeccion ArrayList<ItemStack> remove = new ArrayList<ItemStack>(); for (ItemStack i :...
GusGold nop, it not come back, and if i try to put the torch in the ground it simple disapear the PlayerInteractEvent is only to show or hide...
GusGold i have a PlayerInteractEvent when the player do a rigth click with it the redstone torch off change to on, i give the torch with a...
GusGold well now the problem is other when i change world the item lost it function if the not are it "hot bar" and if i change the world back it...
GusGold Nice, it works, i forget to verify if the slot is null XD, for the next generations, at the end put }else{ n++; continue; } if the...
GusGold yes, but this before an if () I did not put because it is not related to the topic elraro veo q hablas español me parece, pues el asunto...
i forget to copy/paste it, but i have it Player player = event.getPlayer();
Hi, sorry about my bad English, i try to do when a player change of world if he have a specific item (type and name) like a Redstone torch On with...
No tested, but i believe is this way, using the spoljo666 method: for (String s : getConfig.getStringList("staff")) {...
Separate names with a comma.