getConfig().set(path, null); :)
Use this code before the loc and re try.. if you see the message "it is null" that means loc is null if(loc==null){Bukkit.broadcastMessage("it is...
:)
*tried to mean if you can post the trace but it looks like you are trying to get location from a configurationsection so I think that variable loc...
well at least try to do broadcast message for testing instead of a player :) well what "player" is .. it is an entity :p also it is an object...
Can you post the whole error please :) also try looking if loc isn't null
NoSuchMethodError: org.bukkit.Bukkit.getOnlinePlayers() o.O well how can there not be a method Bukkit.getOnlinePlayers()
Well , guys i have a question in my mind for some time which is How do you give items to players that only you can craft as a plugin for...
ShayBox we are here to assist and help :) no spoonfeeding
Guys afaik book contents are saved in inventories so i want to ask if we can give them a book and fire a playerinteract event so they will have...
Im just curious if there is another character i can use more than space " " to send a message i tried all the space / invisible characters i could...
this might be a cool plugin idea , name arrows and give them effects "particles , potion effects , knockbacks .. " :)
well it cant open inventory becouse inventory is null so i would suggest checking if its null or not before executing that command
guys im trying to get this working for a long time im trying to run a scheduleSyncRepeatingTask but randomizing the delay everytime at first i...
ah thanks fireblast709 ; didnt knew arrays.aslist creating immutable list. I was using it to create a new list "since there is no array it would...
Separate names with a comma.