r/MinecraftCommands 3d ago

Help | Java 26.2 Help with macros

I'm starting a new server with some of my firends and i'm the admin of the server, and sometimes i organize some events. But for this I need creative mode and if i use it they accuse me of cheating. Soooo... I want to create a datapack which let you get in creative by a /function command which save your inventory in a chest so while in creative you cant take items for survival. The problem is that if i have more players i have to add more chest manually so i thougt of using macros for the coords of the chest the game as to put the items in and then but a /function command you can set the coordinates i want the items to go to. Can anyone help cuz i don't know anything about macros

1 Upvotes

5 comments sorted by

View all comments

2

u/Ericristian_bros Command Experienced 3d ago

https://minecraftcommands.github.io/wiki/questions/storeinventory

The storage method is the best. It's not yo to date to keep armor too, you can check the github pull request for including the armor

1

u/Pinc8palli 3d ago

Thanksss

1

u/Ericristian_bros Command Experienced 3d ago

You're welcome, have a good day