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
*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
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...
try packet sending maybe ? https://forums.bukkit.org/threads/refresh-inventory.87547/
well im adding players and an item uuid to a hashmap
and calling it uuidmap
than getting their name from map and adding it to a list...
Zettelkasten is there a way so that i can get the time 1st task ends and run a task after it ?
Gater12 no the problem is that i want "Counting down: " text to come at random delays not with same delay
guys im trying to make a runnable that does change the delay between 2 executions
is it possible in some way
int num = 0;
Separate names with a comma.