There are two cargo commands:
/cargomoves items between a piloted cargo-enabled craft and nearby unpiloted chests.
/cargotransfertransfers items between two piloted, cargo-enabled crafts, e.g. between a cargo ship and train.
/cargotransfer command, pilots of cargo-enabled craft can move items between their craft and any other cargo-enabled piloted craft that is within 32 blocks.
Loading: To move items from your craft's chests to another piloted craft's chests, type
/cargotransfer load <name of other craft's pilot>.
Unloading: To move items to your craft's chests from another piloted craft's chests, type
/cargotransfer unload <name of other craft's pilot>.
Both commands will send a confirmation screen to the other craft's pilot, who can choose to accept or reject the item transfer.
/cargo command, pilots of cargo-enabled crafts can move items between their craft and nearby unpiloted chests/barrels, e.g. between a cargo ship and a storage room located in a cargo plot nearby.
By default, the command will only work with chests that are in the same chunks as the craft. It can work with chests that are up to 4 chunks away from the craft by specifying a radius at the end of the command.
The command only affects chests that are inside cargo plots that you have switch (chest opening) permissions in and the craft is also inside.
To set a plot as a cargo plot, stand inside it and type
/plot set cargo. Cargo plots will be marked with a ‘
Chests can be labelled using signs, allowing precise control over which chests are affected by the command.
To label a chest, attach a sign to it and type the label name on the first line of the sign. The capitalisation of the label does not matter, but it cannot have spaces.
Loading: To move items to your craft's chests from unpiloted chests, type
/cargo load [optional label of craft chests] [optional label of unpiloted chests] [chunk radius to check for unpiloted chests].
Unloading: To move items from your craft's chests to unpiloted chests, type
/cargo unload [optional label of craft chests] [optional label of unpiloted chests] [chunk radius to check for unpiloted chests].
all as the label means all chests will be affected.
/cargo unload All Potions
/cargo unload Supplies All 4
/cargo load Potions FireRes 3