Go to file
bmgjet 99a145cd12
Version 1.0.4
2021-08-01 17:35:29 +12:00
BCargo.cs Version 1.0.4 2021-08-01 17:35:29 +12:00
README.md Update README.md 2021-07-04 13:22:44 +12:00
screenshotbcargo.jpg screenshot 2021-07-04 13:16:39 +12:00

README.md

BCargo
Blocks Cargoship from leaving while it is within a blocked area.
Allows to set a static spawn position for the cargo to stop it running though islands on its way into the nearest path node or to have it come down a river
Add support for auto leveling of cargo when using tides plugin to stop it sinking below water level or flying in the air.

How to use:
Join your server and add some blocking nodes.
This is done by typing /bcargo add
It will add a blocking node where your player currently is and with a radius thats been set by LeaveBlockDistance value (default is 120)

You can remove blocking nodes with the command /bcargo remove 0
That will remove the last node placed. Using a number of the node instead of 0 will remove the selected node.

You can view the cargos default path by typing /bcargo view
This will show default path nodes as blue and your blocking nodes as red.




To set a static spawn location for cargo incase you lots of islands on the outside of cargoships path or you want it to come down a river first.
Go to that location as a player with the BCargo.admin permission. Then type /bcargo spawn and it will set that as its static spawn location.
You can enable/disable use of this manual spawn spots with the command /bcargo spawn on or /bcargo spawn off

If you are using the tides plugin you will have the issue of the cargoship stays at the same height as when it spawned. This means it will sink under water if it spawned at low tide. Or fly in the air if it spawned at high tide.
Enabling this function will allow it to auto reheight as its traveling its path.
( "Enable auto leveling for tides plugin : "true,)

Once you are happy with the node path you have set out for blocking use the command
/bcargo save
to save all changes you have made.


Permissions: (Needed for chat commands)
BCargo.admin

Chat commands:
/bcargo help          --- Will show a list of commands and there description.