Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question with changes in plugin settings #44

Open
crashzk opened this issue Mar 20, 2023 · 3 comments
Open

Question with changes in plugin settings #44

crashzk opened this issue Mar 20, 2023 · 3 comments
Labels
question Further information is requested

Comments

@crashzk
Copy link
Contributor

crashzk commented Mar 20, 2023

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.

@crashzk crashzk added the question Further information is requested label Mar 20, 2023
@azalty
Copy link
Owner

azalty commented Mar 20, 2023

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
Copy link
Contributor Author

crashzk commented Mar 20, 2023

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
Copy link
Owner

azalty commented Mar 21, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants