Minecraft Data Packs / Server Utility

Player Shops Remastered 1.20.4

  • check_circle Functions
  • 35,861 views, 26 today
  • 3,873 downloads, 1 today
Mr_Chibi's Avatar Mr_Chibi
Level 60 : High Grandmaster Programmer
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.
CompatibilityMinecraft 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

Create an account or sign in to comment.

2
11/12/2023 3:56 pm
Level 1 : New Crafter
Sir_Laffzalot
Sir_Laffzalot's Avatar
This is god tier
1
11/13/2023 4:06 am
Level 60 : High Grandmaster Programmer
Mr_Chibi
Mr_Chibi's Avatar
Nawl ^-^"
2
05/21/2023 8:54 am
Level 1 : New Miner
anonpmc4300220
anonpmc4300220's Avatar
[deleted]
1
05/21/2023 11:09 am
Level 60 : High Grandmaster Programmer
Mr_Chibi
Mr_Chibi's Avatar
The [Buy] Slot, I only permit 1.
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.
1
05/11/2023 12:02 am
Level 60 : High Grandmaster Programmer
Mr_Chibi
Mr_Chibi's Avatar
For comment section below,
I've added bugs to bug tracker on my github will patch them when I have time!
2
05/05/2023 9:40 pm
Level 70 : Legendary Programmer
Gamingbarn
Gamingbarn's Avatar
I'm looking forward to the new update! I've been struggling to find a good player shop datapack/plugin, but this looks like exactly what I want!
2
05/08/2023 11:09 pmhistory
Level 60 : High Grandmaster Programmer
Mr_Chibi
Mr_Chibi's Avatar
Just finished hour ago it's ready for use. Let me know if u encounter any bugs i been trying my best prevent any issues.

TPS bar on f3 + Alt green its amazing.
2
05/06/2023 9:43 am
Level 60 : High Grandmaster Programmer
Mr_Chibi
Mr_Chibi's Avatar
I've spent a solid almost 2 months reprogramming everything. Just doing some polishing and final features. The online wiki is up to date with new features.
1
02/19/2023 10:38 pm
Level 1 : New Explorer
CyoExistsNearYou
CyoExistsNearYou's Avatar
There is a bug where you can only buy and item from an admin shop once, (Playing on server 1.19.3 (Minehut))
Anyone know anyway to fix?
1
12/29/2022 1:11 pm
Level 1 : New Miner
Reilativity
Reilativity's Avatar
Experienced a bug where Player A made the shop, and purchased items from his/her shop. Payment will be received.

If Player B buys from Player A's shop, no payment is obtained.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome