Sueta

Scoreboard Shop

1.0.0

GUI shop plug-in built with Minecraft's built-in scoreboard.

·Plugin


If you have any issues using the plugin, post an issue HERE.

Features:

  • Interactive GUI shop
  • Categorized shop
  • Custom item display name & lore
  • Sell items or custom command (/time set day, /give %p% item, etc.)
  • Let you pay with any kind of Minecraft built-in scoreboard scores (deathCount, playerKillCount, xp, item used/broken/crafted count, etc.)
Get Start

Firstly, you need to create a scoreboard objective using Minecraft's /scoreboard command. For example, we want to record how many zombie killed by the players:

/scoreboard objectives add zombieKills minecraft.killed:minecraft.zombie

We can set the display to the sidebar by:

/scoreboard objectives setdisplay sidebar zombieKills

Then, we link the variable with SBS and call it KillerGold:

/sbs link zombieKills KillerGold

We also need a category to display the goods:

/sbs category create cateA KillerGoldShop zombie_head

After that, we can add goods to the category. The good can be either item from your hand or any command.
e.g
From you hand and sell at 100 zombieKills score:

/sbs item create cateA zombieKills 100 Display_name Lore HAND 1

Sell the command which change weather to clear at 500 zombieKills score:

/sbs item create cateA zombieKills 500 Display_name Lore COMMAND sunflower /weather clear

Finally, type it to open the shop:

/sbs shop
Commands

/sbs link [scoreboard variable name] [display name]
Link Minecraft scoreboard with scoreboard shop by given variable name and display name

/sbs unlink [scoreboard variable name]
Unlink Minecraft scoreboard with scoreboard shop

/sbs link list
List all links

/sbs category create [category name] [display name] [display item]
Create a category in the shop with given display name and display item

/sbs category remove [category name]
Remove the category in the scoreboard shop, ALL ITEMS IN THE CATEGORY WILL BE REMOVED

/sbs category list
List all categories

/sbs item create [category name] [scoreboard variable name] [price] [display name] [lore] [item type] [additional attributes]
Create item in the given category, use '_' to represent space in the display name and lore, use '__' to represent a new line.
[item type] [additional attributes]:
1. HAND [NUMBER] create from hand with given number
2. Command [item material] [command] any command (with backslash) use %p% as player name

/sbs item list [category name]
List all items in the given category

/sbs item remove [category name] [item id]
Remove an item in the given category

/sbs reload
Reload scoreboard shop

/sbs shop
Display scoreboard shop

Permissions

- me.ltxom.sbs.link /sbs link
- me.ltxom.sbs.unlink /sbs unlink
- me.ltxom.sbs.link.list /sbs link list
- me.ltxom.sbs.category.create /sbs category create
- me.ltxom.sbs.category.remove /sbs category remove
- me.ltxom.sbs.category.list /sbs category list
- me.ltxom.sbs.item.create /sbs item create
- me.ltxom.sbs.item.list /sbs item list
- me.ltxom.sbs.item.remove /sbs item remove
- me.ltxom.sbs.reload /sbs reload
- me.ltxom.sbs.shop /sbs shop

Similar projects

Plugin →