hey, i have a verry simple idea: hand out coupons to players which allow them to use a command, even if they dont have permission to do so. coupons could be configurated in a config: Couponname:command these commands could be in the plugin: /coupon list (to view owned coupons) /coupon validate (should explain iself /coupon add [playername] (the command for admins to hand out a coupon) /coupon gift [playername] (to give away an owned coupon as a gift)
This is pretty simple. I'll do it. EDIT: Took a while longer than expected, but it is nearing completion. It hooks into PermissionsEx I'm going to reply to this so everyone subscribed gets a notification. So apologies in advance for double-posting. Coupons Plugin Name: Coupons Plugin Type: Administration Download: <Edit by Moderator: Redacted mediafire url> Future BukkitDev Page: http://dev.bukkit.org/server-mods/coupons Commands /coupon list - to view your own held/owned coupons permissions: coupon.list /coupon list [name] to view someone elses held/owned coupons permissions: coupon.listother /coupon validate [couponname] to validate a coupon (From held -> owned) permissions: coupon.validate /coupon add [playername] [couponname] to give someone a coupon permissions: coupon.add /coupon gift [playername] [couponname] to gift someone a held coupon, or with the right permission an owned coupon permissions: coupon.gift, coupont.giftused /coupon remove [playername] [couponname] to remove a coupon, either held or owned permissions: coupon.remove Configuration Files plugins/Coupons/config.yml Example: Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler Code: messages: enabled: Coupons enabled! disabled: Coupons disabled! create-config-fail: severeFailed to create default config! <error> save-config-fail: severeFailed to save config! <error> invalid-coupon: warn<couponname> is not a valid coupon validate-coupon: <player> validated the coupon <coupon> add-coupon: <player> added <coupon> to <reciever> gift-coupon: <player> gifted <coupon> to <reciever> remove-coupon: <remover> removed <coupon> from <removee> player: no-permission: \u00A7cYou don't have permission to do that player-and-console-only: You must be either a player or console to use that command. player-only: You must be a player to use that command not-holding-that-coupon: \u00A7cYou aren't holding a coupon by that name validate-coupon: \u00A7aCoupon validated! player-not-found: \u00A7cNo player by the name '<player>' found add-coupon: \u00A7aGave <reciever> <coupon>! recieve-coupon: \u00A7a<sender> gave you <coupon>! gift-coupon: \u00A7aGifted <reciever> <coupon>! recieve-gift-coupon: \u00A7a<sender> gifted you <coupon>! remove-coupon: \u00A7c<remover> removed your coupon '<coupon>' Use: For editing the messages that are sent. This could still have more configuration if it becomes necessary later. plugins/Coupons/coupons.yml Example: Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler Code: users: Notch: used: - kick holding: - ban coupons: kick: - bukkit.command.kick - essentials.kick ban: - bukkit.command.ban - bukkit.command.kick Use: For storing coupon information about users, as well as the different coupons EDIT by Moderator: merged posts, please use the edit button instead of double posting.