Admin Shop
Everything you need to know about Admin Shops
About
Admin Shops are "server owned" shops. These shops can not be bought or managed by normal players, and requires the permission node villagermarket.admin
to edit. A storage menu is absent because the Admin Shops have an infinite item supply, and you can't sell/abandon the shop.
Pro tip: Sell Villager Shop eggs from your Admin Shops!
Creating an Admin Shop
To create a new Admin Shop, use the following command:
Click here for more details
Limits
With admin shops, you can set per-player or server-wide limits, as well as cooldowns. Right click the player head in the item editor to cycle between player and server-limit, and left click to set the limit amount.
You can also set limit cooldowns, which will reset the limit counter automatically. Click the clock, and type in the amount of time for cooldown in the chat, using the following format:
Available units are:
m (minutes)
h (hours)
d (days)
Sell commands
You can also sell commands using admin shops. Just open the item editor and cycle the item mode to "command". Then you can click the command block to set the command to execute.
Use %player% as the playername placeholder, and remember
Do not use a slash (
/
) in front of the command
If you wish to show info about the command to your players through item name or lore, you'll have to edit the name/lore before adding the item to the shop. Many plugins offer item editing, such as ItemEdit.
Automatic discounts
With Admin Shops, you can configure automatic random discounts. To get started, open the config.yml
and scroll down to to the discount section:
Last updated