azalty / sm-no-dupe-account

No Dupe Account is a plugin that prevents players from joining the server if they have a duplicate or recent account
https://forums.alliedmods.net/showthread.php?t=330779
GNU General Public License v3.0
8 stars 2 forks source link

Question with changes in plugin settings #44

Open crashzk opened 1 year ago

crashzk commented 1 year ago

Whenever I make changes to the plugin's config, whether in the no_dupe_account.cfg, no_dupe_account_advanced.cfg, any plugin configuration file, to take effect this change I need to turn off and on the server.

I don't know if this would be the correct function of the plugin, it only takes effect if you restart the server. I can't say whether it's something in SourceMod or No Dupe Account itself, but for me it's the only problem, I make changes to other plugins and change the map, it already works.

azalty commented 1 year ago

You need to reload the plugin using sm_rcon sm plugins reload no_dupe_account

Upon a map change, the plugin will be reloaded if the plugin file (not config) has changed

crashzk commented 1 year ago

I see, what is interesting is that I have others with the config in the cfg/sourcemod folder and when I edit the plugin settings and just change the map the new settings take effect, an example of a plugin would be WarMod [BFG].

Anyway, in any case thank you!

azalty commented 1 year ago

Might be because the plugin uses a custom lib to handle cvars, I should take a look at that as auto reloading is nice (even though it can have some impact on the server)