Garry's Mod Integration
Download Link: https://github.com/matbyte-com/vyhub-gmod/releases
Compatible Admin Mods
- xAdmin (1/2)
- ULX
- ServerGuard
- SAM
- FAdmin
- Maybe more
Installation
- Clone the repo into your
addons/
folder. Alternatively, download the ZIP archive from GitHub. - Rename
lua/vyhub/config/sv_config.lua.example
tosv_config.lua
- Edit
lua/vyhub/config/sv_config.lua
: - Set
VyHub.Config.api_url
to your API URL. You can find the URL at the instance details on https://vyhub.net. - Set
VyHub.Config.api_key
to the serverbundle API key you can get atAdmin
->Settings
->Servers
->Serverbundle
. - Set
VyHub.Config.server_id
to the ID of the gamserver this addon is installed. It can also be found atAdmin
->Settings
->Servers
.
Group Sync
User groups are automatically synced. For this to work correctly, the serverbundle must be in multigoup: disabled
mode.
VyHub group names can be mapped to in-game groups at the Advanced Properties
tab in the group settings.
Troubleshooting
Broken Bans/Unbans
Problem: Every few seconds the server tries to send a ban to VyHub, but the ban data is malformed, which causes the request to never succeed.
Solution: Delete the file data/vyhub/ban_queue.json
.