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
Prevent certain votes for regular users
Moderators: Jocy, Wabbitface, steeffeen, NADEO
Re: Prevent certain votes for regular users
Have you tried the Custom votes plugin? I am not sure but it might do what you want to do...
Your Trackmania resource for Nascar racing http://www.tm-nascar.com
Re: Prevent certain votes for regular users
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.
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
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.
3080 RTX, Ryzen 3700X, 32GB RAM, Windows 11
Forum moderator, opinions are my own.
Check out openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
Forum moderator, opinions are my own.
Check out openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
- w1lla
- Posts: 2396
- Joined: 15 Jun 2010, 11:09
- Manialink: maniaplanetblog
- Location: Netherlands
- Contact:
Re: Prevent certain votes for regular users
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.
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.
TM² Info
SM Info
QM Info
OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
SM Info
QM Info
OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Re: Prevent certain votes for regular users
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.
Your Trackmania resource for Nascar racing http://www.tm-nascar.com
Who is online
Users browsing this forum: No registered users and 1 guest