Setting Up Admin Stores at Spawn
# πͺ Setting Up Admin Stores at Spawn
**Last Updated:** October 15, 2025 Β
**Author:** MonkeyCraft Admin Team Β
**Applies to:** MonkeyCraft NeoForge 1.21.1 (using MEconomy)
---
## π Overview
Admin stores allow the server to buy and sell items to players using the in-game economy. These stores are linked to an infinite wallet so they never run out of money or stock.
Theyβre perfect for:
- Selling starter supplies and tools
- Buying excess materials from players
- Providing MineColonies blueprints or key items
---
## βοΈ Requirements
- MEconomy mod (installed on MonkeyCraft)
- Admin or operator permissions
- Shop block (`/give @p meconomy:shop_block`)
---
## πͺ Step 1 β Enable Admin Mode
```bash
/meco admin
```
You should see: βAdmin mode enabled.β
---
## πΌ Step 2 β Create an Admin Wallet
```bash
/meco wallet create adminstore
/meco wallet setbalance adminstore 999999999
/meco wallet infinite adminstore true
```
This wallet will never run out of balance.
---
## π§± Step 3 β Place and Link a Shop
1. Place a **Shop Block** at spawn.
2. Right-click β **Set Wallet** β enter `adminstore` Β
Β Β or run:
```bash
/meco shop setwallet adminstore
```
---
## π° Step 4 β Add Items and Prices
Use `/meco shop addsell` to sell to players, and `/meco shop addbuy` to buy from players.
Example:
```bash
/meco shop addsell minecraft:bread 5
/meco shop addbuy minecraft:bread 2
```
> π‘ Tip: paste the full command list from the section below.
---
# π° Admin Store Item List
**Use these commands to populate your admin shop.** Β
Run them in console or as an in-game admin while your shop is selected and linked to the `adminstore` wallet.
---
## π§Ύ Command List
```bash
# === Tier 1 β Basic Survival ===
/meco shop addsell minecraft:bread 5
/meco shop addbuy minecraft:bread 2
/meco shop addsell minecraft:cooked_beef 8
/meco shop addbuy minecraft:cooked_beef 3
/meco shop addsell minecraft:apple 4
/meco shop addbuy minecraft:apple 1
/meco shop addsell minecraft:oak_log 3
/meco shop addbuy minecraft:oak_log 1
/meco shop addsell minecraft:cobblestone 2
/meco shop addbuy minecraft:cobblestone 0.5
/meco shop addsell minecraft:iron_ingot 15
/meco shop addbuy minecraft:iron_ingot 8
/meco shop addsell minecraft:coal 5
/meco shop addbuy minecraft:coal 2
# === Tier 2 β Tools & Building ===
/meco shop addsell minecraft:iron_pickaxe 45
/meco shop addbuy minecraft:iron_pickaxe 15
/meco shop addsell minecraft:iron_sword 40
/meco shop addbuy minecraft:iron_sword 12
/meco shop addsell minecraft:bucket 20
/meco shop addbuy minecraft:bucket 8
# === Tier 3 β Construction ===
/meco shop addsell minecraft:oak_door 5
/meco shop addbuy minecraft:oak_door 1
/meco shop addsell minecraft:brick 12
/meco shop addbuy minecraft:brick 5
/meco shop addsell minecraft:stone 3
/meco shop addbuy minecraft:stone 1
# === Tier 4 β Farming & Mob Drops ===
/meco shop addsell minecraft:wheat 3
/meco shop addbuy minecraft:wheat 1
/meco shop addsell minecraft:carrot 3
/meco shop addbuy minecraft:carrot 1
/meco shop addsell minecraft:leather 8
/meco shop addbuy minecraft:leather 3
# === Tier 5 β Ores & Minerals ===
/meco shop addsell minecraft:diamond 120
/meco shop addbuy minecraft:diamond 60
/meco shop addsell minecraft:emerald 100
/meco shop addbuy minecraft:emerald 50
/meco shop addsell minecraft:gold_ingot 25
/meco shop addbuy minecraft:gold_ingot 12
/meco shop addsell minecraft:netherite_scrap 500
/meco shop addbuy minecraft:netherite_scrap 250
# === Tier 6 β Utility ===
/meco shop addsell minecraft:ender_pearl 75
/meco shop addbuy minecraft:ender_pearl 35
/meco shop addsell minecraft:saddle 80
/meco shop addbuy minecraft:saddle 40
/meco shop addsell minecraft:elytra 2500
/meco shop addsell minecraft:shulker_shell 400
/meco shop addbuy minecraft:shulker_shell 200
# === Tier 7 β MineColonies ===
/meco shop addsell minecolonies:supplycampdeployer 500
/meco shop addsell minecolonies:supplyshipdeployer 500
/meco shop addsell minecolonies:buildtool 100
/meco shop addsell minecolonies:citizenhut 100
/meco shop addsell minecolonies:warehouse 250
/meco shop addsell minecolonies:buildershut 150
/meco shop addsell minecolonies:guardtower 200
```
---
# π§° Admin Store Troubleshooting & Tips
### π§© Shops not working for players
Ensure the wallet is linked correctly:
```bash
/meco shop info
```
It should show `Wallet: adminstore`.
---
### πΈ Items not buying/selling
- Check for typos in item IDs.
- Use `/meco shop remove <index>` to delete an invalid entry.
- Re-add with the correct ID.
---
### π Prevent grief or breakage
- Use FTB Chunks to claim and forceload the spawn area.
- Also verify `spawn-protection=24` in `server.properties`.
---
### π§± Backup your shops
The MEconomy folder stores all shop and wallet data in JSON.
Back it up with DriveBackup V2 or FTB Backups:
```
/ftb backups start
```
---
### π¦ Future Improvements
- NPC traders via **KubeJS**
- Auto-restocking or rotating βdeal of the dayβ shops
- Integration with the **Quest System** for player rewards