Greetings, feudalists!
BasilMod::SteamGroup is a white-listing mod.
Players can play on your server only if they have joined configured steam group.
If player is not in the steam group, he will not be allowed on your server.
This is server-side only mod.
This mod
does not require BasilMod::Pack.
This mod is part of
BasilMods bundleServer-side installation and configuration.
Spoiler
Find latest version here:
https://www.dropbox.com/sh/85hsm9kpv589 ... RNDha?dl=0Installation.
- Download and place mod files into "BasilMod/steamgroup/" folder of server root.
- Add this line to the end of file "main.cs" of the server:
- Code: Select all
exec("BasilMod/steamgroup/steamgroup.cs");
If you are using BasilMod::Pack, place this line after BasilMod::Pack load. - Update your config.cs configuration file with info.
- Start server.
Configuration.
- You need to setup steam group url, and message text.
- Start server.
- If configuration is changed, you can reload config by executing this command at server:
- Code: Select all
exec("BasilMod/steamgroup/steamgroup.cs");
Available variables at config file:
- $BasilMod::steamgroup::updateInterval - Update interval to check for steam group updates.
- $BasilMod::steamgroup::groupurl - URL of the steam group
- $BasilMod::steamgroup::declinetext - Text to be shown for players who are not in group.
Example config:
- Code: Select all
$BasilMod::steamgroup::updateInterval = 60;
$BasilMod::steamgroup::groupurl = "http://steamcommunity.com/groups/KoA_LiF";
$BasilMod::steamgroup::declinetext = "You should join our steam group https://steamcommunity.com/groups/KoA_LiF to play on this server!";