Patrol Boat for Rust

Patrol Boat for Rust 1.0.21

*** Delete your config file first !!! Some of the config options have been changed ***

Remember : Players will need to type culling.env 0 in there F1 console if they have issues with chairs becoming invisible sometimes. :)

Removed a few things and added a few things to fix performance issues.
- Removed culling fix coding. Was causing performance issues.
- Removed Doors and ladder, will revisit as soon as I can get a workaround for the culling issue
- Removed Check when players mount chairs.
- Boat code lock is working. Setting a code and locking lock will prevent anyone from piloting the boat. Code does save on restarts and reloads. And it auto locks itself after reload / restart. So owner does not have to worry about boat being stolen.
- Unlocked boats can be piloted by ANY authorized patrol boat players.. so lock them down !!
- Search light is fixed.. players where unable to move boat when light was on. now it should be working fine without the null errors.
- chat command /patrolboat.light will toggle search light on and off while seated in pilot chair.
- fixed a few other coding issues that could cause null issues.

Remember, Boats will spawn Locked. So they will not move initially. There is no initial code, just unlock boat and use it, then just add your own lock code. Any code added will be saved on reloads/restarts.

Try it out. the performance seems much better, other than the chairs can go invisible at times.. lol
  • Like
Reactions: Mimmo
- Fixed issue where fuel GUI would not go away when you dismounted from the Patrol boat.
  • Like
Reactions: Mimmo
**** If you have any issues, please delete your config file AND Language File and reload plugin ****
- EDIT : Also added new config option for No fuel needed to run boats !!!!!
- Added new permission - patrolboat.admin
- Added new command /patrolboat.destroyall - this will remove ALL patrol boats on your server. You will need the patrolboat.admin permission to use this.
- Autoturret will now Autoauthorize the builder of the boat automatically. Now you wont get shot by your own boat !!!! .. it happens. lol
- Tweaked some coding to combat a few player bugs. sometimes if player dismounts too fast and there is a little latency, the plugin does not see player as removed from boat, but player does appear to be dismounted fine in client.. causing some wacky nonsense that might require heavy drinking to really appreciate it.. :) ..LOL ok, just kidding. I hope it helps a little.

I am still working on porting some of the new Rowboat mechanics over to the Patrol Boat.. it does not like to do that I am finding.. I don't think Building blocks where meant to move very far.. lol but ill keep on it.
  • Like
Reactions: Mimmo
- changed splash effect to the new rowboat effect
- recoded a little bit for the culling issues. Seems to be much better after the last update. test it out and see.
- added some coding tweaks and stuff..
This does not convert patrol boat to work like the rowboat.. I will be seeing what I can and can't use from the rowboat to improve this boat soon !!!!
  • Like
Reactions: Mimmo
** Please Delete config files and reload plugin is you have any issues **
Patrol Boat - updated to Version 1.0.7

- Added config options to turn off splash effect, effect is OFF By default. with large number of boats,, it could have a small impact on performance.
- Added config options to allow ANY passenger. No permissions needed at all.
- Added config options to allow ANY Pilot, No permissions needed at all. Does not override the Only Builder can Pilot config option.
- Correct coding for player authorization when trying to sit in chairs.
- Tweaked some coding to help boat server performance impact.
- added OwnerID of builder to all parts on the boat when building.
- tweaked the coding for /patrolboat.destroy to work better.
  • Like
Reactions: Dave and Mimmo
- Added Glass Windows and Doors !!!!! Now you can actually kinda hide in the boat and NOT get shot. Players can place there own locks on the doors and they will move around fine with boat. Only downside, any placed locks are not saved on plugin reload or server restarts. yet.
- Tweaked some coding to help prevent boat skin refresh while no one is seated. This could have caused slight performance issues or not able to interact with locks/boxes/turret/light on boat.
  • Like
Reactions: Mimmo
** Due to config file changes, if you have any issues, please delete config file and reload plugin **

- Added Boat builders ID to Turret and Search Light as OwnerID so they are now owners it. Might help with other plugin compatibility a little. (remote turrets, remote lights.. etc...)
- Raised Pilots chair a little bit for better view.
- Added Configuration option to turn off my built in Culling Fix (which can cause twitchiness when driving boat) . Server Owners have the option to turn this off and tell players to manually turn off culling in players rust console with F1, and in console type culling.env 0
  • Like
Reactions: Mimmo
** Due to config file changing, If you have any issues, please delete your config file and reload plugin *****
- Added 2 small rear decks players can use to step up on when climbing into Boat from water.
- Added configurable Start Engine Fuel Amount to configuration.
- Added configurable Start Search Light Fuel Amount to configuration.
- Added ladder on back cabin so players can get on to roof much easier than telepathy or wishful thinking :)