Page 1 of 1
Prevent certain votes for regular users
Posted: 24 Apr 2019, 21:57
by Pleinair
Hello,
I would like to prevent some votes in the server for non-admins, sometimes I go on the server and I see that someone has voted to remove the time limit (-1) and I always have to check that noone has messed with the settings.
How can I allow/forbid each vote based on the authorization level ?
Thanks a lot
Re: Prevent certain votes for regular users
Posted: 30 Apr 2019, 12:13
by ranig
Have you tried the Custom votes plugin? I am not sure but it might do what you want to do...
Re: Prevent certain votes for regular users
Posted: 04 May 2019, 18:43
by Pleinair
It does not work unfortunately.
What I'm trying to do is to remove the right for non-admins to change the time limit on the map: Every other day I join the server and I see that the time limit has been removed and I'm the only admin on the server. On the logs of the server I see that someone voted to set time limit as X.
What I would like to do is to prevent anyone from changing the time limit on the server (disabling the votes). And if possible, identifying who votes for this.
Re: Prevent certain votes for regular users
Posted: 04 May 2019, 21:10
by Miss
Check the
dedicated config, you should technically be able to disable votes for setting the time limit using "callvote_ratios". I think you're looking for the command "SetModeScriptSettings", but I'm not 100% sure.
Re: Prevent certain votes for regular users
Posted: 05 May 2019, 07:07
by w1lla
Hi,
try something like this but this was coded for manialive:
https://github.com/w1lla/ShootmaniaElit ... e.php#L557 to activate Callvotes.
to deactivate them:
https://github.com/w1lla/ShootmaniaElit ... e.php#L564
haven't tested them properly but you also might need to convert them to maniacontrol, but i believe its a combination of both as Miss described.
Re: Prevent certain votes for regular users
Posted: 19 May 2019, 17:11
by ranig
In game, open the admin settings, choose the tab "Vote Ratios" and put the "Change Script Settings and Commands" to -1. Should do the trick.