->Dev Bukkit Link <- Version: 1.0R1 Intro AdminLobby lets every server admin have full control of their server while all users maintain their...
My first video :) For our first proper plugin please recommend a subject, all ideas are welcome and are subject to probably be used. [media]
Maybe they require an arrow inventory that doesn't get used up per shot however?
Automated minigames use some Schedulers to make it all automated. look into them.
try this: final int taskID = plugin.getServer().getScheduler().scheduleSyncRepeatingTask(plugin, new Runnable() { int...
In my full code I shift the x,y,z according to the right facing direction of the chest by 1. So it's not directly over a chest.
Im aware, thats why i tried spawning it as an entity.
So i have this code: Location l = b.getLocation(); if (b.getType().equals(Material.CHEST)) {...
String player = e.getPlayer().getName();
i currently have a very bad system for saving, loading areas where they are all stored into one arraylist :L if anyone had a barebones example of...
Player p = event.getPlayer(); Location l = new Location(<world>, <x>, <y>, <z>); p.teleport(l)
I'm trying to figure out the best methods of first creating a "arena" that is an area that can be saved and loaded on restarts, and then later...
You don't need ftp... Since its all done locally. You just need the local world files location to delete it ._.
in java a folder is a file. if you delete it, everything inside will be deleted too since nothing is containing it anymore.
generate an array of the blocks in the region first. public static ArrayList<Location> gameArea = new ArrayList<>(); public static void...
File world = new File("/world"); @EventHandler public void delWorld(PlayerQuitEvent event) { if...
What would be the best way to save and load a bunch on Locations? i'm currently saving locations by saving two blocks that are used to select the...
So so far i have this: public class Load { private static Set<String> w = new HashSet<String>(); private static Set<String> a = new...
c&p
thanks :)
Separate names with a comma.