TurnMarket is a plugin that will change items at different defined times. You can buy or sell item. You can all edit the plugin in config.yml
file.
Each time the market runs, new items are selected and displayed in a menu. It is therefore possible to buy and resell objects.
The interfaces are all modifiable, at each rotation, new items are randomly selected from the config.yml
file.
To start, you have to use your brain to read this documentation.
You have to follow the instructions below.
- 💸 Economy plugin (Vault) (depend)
- 💙 PlaceHolderAPI (softdepend)
After buying the plugin, just put into your plugins folder the .jar, and dont forget to use an Economy plugin.
Config: You can easily edit Config by using config.yml
file [...]
How to use PlaceHolderAPI implementation?
%turnmarket_shop_name/<shopName>%
- Replace<shopName>
by your custom shop name. Return the custom display name of a shop.%turnmarket_shop_time-left/<shopName>%
- Replace<shopName>
by your custom shop name. Return the timeleft before next rotation%turnmarket_shop_next-rotate/<shopName>%
- Replace<shopName>
by your custom shop name. Return the time of the next rotation
- You can manually add in
config.yml
file multiple addons for use better the plugin.
TURN-TIME
- Scheduler feature (Add in your config multiple rotate time. For example:"08:00"
)MAX-ITEMS
- Max display items on inventory (Default:5
)NAME
- Shop name (Example:"farm"
)DISPLAY-NAME
- Shop display name (Example:"&7[&e⛃&7] &e&lFarm"
)SIZE
- Inventory size (Default:5
)ALLOWED-SLOT
- Allowed slot in inventory (where item will be place)
ALLOWED-SLOT:
- 20
- 21
- 22
- 23
- 24
- 25
1:
MATERIAL: "STONE" (Item type)
NAME: "&7Stone" (Item name)
LORE: (Item lore)
- " "
- "&aBuy: &e%buy-price% &a(Right-Click)"
- "&cSell: &e%sell-price% &c(Left-click)"
PRICE: 50 (Item buy price. Set -1 value if it's not possible to buy)
SELL: 10 (Item sell price. Set -1 value if it's not possible to sell)
QUANTITY: 1 (Item quantity)
1:
NAME: "&a(+) &eAdd &6&l1"
QUANTITY: 1
MATERIAL: "INK_SACK"
MATERIAL-ID: 10
SLOT: 15
TYPE: "I_ADD"
4:
NAME: "&c(-) &eSet to &6&l1"
QUANTITY: 1
MATERIAL: "INK_SACK"
MATERIAL-ID: 1
SLOT: 29
TYPE: "D_SET"
I_ADD
Increment item by usingQUANTITY
I_SET
Set item amount by usingQUANTITY
D_REMOVE
Decrement item by usingQUANTITY
D_SET
Set item amount by usingQUANTITY
COMMAND
Add this key in Item section Example:COMMAND: "give %player% diamond %amount%"
To purchase the last plugin version, you can click on one of the links below
🌟 Last version : 0.0.1
The only autor of TurnMarket:
- My personal discord
SYRQL#0139
- Discord Software
This project is using MIT Licence
- LICENSE.md for more informations.