- check_circle Functions
- 35,861 views, 26 today
- 3,873 downloads, 1 today
145
Mr_Chibi’s Player’s Shops Older Versions Notice:
- If you're using any older versions of this datapack! Please, ensure you remove all shops and entitys that were from past versions.
- This is a brand new entire rewrite of pack having tons of bug fixes and features.
Find a bug? Like to report it?
Mr_Chibi’s Player’s Shops
- Mr_Chibi’s Player Shops is a Minecraft Datapack!
- It’s Singleplayer & Multiplayer Friendly!
- Creates a chest contain NBT data for players to interact with.
What Unique Features does pack offer?
- Allows Player’s to interact with chest to shop in chat when chest is right clicked.
- Shop owners can put their shops in “lock” mode to have their shop open.
- Shop owners can put their shops in “unlock” mode to edit chest contents and pick up their payments preventing thief from other players.
- Limit 1 stack per shop slot.
- Shops are linked to Player’s UUID & Shops UUID only the shop owner can remove them.
Selling & Buying Slots:
Example, Below:
[Buying Slot] (Place “1” Item/Block)
[Selling Slot] (Can hold “1-64” Blocks/Items)
[Payment Slot] (Empty by default where user payments end up)
- First, rows are for Buying Item only place 1 Item into that slot!
- Second, rows are for Selling Items only place 0-64 Items into that slot!
- Third, rows are for Payments From Players Where shop owners collect there goods.
How it works:
- Step 1: /trigger ps_create
- Step 2: “Right Click” chest by default “lock” mode is on when created.
- Step 3: /trigger ps_unlock Unlocks chest allowing shop owner edit it’s contents.
- Step 4: /trigger ps_lock Locks shop allowing player’s to shop.
- Step 5: Player interacts with shop GUI in chat, clicks 1, 2+ then does following below:
- Step 6: /trigger ps_buy set [amount] Locks shop allowing player’s to shop.
- Step 7: All payments are stored inside chests on bottom slot, beneath [Selling Slot]
- Step 8: /trigger ps_remove Removes shop if you won’t want sell items anymore.
Admin Commands:
To enable "administrator mode" server operator must toggle following command: /team join ps_admin [username]
To disable "administrator mode" server operator must toggle following command: /team leave [username]
Example, below is a list of Admin Commands:
- /trigger ps_unlimited - Admin selects a "page" from players shop and makes sell item unlimited!
- /trigger ps_limited - Admin selects a "page" from players shop and makes sell item limited back way was originally!
- /trigger ps_unlock - Allows Admins to override other players shops closing them.
- /trigger ps_lock - Allows Admins to override other players shops opening them.
- /trigger ps_remove - Allows Admins to override other players shops and remove them.
Player Owned Shop Commands
List of commands that "shop owners" can use while in 0-2 block distance.
- /trigger ps_remove - Removes a shop linked from players matching UUID.
- /trigger ps_edit - Toggles GUI, with particles for player to toggle around their chest shop.
- /trigger ps_lock - Locks, their chest allowing players to shop by right clicking the chest.
- /trigger ps_unlock - Unlocks, shop owners chest, but prevents players from entering. Teleporting them outside shop if trying to enter.
Player Shop Commands
Commands players don't own shops or need help.
- /trigger ps_help - Displays a list of player shop commands.
- /trigger ps_create - Creates a shop linked to players UUID.
Player Shop Guest Commands:
Commands "Shop Guests" can use while in 0-2 block distance.
- /trigger ps_buy set [amount] - Allows player buy in amounts.
Stuck in Adventure Mode?
- If player is a Guest at another Player’s Shop. They’ll be put into Adventure Mode Just walk outside shops range 8-9 blocks and problem should be resolved.
Compatibility | Minecraft 1.20 |
Tags |
11 Update Logs
Player Shops Version 1.20.4 : by Mr_Chibi 01/02/2024 11:24:58 pmJan 2nd
Technical Changes
Quality of life changes and updating code 1.20.4
- Updated datapack version, 26
- Player's Shop Name Hanging Sign - Displays player's name on hanging sign.
- Floor Entity Spam - Removes any Entities from shop having issues with floor entities example, seeing "minecraft:paper" unpickable.
- [Right Click] Sign Purchases - Player, right clicks chests selects page [1-9] and right clicks sign once to do a 1x purchase or you can do via command: /trigger ps_buy set [amount]
- Updated block/item list to support 1.20 blocks and have current 1.21 update blocks in separated for next update.
Bugs Patched:
- Players can now have any amount of items in their inventory and shop at others shops without being limited to holding "64" items.
LOAD MORE LOGS
tools/tracking
4869624
119
player-shops-4869624
Create an account or sign in to comment.
The [Sell] Slot I can only allow 1-64 cause of vanilla mechanics.
Shop design is allow players to have 9 pages to buy/sell items example, below:
Page 1:
- Buying 1 [Item] First Column, First Row, Slot Chest
- Selling 1-64 [Item] Second Column, First Row, Slot Chest
Page 2:- Buying 1 [Item] First Column, Second Row, Slot Chest
- Selling 1-64 [Item] Second Column, Second Row, Slot Chest
etc.I've added bugs to bug tracker on my github will patch them when I have time!
TPS bar on f3 + Alt green its amazing.
Anyone know anyway to fix?
If Player B buys from Player A's shop, no payment is obtained.