I'm working with the WorldGuard API at the moment and I'm trying to figure out when a player switches regions.
E.g If i want to display a...
top2001 in your PlayerMoveEvent add this line of code:
Location block = e.getTo().getBlock().getLocation();
World w = e.getPlayer().getWorld();...
coasterman10 but then I still must add all 51200 chunks(because thats our map size) by hand.
I quickly worked out a kind of map of the idea.
The big, colored squires is the plot. (So this is a map of 4 plots)
Each plot contains 64 chunks...
Uggh, Sorry but I still don't understand.
Could you explain it like i would have 3 ints and want to nummer them automaticly
Int chunk1, chunk2,...
How do you loop that?
I thought with something like this:
int i = 16;
but that would result in 17, which is good for one chunk.
Me and a friend want to develop a kind of villages plugin.
We are making it so you can conquer other villages and claim your ones ed.
One of them is a thread about someone asking how to use sql in common and the other one requires to change SQLite own files what i think is a...
I'm occasionally developing plugins for clients with MySQL compatibility.
I used to test these on remote SQL servers, but i 'd like to...
I've made this as a little test for when a player returns to gamemode 0 (Survival) he would get his armor back and his items.
However it doesn't...
I'm working on a minigame plugin for a friend of mine however I got a little stuck on one of its features.
He asked me to save a players...
I'm making a minigame plugin and I've made some classes with there lore set as
ChatColor.GOLD + "Soulbound"
When they switch to a other...
You know arrows right? They descend after a few blocks and hit the ground.
Fireballs instead keep going on until they hit something. Is it...
Separate names with a comma.