https://forums.bukkit.org/threads/load-world-from-file.156948/...
Okay i is the amount of players found nearby. So you would set the sign text to i. YOUR_SIGN_COORDS is LITERALLY YOUR SIGN COORDINATES!!
Well you would probably have the sign coords as a global variable or loaded in from your config, then you add 10 and 10 to it and save that then...
public void updateSign(){ int i = 0; for(Player P : Bukkit.getOnlinePlayers()){ if(inArea(P.getLocation(), YOUR_SIGN_COORDS.add(-10, 0, -10,...
That's basically the way I'm doing it right now. The problem is the mob will never spawn 20 blocks directly to their right or left. It'll always...
My plugin has its own tick system which is every minute I broadcast an announcement, etc. What I'm trying to do is get my own spawning algorithm...
My answer literally gave you the code...
At the moment I'm generating an x and a z in between -30 to 20 and 20 to 30 and then adding it to the players cords, this is terrible though...
If you want to make your plugin have a dependency, go ahead.
Here is some code from a project of mine. You need a POS1 and a POS2. You can hard core it in or you can have it in your config file. So pretty...
I've tried searching and all results came up as listening for animal spawns and then setting it to a mob, but what this does is make the world...
-snip- Okay problem solved. Now how do I get all blocks in an area? Like I have 2 coordinates and everything within that invisible rectaingle it...
Uh. That's what I'm asking how to do. I know you're trying to help but seriously. I have two coordinates. How do I tell if a players coordinates...
There is no region though. It's just 2 sets of coordinates. How do I tell if they're within it?
Okay I'm coding a personal region plugin for my server and I already have the code made to store two location, sort of like in worldedit. Except...
Separate names with a comma.