I patched a bunch of server RPCs that some people use to break public lobbies.
For example:
- Sending the wrong SteamID to the server to prevent getting kicked.
- Turning ship unlockables on their sides.
- Spamming chat as another player.
- Doing melee damage to another player across the map.
- One-shotting people with melee damage.
- Faking server messages.
- Using Text Tags to break the chat.
- Force ending the game while they are dead or too far from the lever.
- Grabbing items from a distance further than the hosts grab distance.
- Voting to leave early multiple times to force the ship to leave.
Fixed a lobby crash when someone calls SyncShipUnlockablesServerRpc (usually on join) when on a moon with light switches separate from the ship. It could be called by normal clients at the wrong time if they join the game right as you pull the lever.
There is also an option to log melee PvP damage and also an option disable PvP in the ship to help prevent hard griefing.
You can also log signal translator messages so you can see what client sent the message.
I use it with Lethal Admin so I can kick/ban the correct player based on their player number, not just their name.
https://thunderstore.io/c/lethal-company/p/CharlesE2/HostFixes/
https://github.com/Charlese2/HostFixes
Added role