Endless Cargo keeps a cargo ship on the map at all times. When one ship starts to leave, the next one sails in, so players never have to wait for the cargo event.
Ships spawn the same way Rust spawns its own cargo ship: offshore, at the water surface, on Rust's normal route, docking at the harbor.
Updated for the current Rust. Works on both Oxide and Carbon.
Features
- Always one ship. As soon as the current ship starts to leave, a new one is on its way. If Rust's own cargo event fires while a ship is out, the extra ship is removed, so there's only ever one.
- Rust's own spawning. A proper offshore start point, water level and harbor docking route, the same as the normal event.
- Leave when looted. Once every loot round has spawned and every locked crate on the ship has been hacked, the ship leaves after the number of minutes you set, and a fresh ship follows. Players on board are told when it will leave. 5 minutes by default; set 0 to turn it off.
- Cargo ship settings in one place. Event length, how long the ship takes to leave, loot rounds, time between loot rounds, and whether NPCs spawn on the ship.
- Tidy unload. Rust's cargo settings go back to what they were when the plugin is unloaded.
- Admin command to remove the current ship. A new one follows.
- Fast. No searching every object on the map; a light check every few seconds.
Permissions
endlesscargo.admin-- Can use/killcargo(server admins and the server console can always use it)
Commands
/endlesscargo-- Show what the plugin does and, for admins, the admin command/killcargo-- Remove the current cargo ship. A new one follows shortly.
Console: killcargo
Configuration
Default configuration:
{
"Update Rate (Seconds)": 5.0,
"NPC spawn on ship (Default true)": true,
"Egress duration in minutes (Default 10)": 10,
"Event duration in minutes (Default 50)": 50,
"Loot round spacing in minutes (Default 10)": 10,
"Loot rounds 1-3 (Default 3)": 3,
"Minutes before a looted ship leaves early (0 = off, Default 5)": 5.0,
"Enable Log file (true/false)": true,
"Log output to console (true/false)": true
}
Notes
- Loot rounds are kept between 1 and 3. More than 3 makes the ship's horn sound on every round and causes console errors (a game bug).
- Update Rate is how often the plugin checks the ship (minimum 1 second).
- Leave when looted counts a ship as looted once all of its loot rounds have spawned and every locked crate is hacked. It also works for a ship that was already looted before the plugin was reloaded.
- Updating from 1.1.x: the "How far off shore to spawn ship in grid blocks" setting is gone. Rust picks the start point itself now. Your other settings are kept.
Localization
English is included. Edit the messages or add your own language in the lang folder.
Credits
Written and maintained by OG61.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

