In creating my RPG Base plugin, I’ve been thinking about possible hacks and how to stop them. Can anyone think of more?
Hack: Player lags, buildings don’t load in, player ends up inside building.
Solutions: Simulate movement on the server, where the buildings are loaded.
Hack: Player (somehow) loads loot chests before obstacles and enemies, can get to chests without needing to get in the building or defeat enemies.
Solution: For obstacles, simulate the movement on the server, somehow make sure the player has streamed in buildings before “lootables”. Not sure about how to ensure enemies are spawned.
And then there are item duplication exploits but I don’t even know how they work?