TARDIS Shop
TARDIS Shop is a simple shop module for TARDIS items and blueprints.
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.
block: PRISMARINE_BRICKS
tardis_admin_free: true
Config | Type | Default |
---|---|---|
block | string | PRISMARINE_BRICKS |
The type of block that TARDIS items will be displayed on. This should be specified using the Bukkit Material ENUM name | ||
tardis_admin_free | boolean | true |
Whether players with tardis.admin permission get TARDIS items for free from the shop |
Permissions
Permission | Description | Default |
---|---|---|
tardisshop.use | Allow players to buy items from a TARDIS Shop | op |
tardisshop.admin | Allow players to set up a TARDIS Shop | op |
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:
- Place the configured block (
PRISMARINE_BRICKS
by default) in the desired location - Run the command
/tardisshop add [item]
You can use tab completion to see a list of available items - Follow the onscreen instructions and click the block — a display item will appear with display text labels for its name and cost
Removing shop blocks
To remove a shop block:
- Run the command
/tardisshop remove
- 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