Skip to main content

TARDIS Shop

TARDIS Shop is a simple shop module for TARDIS items and blueprints.

note

For TARDIS version 4.14.0 and below you can download it here: http://tardisjenkins.duckdns.org:8080/job/TARDISShop/

The instructions below are for the TARDIS module, but are pretty much the same, with some extra configuration options ( database / plugin respect), and separate commands instead of sub-commands.

Enabling the module

To use the shop module, it must be enabled in the TARDIS config.

  • Type /tardisconfig shop [true|false] to enable or disable the feature.
  • A server restart is required when changing the config value.

Shops are server based, players cannot setup their own personal shops.

Requirements

In order for the Shop module to function you will need to install:

  • Vault
  • A permissions plugin

Config options

These are the shop configuration options.

/plugins/TARDIS/shop.yml
block: PRISMARINE_BRICKS
tardis_admin_free: true
ConfigTypeDefault
blockstringPRISMARINE_BRICKS
The type of block that TARDIS items will be displayed on. This should be specified using the Bukkit Material ENUM name
tardis_admin_freebooleantrue
Whether players with tardis.admin permission get TARDIS items for free from the shop

Permissions

PermissionDescriptionDefault
tardisshop.useAllow players to buy items from a TARDIS Shopop
tardisshop.adminAllow players to set up a TARDIS Shopop

Setting up shop

A shop can be in any location and any size — you simply place a block anywhere you want to sell an item and then stock the item using a command.

Setting item costs

The cost for a TARDIS item is stored in items.yml. You will need to edit this file and set prices based on however your current server economy is set up.

If you change the cost after adding a shop block, you can update the block with the new price by running the command:

/tardisshop update

This will reload the items configuration and update any blocks where the price is different than the config.

Adding shop blocks

Adding new shop blocks is pretty simple:

  1. Place the configured block (PRISMARINE_BRICKS by default) in the desired location
  2. Run the command /tardisshop add [item] You can use tab completion to see a list of available items
  3. Follow the onscreen instructions and click the block — a display item will appear with display text labels for its name and cost

TARDIS Shop block

Removing shop blocks

To remove a shop block:

  1. Run the command /tardisshop remove
  2. Follow the onscreen instructions and click the block you want to remove

Going shopping

To purchase items:

  • Right-click a TARDIS Shop block
  • If you have sufficient credit, you will be given the appropriate item