Is there an API I can use for this? How would you guys go about it? I need to schedule an event every week at a certain time. Is there a way I can...
Nevermind I fixed it by putting a scheduler in the function itself. you beat me to replying :) thanks EDIT by Moderator: merged posts, please...
I am trying to make it so you can rename a custom shop in game, but because PlayerChatEvent is deprecated I am using AsyncPlayerChatEvent. The...
I don't think you understand how this works, there are no trades yet - it has nothing to do with villagers. Basically when a player types...
But it isn't a villager, it's a NPC from citizens which stays static, and the code of getting its location is in the original post in the first...
When I debug it from there, the locations debug the correct locations and it does when it reloads as i have it debugging after reload, but when...
So the bug is that the chest saves, but the NPC doesn’t.
Well after restart it’s set to load straight back into the hashmap if you look at where it’s saved into confit.Its after restart that the problem...
It’s the shop hashmap, and I have done loads of debugging and just can’t seem to find the issue.
So I have been trying to get this to work for a while now. Basically, my plugin is a shop plugin, and so far I have it set up where any player in...
I've managed to get the first location to save, but I can't seem to get the second to work. It currently saves like this world,-1296,64,-505:...
For some reason my values are saving with a semi colon after them..
That makes sense, but the array is being created up in the save data file and there are definitely more than 3 values.
The line that creates the error is at the end "double y = Double.valueOf(str[2]);"
I am trying to store two locations from a hashmap to a yml file, and the storing works completely fine. However when I try to reload the values on...
Separate names with a comma.