OCP - OKCheckPointsby Kalman OlahLatest version: 1.3.5 ( Download )Would you like to buy me a drink? some useless stuff from Amazon? a car? What is OKCheckPoints?OKCheckPoints is a 'checkpoint' plugin for Bukkit. OKCheckPoints comes with fully configurable messages(including colour codes and some variables), checkpoint costs, an auto-updater and support for all major Economy plugins (using Register) and Permissions, PermissionsEx, GroupManager and Bukkit's permissions.What does OKCheckPoints do?Simply put, OKCheckPoints allows you to save your character's location(using a command, or by right-clicking a sign) for a configurable price(Items or Economy money). If a player with a checkpoint dies, he respawns at his checkpoint, and may or may not keep his inventory(depending on your configuration).How do I set up OKCheckPoints?Download the latest .JAR here: http://kalmanolah.net/files/dl.php?id=OKCheckPoints&ver=latest .Move it to your plugins/ directory.How do I configure OKCheckPoints?When you run OKCheckPoints for the first time, a configuration file called 'config.yml' will be generated. In here, you can edit all of the messages/costs/etc... until you're satisfied with them.Click here for a config.yml with comments.Note: Available colour codes are &1 - &9 and &a - &f. Available variables are %i for item name/currency name and %a for item/money amount. For the teleportation messages, the variable %t(Target of teleportation) is available.How do I use OKCheckPoints?To create a CheckPoint using a command, simply use the /checkpoint or /cp command.To create a CheckPoint using a sign, simply left-click the CheckPoint sign.To create a CheckPoint sign, simply place a sign with "[CheckPoint]" on the first line, and optionally specify a number on the second line if you would like CheckPoints from that sign to have a custom cost, or write "free" on the second line if you would like CheckPoints from that sign to be free.Permissions nodes:okcheckpoints.create.commandAllows you to create a CheckPoint by using the /cp and /checkpoint commands.okcheckpoints.create.signAllows you to create a CheckPoint by left-clicking a CheckPoint sign.okcheckpoints.clearAllows you to clear your CheckPoints using the /cp clear and /checkpoint clear commands.okcheckpoints.placeAllows you to place a CheckPoint sign.okcheckpoints.breakAllows you to destroy a CheckPoint sign.okcheckpoints.free Allows you to ignore the cost of a CheckPoint.okcheckpoints.teleportAllows you to use the /checkpoint tp <name> and /cp tp <name> commands.okcheckpoints.reloadAllows you to use the /checkpoint reload and /cp reload commands.Commands:/checkpoint or /cpCreates a CheckPoint at your current location. Requires 'okcheckpoints.create.command' to use./checkpoint clear or /cp clearClears your CheckPoints. Requires 'okcheckpoints.clear' to use./checkpoint tp <player's name> or /cp tp <player's name>Teleports you to a player's CheckPoint, if that player has one set. Requires 'okcheckpoints.teleport' to use./checkpoint reload or /cp reloadReloads the OKCheckPoints configuration. Requires 'okcheckpoints.reload' to use.Note: Can be used from the console.Credits & Thanks:This plugin uses Register, an amazing AIO Economy API by nijikokun, parts of Tagette's extremely helpful and useful Plugin Template, and alta189's awesome SQL Library.Special thanks go out to captainawesome7, who helped me get inventory saving working properly.Known Issues:None(currently).Misc. info:-If a player creates a CheckPoint, dies, and does not respawn before the server restarts, he will lose his items anyway.-Players without the "checkpoints.break" Permissions node can't destroy CheckPoint signs.-TNT(explosions) can't destroy CheckPoint signs.-Gravity(e.g.: Removing the block under the sign) can't destroy CheckPoint signs.Changelog:Version 1.3.5 Changed teleport permission node to "okcheckpoints.teleport". Version 1.3.4 Updated to use the new configuration API. Older versions (Move your mouse to reveal the content) Older versions (open) Older versions (close) Version 1.3.3 Minor update to permissions checking functions. Version 1.3.2 Fixed compatability issues with iConomy 6. Version 1.3.1 Attempted fix for CommandBook /home conflict. Version 1.3.0 Added to the "OK" suite(see signature). Added support for PermissionsEx, Bukkit's permissions, GroupManager, Permissions 3.1.x. Changed name. Changed permissions nodes to match name. Version 1.2.1 Auto-updater bugfix. Version 1.2.0 You can now create CheckPoint signs. Players can left-click these signs to create a CheckPoint AT THE PRICE SET ON THE SIGN. Aw yeah. CheckPoint signs are protected from the laws of physics, players and explosions. I hope. Version 1.1.0 Removed all sign-related stuff. CheckPoints is now strictly command-based, until I get enough requests to add something else. Added a teleport command that allows you to teleport to another player's checkpoint. Usage: /cp tp <name> or /checkpoint tp <name>. Permissions node: checkpoints.teleport. Version 1.0.0 Released. Example config.yml (Move your mouse to reveal the content) Example config.yml (open) Example config.yml (close) Code: #Keep inventory when you die and a CheckPoint is used? keep-inventory-on-checkpoint-usage: 'true' economy: #Enable economy plugin? Will override items. enable-economy-plugin: 'false' #How much should a CheckPoint cost? economy-cost: '500' #The custom name of your currency. economy-currency-name: coins items: #The item ID of the item you want to purchase CheckPoints with. consumed-item-id: '41' #The custom name of the item you want to purchase CheckPoints with consumed-item-name: Gold Block #Amount of items to take from player... consumed-item-amount: '1' messages: #Self-explanatory...hopefully. Colour codes are &1 - &9 and &a - &f. Variables are %a for amount, #%i for item name or currency name, %t for teleport target. not-enough-items-message: '&cYou need atleast &f%a %i &cto create a CheckPoint!' not-enough-econ-money-message: '&cYou need &f%a &c%i to create a CheckPoint!' signs-not-enough-items-message: '&cYou don''t have enough &f%i&c to create a CheckPoint!' signs-not-enough-econ-money-message: '&cYou don''t have enough &f%i&c to create a CheckPoint!' create-message: '&6You have successfully created a CheckPoint!' place-message: '&6You have placed down a public CheckPoint!' use-message: '&6You have been placed at your CheckPoint!' no-permission-message: '&dYou do not have permission to do this!' clear-success-message: '&6You have successfully cleared your CheckPoint!' clear-fail-message: '&cYou do not have a CheckPoint to clear!' reload-message: '&6CheckPoints configuration reloaded!' teleport-success-message: '&6You have been teleported to &f%t&6''s CheckPoint!' teleport-fail-message: '&cPlayer &6%t&c does not have a CheckPoint set.' I'll be removing everything sign-related from this plugin tomorrow. I had a change of heart about signs. EDIT by Moderator: merged posts, please use the edit button instead of double posting.