Rafts for Rust

Rafts for Rust 1.0.31

- Added fix for parts becoming missing or invisible at times.
- recoded checks to see if boat is still in water
- significantly reduced coding size by refactoring refresh check.
  • Like
Reactions: godankorgohome
- Fixed issue where server would give warning message about could not find dismount position. Adjusted roof height to allow players to dismount without getting too close to the roof.
- Adjust roof poles slightly so they will be on inside of Sidewalls, Now they will not show thru painted walls.
- Added Option to use Raft Stash or not.
- Added Config option to turn the Raft stash usage of and on.
- fix for players not being able to sit in passenger seats. (LOL my bad)
- Change !! - /raft.destroy will destroy player raft where ever it is in the world. player does not need to be seated. I will be adding a better ownership system and better scrapping of raft soon.
- fixed blocking of boats being able to sail past the deadzone of 4000 X or Z (positive AND negative cords )
- fix for non owners being able to sit in pilot chair if the Allow Only Owner is set to True in config.
- fix for players sitting in passenger chairs getting message they are now captain.
- Added Random Deep Ocean Loot spawns when boat is moving past 2000 X or 2000 Z coordinates in the world. For now its just a loot crate that will spawn in the water randomly. I will add more for this. Loot crates will de spawn after a brief period if not looted.
- Config option to turn Random Deep Ocean loot spawns has been added. True will enable. False will disable the loot spawns.
- Added fix for raft being destroyed by placing construction next to it, or destroying something close to the raft. among other things.
Still watch placement of new construction, you can block your boat in and not be able to move it without removing the new construction.
- Fixed issue with Sailing Mode and not colliding with land to stop boat.
- Added Boat Wake splash FX when moving boat.
- Rockets and stuff no longer go thru walls and floors.
- few other tweaks.

Edit: Seems I fixed the issue with Sign Artist. they seem to be working now on the raft :)
Current Rafts may not save, But all rafts built after updating should be fine.
- Added persistence to allow rafts to be saved in world at there current upgrade level. Restarting server or reloading plugin will respawn rafts in at there current position with current upgrades.
- painted sign textures are NOT saved yet, you will have to repaint them for now.
- should have fixed the issue where using /raft.setsail would not toggle sometimes.
- added better movement control so it does not seem you can only rotate or move boat.. was clunky but hopefully feels better now.

Note: when reloading plugin. There is a slight delay to remove and respawn rafts. Fyi
- Fixed issue where players could not build another raft if raft was destroyed by world, or by entkill.
- Added Small Stash Container under chair, pilots can hide / unhide stash from others view with /raft.stash (although stash does remain visible to player, if "hidden" it is not seen by others)
Note : any authorized pilot for that boat can hide/unhide stash. so if you do not have only owner can use, if someone takes the raft over, they can toggle it too.
- Added /raft command, this will bring toggle the help text on players screen with all available commands.
- improved collision detection
- raft can travel up and down rivers now, as long as its not too narrow of course :)
- player will auto mount raft when building it.
- destroying raft will return some wood back to player
- default config set to allow only 1 active raft per player. can disable in configuration.