On Nations, selected crafts can use cargo mechanics to quickly load and unload items. These are Cargo Ships, East Indiamen, Caravels, Trucks, Icebreakers, Trains, Armed Merchantmen, Harvesters and Zeppelins.
There are two cargo commands:
/cargo
moves items between a piloted cargo-enabled craft and nearby unpiloted chests./cargotransfer
transfers items between two piloted, cargo-enabled crafts, e.g. between a cargo ship and train.
Using the /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 to your craft's chests from another piloted craft's chests, type:
/cargotransfer load <name of other craft's pilot> [optional label of your craft's chests] [optional label of the other craft's chests]
Unloading: To move items to your craft's chests from another piloted craft's chests, type:
/cargotransfer unload <name of other craft's pilot> [optional label of your craft's chests] [optional label of the other craft's chests]
Both commands will send a confirmation screen to the other craft's pilot, who can choose to accept or reject the item transfer.
Using the /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 ‘C
’ on /towny map
.
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]
Cargo signs will automatically execute /cargo
when right-clicked, saving you from repetitive typing.
They are formatted as follows:
[CargoLoad]
(for loading) or [CargoUnload]
(for unloading)Example:
Right-clicking this sign is equivalent to typing
/cargo load Gunpowder MilitarySupplies
Chests can be labelled using signs, allowing precise control over which chests are affected by both cargo commands.
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.
Setting all
as the label means all chests will be affected.
Load all items from Zaify's craft, depositing them to any chest on your craft:
/cargotransfer load Zaify
Load items from Zaify's crafts in chests that are labelled “Potions”, depositing them to any chest on your craft
/cargotransfer load Zaify All Potions
Load items from Zaify's crafts in chests that are labelled “Potions”, depositing them to chests on your craft labelled “Supplies”
/cargotransfer load Zaify Supplies Potions
Move items from all craft chests to unpiloted chests labelled “Potions”
/cargo unload All Potions
Move items from craft chests labelled “Supplies” to all unpiloted chests in a 4 chunk radius of your craft
/cargo unload Supplies All 4
Move items from unpiloted chests labelled “FireRes” in a 3 chunk radius of your craft, to craft chests labelled “Potions”
/cargo load Potions FireRes 3