-
Notifications
You must be signed in to change notification settings - Fork 2
Downloading and updating
azalty edited this page Nov 7, 2021
·
6 revisions
This wiki page learns you how to download and update NDA properly.
- Download the latest stable release by downloading the file that looks like
sm-no-dupe-account-X.X.X.zip - Download the optional plugins if you don't have them and if want them, here is a tip:
- SteamWorks allows you to make web requests, for example to the Steam API or to the VPN detection API. It is recommended to download it, as most features of NDA need it. Make sure you don't have it installed already.
- DiscordAPI allows the plugin to send discord webhooks to your discord server, to warn you that someone is using a VPN, or someone is community banned for example (you can configure it in the config file). It is optional, and you should only really install it if you want discord webhooks.
- Read the release page to see if there is any instruction or note.
- Merge all the folders along with their content inside
addons/sourcemod/, except the.githubfolder. - Configure
addons/sourcemod/configs/no_dupe_account.cfgto your liking. Every info you need is written inside, as well as some examples. If you still need help, open an Issue! - Load the plugin using these commands:
- Load from the server's console:
sm plugins load no_dupe_account - Load from your in-game console:
sm_rcon sm plugins load no_dupe_account(rcon permission required:morzflag)
- Load from the server's console:
- Loading the plugin will create another config file. Go to
cfg/sourcemod/no_dupe_account.cfgand edit the variables. Every info is given inside it. You might also want to read the FAQ. - Read the Database guide if you want to set-up a database. It is not required, but it allows the plugin to cache your player's values in order to avoid doing a lot of requests. It also allows your players to make their profile private again while still being able to join your server in case you required them to make their profile public.
- Reload the plugin using these commands:
- Reload from the server's console:
sm plugins reload no_dupe_account - Reload from your in-game console:
sm_rcon sm plugins reload no_dupe_account(rcon permission required:morzflag)
- Reload from the server's console:
Congratulations 🎉! You have finished!
Updating NDA efficiently and without breaking anything can be a little hard too if you don't know what you're doing.
Just follow those instructions:
- Follow the download instructions as usual, but manually edit your config file inside the
configsfolder instead of merging it if you want to keep your config (in case it changed). - If any new cvar have been added, back up your
cfg/sourcemod/no_dupe_account.cfgfile by renaming it likeno_dupe_account.old.cfg. Cvars' syntax and the meaning of their values can change to between updates. I recommand using a text editor that allows comparisons between two files (Notepad++ with the Compare plugin for example). - If NDA is already started, reload it. If not, load it (check the commands in the Download instructions). NDA supports late-loading (loading mid-game, without restarting the server or changing map)
- If you backed up your cfg/ config file, edit the new one that have just been created. Help yourself with your old config file. After editting this config file, reload the plugin again.
To update to a Beta version, check the Beta versions wiki page