Valheim
0 of 0

File information

Last updated

Original upload

Created by

CodeWizards

Uploaded by

Mystery69

Virus scan

Safe to use

Tags for this mod

About this mod

Basic cheat prevention via plugin verification

Requirements
Permissions and credits
Basic AntiCheat for Valheim
Bepinex plugin for Valheim that prevents players from connecting to your server with mismatching plugins loaded.
Needs to be present on both, client and server.
You can still connect to servers not running the plugin.

Usage
- Install to client and server
- Make sure client and server mods in the `plugins` folder are identical
Configuration

- AdminBypass
Lets SteamIds of adminlist.txt join without verification.
- AdminId
Requires AdminBypass.
SteamId of server admin to bypass join verification, use Valheims adminlist.txt to add more than 1.
- VerifyAllModules
Checks all loaded plugins (also modules of other plugin loaders)
- ExcludeBepInExModules
Requires VerifyAllModules.
Excludes BepInEx modules from verification so people do not get kicked for using another BepInEx version (less secure)
- AllowConfigModules
Got plugins that don't play well on the server? Put them into <GameDirectory>\Bepinex\config\org.bepinex.plugins.codewizards.anticheat\ on the server and enable this setting in order to hash/allow them but not have them loaded/active.
- EnforceAllPlugins
Require all plugins to be present on clients.
Disable to run in 'whitelist mode'

Installation (manual)
If you are installing this manually, do the following
- Download [BepInEx Package] and follow it's installation procedure.
- Download AntiCheat
- Extract the contents of plugins folder into <GameDirectory>\Bepinex\plugins
- Run the game/server

Known Issues

- VerifyAllModules does not work on game versions older than 0.146.11

Planned/In progress

- Enforce mods present on the server [done]
- Display list of allowed mods after being kicked
- Runtime checks
- Heartbeat
- Configurable plugin configuration verification
- Allow whitelisting of specific mods on the server [kinda done]
- Properly handshake before verification (RPC) [done]
- Self integrity check
- API for 3rd party plugins

Changelog

0.2.10
- added EnforceMods setting
- fixed possible server crash
0.2.9
- probably fixed VerifyAllModules not working in conjunction with game version altering mods
0.2.8
- fix server crash for misbehaving clients
- fix custom disconnect error message not displaying
0.2.7
- updated for 0.148.7
0.2.6
- support server folder specific adminlist.txt (overwrite the 'global' one in appdata)
0.2.5
- update for 0.148.6
0.2.4
- fix synchronisation
0.2.3
- check game version on startup (might require console input)
0.2.2
- add verification of server-unsuited plugins
0.2.1
- Verify all modules setting
0.2.0
- Added admin whitelist
- Improved overall security
- Added config
0.1.1
- Update this readme
0.1.0
- Initial release