warp: Version: 1.0 Warp 1.0 is a simple warp plugin with permission support! Usage: Code: To set a warp use: warp_create yourwarpname or warps_create yourwarpname To teleport to a warp use: warp yourwarpname or warps yourwarpname or w yourwarpname To remove a Warp use: warp_remove yourwarpname or warps_remove yourwarpname To list all warps use: warp_list or warps_list To get Help use: warps_help Permission: Code: Users with this permission node can use the /warp /warps and /w command. - warps.warp Users with this permission node can use the /warps_remove and /warp_remove command. - warps.remove Users with this permission node can use the /warp_create and /warps_create command - warps.create Users with this permission node can use the /warp_list and /warps_list command - warps.list Features: Easily add and remove Warps. Permission Support. Multi World Support! Downloads: Jar: http://benni1000.bplaced.net/download/warp.jar Source Code: http://benni1000.bplaced.net/download/src_warp.zip Like my plugins? Visit my Homepage: http://benni1000.bplaced.net Changelog: Version 1.0: released
When I try a command, that I do not not have permissions. I do. When I look in the console, it says: [WARNING] PermissionsEx plugin are not found.
The reason for the warps being deleted after a server restart is that it doesn't have a database (or a not working database). Let me code something for you: Code:java //Replace warp with the warp stringFile file = new File("plugins/warp/" + warp);if (!file.exists()) { try { file.createNewFile(); } catch (IOException e) { }}BufferedWriter out = new BufferedWriter(new FileWriter(file);//Replace warpx with the x axis, warpy with the y axis, warpz with the z axis and world with the warp's worldout.write(world + "," + warpx + "," + warpy + "," + warpz);out.flush();out.close(); And now to read the file: Code:java File file = new File("plugins/warp/" + warp);BufferedReader in = new BufferedReader(new FileReader(file));double x, y, z;String inputLine, world;while ((inputLine = in.readLine()) != null) { String[] s = inputLine.split(","); world = s[0]; x = Double.parseDouble(s[1]); y = Double.parseDouble(s[2]); z = Double.parseDouble(s[3]);}in.close();Location loc = new Location(world, x, y, z);//Do whatever you want with loc Hope that helped.
It has a databse (sqlite). Look at the source! It's working fine on the server where i am Admin. Oh it supports the build in bukkit permissions and permissionsEX. I am going to fix this!