With this little script you're able to easily manage an entire shop.
- Native Minecraft Version:
- Tested Minecraft Versions:
Dependencies: Skript mirror 2.0.0 Snapshot
How does it work?
Heres an example:
Pretty self explaining, innit? With right click you can buy items, left clicking it will sell it. You can either buy, sell, buy and sell, buy and sell and shift. etc etc.Code (Text):command openadamngui:
open chest inventory with 5 rows named "SHOP" to player
set shop slot 0 of player to emerald named "hi" with buy price 5.3 and sell price 4 allowing shift shopping false
set shop slot 1 of player to stone named "hello" with buy price 3.5 and sell price 1.2 allowing shift shopping true
set shop slot 2 of player to diamond with buy price 3