Commands

This page is a page of commands you can use in game to help with certain functions.

Quick list of useful commands


/spawn
teleports to spawn


/sethome
sets home


/home
teleports to your home


/econ
shows how much money you have


/pay (player name) [amount]
pays the payer you put the amount you put out of our money




Commands for players:
/sethome  Sets the current location to the players home location

/home Teleports the player to their home location

Economy commands

  • /econ
    Displays your money.
  • /econ income <page>
    Lists any income brackets that you reside in, shows how much each pays, shows your total wage, and shows the payment interval.
  • /econ pay [player] [amount]
    Pays another player the given amount of money. The amount must be positive, you must be able to afford it, and the other use must be online. This is also the command to pay money to a bank account. To do so, put a $ sign infront of the name of the bank you wish to deposit into. For example: "/econ pay $MyBank 200"
  • /econ stats
    Displays the total money, total players, average money, and average income of the server. Bank accounts and excluded brackets are not factored into statistics.
  • /econ top5
    Displays the top 5 wealthiest players.
  • /econ set [player] [amount]
    * Sets the amount of money owned by the given player. Money may be set to a negative value; players with negative money can't make payments.
  • /econ view [player]
    * Displays how much money the given player owns.
  • /econ add [player] [amount]
    * Adds money to the given player.
  • /econ sub [player] [amount]
    * Subtracts money from the given player.
  • /econ clear [player]
    * Sets the player's money to zero.
  • /econ reload
    Reloads all serverside files pertaining to the plugin. This includes the properties, users, money, lastPayment, brackets, and version files. This is needed to register changes to the files made during runtime.
  • /econ bracket view [player] <page>
    & Displays a list of all brackets the given player resides in, and how much they pay.
  • /econ bracket list <page>
    & Displays a list of all existing brackets, how much they pay, and how many people are in them. This should not be confused with the 'brackets view' command. This list will contain any fake brackets that players have been added to, but these ones are not actually saved to the brackets file.
  • /econ bracket add [player] [bracket]
    & Adds the given player to the given bracket. If the bracket doesn't exist, it is created with a value of 0. The new bracket is saved to the users file, but not to the brackets file.
  • /econ bracket remove [player] [bracket]
    & Removes the given player from the given bracket.
  • /econ bracket clear [player]
    & Removes the given player from all of their brackets.
  • /econ bank create [bank] <owner1> ...
    $ Creates a new bank account with any number of initial owners.
  • /econ bank remove [bank]
    $ Removes a bank account.
  • /econ bank list <page>
    $ Lists all existing bank accounts.
  • /econ bank view [bank]
    Displays how much money is in a bank account. Only members of a bank can view its balance.
  • /econ bank listmembers [bank] <page>
    Lists the owners and members of a bank account. Only members can use this for any particular bank.
  • /econ bank withdraw [bank] [amount]
    Withdraws money from a bank. Only owners and members of the bank can use this.
  • /econ bank addowner [bank] [owner]
    Adds an owner to a bank. Only bank owners can add new owners.
  • /econ bank addmember [bank] [member]
    Adds a member to a bank. Only bank owners can add new members.
  • /econ bank removemember [bank] [member]
    Removes an owner or member from a bank. Only bank owners can remove members.
  • /econ help <page>
    Displays every command you have access to with a brief description of it. The help section displays for any unrecognized command.

Shop commands
Commands: [required] <optional>
  • /shop
    • Displays a list of player commands
  • /shop select
    • Select a cuboid area for a shop to occupy. Used in conjunction with both the create and move commands. Using the select command a second time will cancel the selection process.
  • /shop create [shop name]
    • Creates a shop of the default sized (specified in the configuration file) at your location.
    • If used after the select command - assuming the player didn’t cancel the selection process, possess enough money to create a shop (also specified in the configuration file) and the selection is smaller than the maximum allowed area (again, specified in the configuration file) - a shop will be created that fills the specified area.
    • Remember, shops are created in a 3D space - selecting two blocks on the floor will likely result in the creation of a shop that is a single block tall, which isn’t particularly useful to anyone.

      Any characters may be used for a shop name, including spaces and punctuation.
  • /shop info <id>
    • Used while standing in a shop, this command will return information about that specific shop. If a shop ID is added to the end, it will return information about another shop without the player needing to be physically in it.

      Use either this command or list to get shop IDs.
  • /shop browse <buy|sell>
    • Shows a list of items currently in the shop and if provided either buy or sell as an argument it will only show those for to buy or sell (from the players perspective).
  • /shop find [item name|id]
    • Finds nearby shops that either buy or sell the item sorted by distance with the cost per item.
  • /shop list
    • Lists all shops in the current world that the player owns, along with their unique IDs and names.
  • /shop move [id]
    • Moves the specified shop to a new location. The select command can be used prior to this command, allowing the shop to be moved to a new cuboid specified by the player.

      Both list and info will return shop IDs, in addition to other information.
  • /shop destroy
    • Destroys the shop the player is currently standing inside. The owner of the shop will receive anything that was left in stock, inventory space permitting.
  • /shop add <item name>
    • Used without an item name on the end, adds the stack of items that the player is currently holding.

      If an item name is specified, that item will be added to the shop, with a stock of 0.
  • /shop remove <item name>
    • Used without an item name, removes the item that the player is currently holding from the shop, and returns all remaining stock to the owner.

      If an item name is specified, it works in the same way, but for the specified item instead of the held item.

      In order to remove a certain amount of items from a shop (and not stop the shop from stocking the item), the player must use the buy command. Owners and managers of a shop are not charged for removing items in this manner.
  • /shop buy [item name] <amount>
    /buy [item name] <amount>
    • Purchases a specified item from a shop. If the player uses ‘all’ in place of an amount, the shop will attempt to fill the player’s inventory with the specified item, money (and item stock) permitting.
  • /shop sell <item name> <amount>
    /sell <item name> <amount>
    • Used without an item name and amount defined, sells the stack of items the player is currently holding.

      With an item name defined, a specific item (a single item) is sold to the shop. If the player uses ‘all’ in place of an amount, all instances of that item in his inventory will be sold.
  • /shop set
    • Help page - displays a list of set commands.
  • /shop set buy [item name] [price] <bundle size>
    • Used to set the price and bundle size of items that the shop will be able to buy or purchased from customers.

      Both this command and the set sell command below are set from the perspective of the shop, not the customer; in contrast the buy and sell commands are always from the perspective of the customer.
  • /shop set sell [item name] [price] <bundle size>
    • Sets the price and bundle size of items that can be sold to the customer.
  • /shop set manager +/-[player name]ex: /shop set manager -cerealk +Mineral
    • Adds or removes managers from the player’s shop. A manage is able to add/remove items, set prices and set maximum amounts. He cannot move the shop, destroy the shop, nor add/remove managers.
  • /shop set minbalance [amount]
    • Sets a shops minimum balance that must remain in the account at all times. Helps prevent players from selling to a shop and completely bankrupting the owner.
  • /shop set max [item name] [max amount]
    • Used to set a maximum stock limit for a specified item. Note that the owner of the shop will still be able to add items above the maximum stock level, but the shop will not buy items from players if the current stock level is higher than the maximum specified amount.
  • /shop set notification
    • Toggles if the shop owner is to receive periodic transaction notifications via chat.
  • /shop set owner [player name]
    • Changes the shop owner to another player.


Commands for Ops (Operator/Admin)