How to change permissions of comands ?

Python 3 Server Controller for Trackmania and Shootmania for script-only modes.

Moderators: TheM, toffe, NADEO

Post Reply
User avatar
SK
Posts: 27
Joined: 07 Oct 2018, 06:03
Contact:

How to change permissions of comands ?

Post by SK »

Hi there,

is it possible to change permissions from some comands, like "/kick" from player level 1 to player level 2 ?
If yes, where can i find the file, wich i have to edit ?
Image
HaagseSmurf
Posts: 2291
Joined: 13 Apr 2011, 19:46
Contact:

Re: How to change permissions of comands ?

Post by HaagseSmurf »

First of all its not possible!
Secondly,if you dont want operators to kick you should not get operators anyway in my opinion.
Why would you have an operator if he is not allowed to take measurements with players who should be kicked?
Operators cant ban but only kick, so therefore its only level 1.

When you make someone operator or admin on your server you should always do that because you trust that person.
When an operator or admin does stupid things the name of your server is on the line.
Also a good reason to never make someone operator or admin just because he wants that to be, its a task with responsibillities!
When you know you work with good trusted people it will only help to improve the quality of your server and therefore you should trust your operators to kick, your admins to ban etc etc etc

Good luck and take some wise decisions :thumbsup:
HaagseSmurf

Check Smurfen.net and / or Smurfen.nu for all info.
You can also like our facebookpage at FaceBook Smurfen.net.
Or just visit
our Smurfen.net Canyon servers,
the Smurfen.net Valley and Royalserver.
User avatar
SK
Posts: 27
Joined: 07 Oct 2018, 06:03
Contact:

Re: How to change permissions of comands ?

Post by SK »

i wanted to have the operator rank only use one comand, (for my gravity server).
bc its a bit hard for me to implement a new vote comand for changing gravity,

so my simplest solution i could think about was to give the operator only the ability to change gravity and nothing else.
Image
User avatar
Miss
Posts: 2151
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: How to change permissions of comands ?

Post by Miss »

I think a better solution would be to make a special role specifically for that purpose probably using some PyPlanet plugin.
3080 RTX, Ryzen 3700X, 32GB RAM, Windows 11
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
User avatar
SK
Posts: 27
Joined: 07 Oct 2018, 06:03
Contact:

Re: How to change permissions of comands ?

Post by SK »

Are there some informations out there, on how to add a new role to pyplanet ?
or is there a app wich can manage roles ?
Image
coLe2012
Posts: 4
Joined: 17 Jan 2020, 15:48

Re: How to change permissions of comands ?

Post by coLe2012 »

you can change it in the database
Post Reply

Return to “PyPlanet”

Who is online

Users browsing this forum: No registered users and 1 guest