CommandShop icon

CommandShop -----

Allow Players to Buy In-Game Commands and or Permissions!



CommandShop:
This simple plugin allows players to buy commands/permissions in-game. If you want a player to be charged every time they run a certain command, I have another plugin called CostlyCommands!

Commands:
/cshop (Alias /cs) - Opens CommandShop GUI
/cshopreload - Reload the Config

Permissions:
cshop.buy - Allows player to open the Shop GUI
cshop.purchase.(command_name) - Allows a player to purchase that command
cshop.purchase.* - Allows a player to buy any command in shop
cshop.reload - Permission to Reload Config

Depends:
- Vault
- Economy Plugin that Works with Vault


Update Tutorial:
(1.6 Update)
No Required changes unless you're going to use categories
(1.5 Update)
Must provide either a 'permission' or a 'command' or both per purchase. See config below for example.

Config:
Code (YAML):
ConfirmPurchase : true

clear
: # Simple Purchase Example
  title
: '/clear' # This is what the Player will see in the Shop GUI
  icon
: Barrier # This is the Block/Material the Player will see in the Shop GUI
  price
: 2000
  permission
: # These are permissions the player will GAIN after purchase
    - essentials.clearinventory
  lore
:
   - '&aAllows you to Clear your Entire Inventory'

rank-up
: # Advanced Purchase Example
  title
: 'Purchase Settler Rank'
  icon
: Amethyst_Shard
  price
: 5000
  # permission field is not required if there are commands to be run. Although one or the other MUST exist
  commands
: # These are CONSOLE Commands to run when purchased
    - 'vperms user %player% group add settler'
    - 'broadcast %player% has purchased the Settler Rank!'
  lore
:
   - 'Become a Settler Rank'

ranks
:
  title
: "Purchase Ranks"
  icon
: Diamond_Helmet
  isCategory
: true # Required for Categories, otherwise not needed

  lore
:
   - "Unlock a New Rank!"

  # Add this Section for Categories
  items
: # This will work the same way as if you were to make a regular purchase instead of a category

    coal_rank
:
      title
: 'Purchase Coal Rank'
      icon
: Coal
      price
: 1000

      commands
:
       - 'vperms user %player% group add coal'
        - 'broadcast %player% has purchased the Coal Rank!'

      lore
:
       - 'Unlock the Coal Rank'

    iron_rank
:
      title
: 'Purchase Iron Rank'
      icon
: Iron_Ingot
      price
: 2000

      commands
:
       - 'vperms user %player% group add iron'
        - 'broadcast %player% has purchased the Iron Rank!'

      lore
:
       - 'Unlock the Iron Rank'

GOALS:
10 Downloads: Reached!
20 Downloads: Reached!
50 Downloads: Reached!
75 Downloads: Reached!
100 Downloads: Reached!
150 Downloads: Reached!
200 Downloads: Reached!
Resource Information
Author:
----------
Total Downloads: 901
First Release: Dec 31, 2017
Last Update: Dec 5, 2025
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings