/goop containers access <container> [player] [w x y z]
For other container types, use /goop containers open.
Internal name of the Container Template to open.
Use OPEN_ONLY keyword to open any container that already is in that block.
If there is no container in that block, a new one will be created, and saved in there, in order to open it with this command.
Name of the player who will open this physical container.
The one who is running the command if not specified.
The location you are opening the Physical Container at.
The location you are looking at if unspecified
Physical containers save the items into a location. Using this command, you can see the items saved at a location.
To open other types of containers, use /goop containers open
If the location stores no items in it yet, this command will create a new storage there, and then open it for you.
To avoid creating a new one, and just opening whatever is already there (if there is anything), use the OPEN_ONLY keyword instead of a container template internal name for the <container> argument.
Breaking the block a container is saved at causes it to drop its contents.
Because of this, the block will become protected under the <player>'s authority when a storage is created.
Only the owner will be able to break this block thereafter.
Running this command from a GooP CustomStructure will protect the entire structure, more info in here.
You may use ~s when specifying the location. This will be taken as the specified player's position.
Because of the addition of world, the player location will be ~ ~ ~ ~ (note if you are used to the vanilla ~ ~ ~)
All but the world tilde can still perform sums (Ex. ~ ~ ~3 ~ will target 3 blocks above the player)
Alternatively, you may use ^ which targets the location the player is looking at.
Thus, the location the player is looking at is ^ ^ ^ ^ (which is technically no different than ~ ^ ^ ^)
Can still perform sums just like the tilde counterparts
HOWEVER there is one thing to note: Adding a positive integer value after the world one will limit how far the player can look at.
This is because with ^ ^ ^ ^, a player could be looking at a mountain far away.
You may use ^30 ^ ^ ^ to target the location the player is looking at, but the command will fail and not do anything if this location is beyond 30 blocks away. Value may have a decimal, but must not be negative.
Just cuz, using ~30 ^ ^ ^ has the opposite effect - target must be more than 30 blocks away for the command to not fail.
And, obviously, using ~20^30 ^ ^ ^ means the target location must be within 20 and 30 blocks.
/goop containers access FLOWER_POT Wammets world 20 67 -1208
Player Wammets will access the storage of the container saved at 20,67,-1208 in world world, as a flower pot.
/goop containers access IRON_CHEST cocopad ~ ^ ^ ^
Player cocopad will access the storage of the block he is looking at, as an iron chest.
/goop containers access IRON_CHEST cocopad ~ ~ ~ ~
Player cocopad will access the storage of the block he is at, as an iron chest.
/goop containers access OPEN_ONLY atuosto ~ ^ ^ ^
If atuosto is looking at a block that has a Physical Container associated to it, they will open its storage.
These commands will fail if the player does not have perms to open that container under the protections system, similar to chest protections, that prevents people from stealing from each other.