I don't know the exact answer to what you said, but I have a thought for you. You can do a simple copy-paste between two points every round to...
Ok I should be more specific. I need the object itself to remain intact, but its contents must be cleared. EDIT: Nevermind, I just deleted the...
Simple noobish question. How do you take a YAMLConfiguration object and completely clear it out?
Nah I used addition, since it was always negative if it was bad. I'd subtract if it were up between 360 and 720 degrees. @567legodude
Ok then, I'll need more detail if that didn't work. Post a stack trace if it's throwing an exception.
@Skionz shieldLocations is just the header of the file protectionDat is the name of the YAMLConfiguration object so how do I get it from the right...
if(player.getWorld().equals(w1)); Does that work? If not I might need more details.
I've only used YML files for a short time and don't yet understand their complexities, but I still usually manage to figure out what I'm doing...
Ok I fixed it, I did use the addition of 360 when below 0 and it works nicely. @mythbusterma So you're telling me that this arbitrary...
@MordorKing78 Ok, you'll need to provide us some more information as to how it was screwed up if you want us to help.
Thanks, I will go ahead and try to fix it given the information you've given me so far! @567legodude
If you want to place a chest on the surface you click without replacing the block itself, you should look into a very helpful raycast class called...
@567legodude There is indeed, but that just returns the vector. I am happy to calculate the rotation trigonometrically if necessary, but I was...
I use getLocation().getYaw() to get a player's facing direction in a plugin, which I then translate into one of the four cardinal directions. The...
@teej107 If that's what he meant, why did he say your way was the easiest? With that I literally had to just put the declaration somewhere else,...
@mythbusterma @teej107 Ok I figured it out on my own, sorry to bother you guys, I feel kind of dumb now. Also mythbusterma, what Teej suggested...
I'm having issues because the scheduler will only take final variables, which cannot be affected from inside the method. Is there a way I can have...
Bump.
I know that, I want to get all sub categories directly below "Arenas:" In this file, the only category directly below Arenas is "arena" but...
This is an exact YML file that I have saved in my plugin's data folder: Arenas: arena: t1spawns: - -525:72:-414 t2spawns: -...
Separate names with a comma.