ShowcaseItem
ShowcaseItem
This is my first public bukkit plugin, and I created it as it was a good addition to my server!
I had the idea to make this from a request I had seen a while ago on bukkit forums.
This plugin simply allow players to 'showcase' an item in a custom GUI which other players can then ope the GUI and see the item.
There is no time limit on how long an item can be in the showcase, however there is a customizable time that can be set, before another player can showcase an item, after a item is showcased, in the form of an 'cooldown'.
Commands
/showcase - open the showcase GUI
/showcase hand - showcased the current item in hand (does not allow AIR to be showcased)
/showcase remove - remove the current showcased item, if you showcased it (players with showcase.admin can remove the showcased item, regardless of what it is)
/showcase help - shows a help screen of commands
Permissions
There is only one permission which is: showcase.admin
Config
# Amount of rows in the showcase GUI InventoryRows: 1 # Title at top of the inventory InventoryName: "&b&lShowcase" # Amount of seconds before another player can showcase an item CooldownSeconds: 10 # Which slot to show the showcased item in (recommened only 1, 3, 5 rows as they all have a middle, and slot 5 is middle of 1 row, slot 14 is middle is middle of 3 rows and slot 23 is middle of 5 rows) ShowcaseItemSlot: 5 # Prefix shown before messages Prefix: '&c&lShowcase &8&l> ' # Message sent to console if attempts to run the showcase command PlayersOnly: '&cOnly players can use the Showcase plugin!' # Message sent if the player tries to open the showcase GUI and there is no item currently being showcased NoShowcaseItem: '&cThere is currently not item being showcased! Use &e/showcase hand &cto start a showcase!' # Message sent to player if they attempt to showcase air CantShowcaseAir: '&cYou cant showcase air!' # Message sent to player when they start a showcase StartedShowcase: '&eYou have started showcasing an item!' # Message broadcasted when someone starts a showcase BroadcastShowcaseStart: '&e%player% &7has started showcasing an item! Use &e/showcase &7to view the item!' # Message sent to player if they attempt to showcase an item while it is in cooldown ShowcaseCooldown: '&7A showcase has recently been started! You must wait a before using the command!' # Message sent to player if they try to remove the showcase item when they are not the showcaser CantRemoveShowcase: '&cYou can not remove this item from the showcase, as you did not start the showcase!' # Message sent to player when they remove the showcase item RemovedShowcase: '&7You have removed your item from the showcase!' # Message sent to player if they type invalid argumentts InvalidArguments: '&cInvalid arguments! Use &e/showcase help &cfor a list of valid commands!' # Message to send to player when a error occured in the config and they try and use a command ContactAdmin: "&cSomething went wrong with the plugins config.yml! Please contact an admin!" # Messages sent to player when issuing the /showcase help command ShowcaseHelp: - '&e/showcase &7- Open the showcase GUI' - '&e/showcase hand &7- Showcase the current item in your hand' - '&e/showcase remove &7- Stop showcasing an item' - '&e/showcase help &7- Displays this help information'
Requests
I am currently taking requests for new plugins also for additions to this one so let me know!
Comments