TugboatNotSafe
Rust / Server Plugins Tugboat Not Safe Eject tugboats from fishing village safe zones. Prevent players from using fishing villages as anti-raid parking for their tugboats. Automatically turn approaching boats away, apply gradual …
codefling.com
Rust / Server Plugins Tugboat Not Safe Eject tugboats from fishing village safe zones. Prevent players from using fishing villages as anti-raid parking for their tugboats. Automatically turn approaching boats away, apply gradual damage to boats that remain inside, or enable both modes together. Automatic expulsion Configurable damage No permissions or commands 01 / Video demo See Tugboat Not Safe in action Watch the demonstration of tugboat safe-zone enforcement. Watch on YouTube 02 / Operating modes Two ways to enforce your safe-zone rules Mode: Expulsion When a tugboat tries to enter the configured fishing village area, the plugin turns it 180 degrees and reverses its velocity, redirecting it away from the zone. Enable this mode to discourage entry immediately. When chat notices are enabled and a driver is present, the driver receives an expulsion notice. Mode: Damage Use gradual damage to discourage tugboats from remaining inside the area, including boats that manage to get past expulsion. A configurable grace period gives players time to leave before damage begins. Set the warning time before the first damage tick. Choose the interval between damage ticks and the amount of health removed per tick. Damage stops after the tugboat leaves the configured area. A configurable prefab effect plays at the boat when damage is applied. The two modes have separate configuration switches and can be enabled together. With damage mode alone, the driver receives an entry warning with the grace period and an exit confirmation when chat notices are enabled. With both modes enabled, the entry notice is the expulsion notice. Damage alerts are sent to the driver while damage is being applied. 03 / Zone controls Configure the area and its feedback Automatic fishing village detection: enforcement areas are created around fishing village monument positions when the plugin initializes. Configurable radius: set the size of the spherical enforcement area around each fishing village. This plugin-defined area follows the configured radius; it is not copied from the game's safe-zone boundary. Optional visible boundary: display the zone boundary to help check coverage and adjust your radius. Chat notices: enable or disable driver notifications. English and Spanish (es-ES) messages are included and can be customized through the plugin language files. Destroyed tugboat cleanup: configure a delay for removing tugboats destroyed by the damage system inside the enforced area. Set it to 0 to keep the game's default tugboat decay behavior. Debug logging: enable diagnostic output for zone entry, removal from zone tracking and the damage system. Coverage is centered on fishing villages. This configuration does not add enforcement to Outpost, Bandit Camp or arbitrary custom safe zones. 04 / Configuration Set the rules for your server No permissions or chat commands are required. Configure the plugin through TugboatNotSafe.json in your server's plugin configuration directory, then reload the plugin to apply your changes. The example below enables both modes, uses a 75-radius zone, gives a 60-second grace period and applies 100 damage every 15 seconds. It also sets a 20-second destroyed-tugboat cleanup delay. { "Global Config": { "Debug": false, "Notice in the Chat": true, "Zone Radius": 75.0, "Show Zone Boundary": false, "Mode: Expulsion (Eject tugboats when they try to enter the fishing village)": true, "Mode: Damage (Gradually damage Tugboats within the fishing village)": true, "Warning Time Before Damage": 60.0, "Time Between Damage": 15.0, "Amount Damage": 100.0, "Time in seconds to eliminate a destroyed Tugboat (Only in Safe Zone) [0.0 = Decay Default Tugboat]": 20.0, "Effects Prefab": "assets/prefabs/npc/patrol helicopter/damage_effect_debris.prefab" } } Setting What it controls Debug Enable diagnostic console logging. Notice in the Chat Send notices to the tugboat driver when one is present. Zone Radius Radius of each fishing village enforcement area. Show Zone Boundary Display the enforcement boundary. Mode: Expulsion (Eject tugboats when they try to enter the fishing village) Turn entering tugboats around and reverse their velocity. Mode: Damage (Gradually damage Tugboats within the fishing village) Apply periodic damage to tugboats remaining inside. Warning Time Before Damage Grace period in seconds before damage begins. Time Between Damage Seconds between damage ticks. Amount Damage Health removed per damage tick. Time in seconds to eliminate a destroyed Tugboat (Only in Safe Zone) [0.0 = Decay Default Tugboat] Cleanup delay in seconds. This example uses 20; the code default is 0, preserving normal game decay. Effects Prefab Prefab effect played at the tugboat on a damage tick. 05 / Support Keep safe-zone parking under control Choose expulsion, gradual damage or both, and tune the area, timing and feedback to suit your server. For problems, questions, suggestions or assistance, contact ninco90 on Discord. Tugboat Not Safe — original product artwork.
