Raised This Month: $12 Target: $400
 3% 

Command permissions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lilpetri
Member
Join Date: Nov 2016
Location: The Netherlands
Old 03-19-2017 , 15:58   Command permissions
Reply With Quote #1

Hello, on my server players can buy VIP. They will be given the flag "r".


I was planning on adding some VIP only commands with for example with the following plugin:

https://forums.alliedmods.net/showthread.php?p=1778032

I tried adding them to the admin overrites file, without any succes. This is my admin_overrides.cfg:

Code:
Overrides
{
	"votekick"	"r"
	"voteban"	"r"
	"votemute"	"r"
	"votegag"	"r"
}

Could someone please help me?

Thanks in advance!

Last edited by lilpetri; 03-19-2017 at 15:59.
lilpetri is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 03-19-2017 , 18:55   Re: Command permissions
Reply With Quote #2

what kind of idiots do you take us for? https://forums.alliedmods.net/showthread.php?t=295221

Last edited by hamilton5; 03-19-2017 at 18:55.
hamilton5 is offline
lilpetri
Member
Join Date: Nov 2016
Location: The Netherlands
Old 03-20-2017 , 16:21   Re: Command permissions
Reply With Quote #3

Quote:
Originally Posted by hamilton5 View Post
what kind of idiots do you take us for? https://forums.alliedmods.net/showthread.php?t=295221
The reason why I reposted it without those plugins is, because I realise now that those plugins are NOT allowed... I do not think you guys are idiots and I respect all the users and moderators. I couldn't figure out how to remove it.

Last edited by lilpetri; 03-20-2017 at 16:24.
lilpetri is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 03-21-2017 , 09:43   Re: Command permissions
Reply With Quote #4

What does "without any success" mean? Do your Vips have the r flag? Are the commands working for a rootadmin (Flag z)
__________________
micazoid is offline
lilpetri
Member
Join Date: Nov 2016
Location: The Netherlands
Old 03-21-2017 , 12:52   Re: Command permissions
Reply With Quote #5

Quote:
Originally Posted by micazoid View Post
What does "without any success" mean? Do your Vips have the r flag? Are the commands working for a rootadmin (Flag z)
Thanks for your reply!

Yeah so I assigned all the commands to the flag "r". But when I restarted the server everybody could still do the command. And yeah, people with the "z" flag could still execute the command.

In the original post of this thread I posted my admin_overrides.cfg.
lilpetri is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 03-22-2017 , 04:06   Re: Command permissions
Reply With Quote #6

Did you change gamevoting_admins_flag "a" in the config of the Plugin you want to use?

Maybe this causes to ignore overrides?
__________________
micazoid is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 03-22-2017 , 08:29   Re: Command permissions
Reply With Quote #7

should'nt be like sm_votekick and not just votekick? i was just wondering cause that's how i do it ...
__________________
ambn is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 03-22-2017 , 10:52   Re: Command permissions
Reply With Quote #8

The linked plugin doesn't register any commands, it is looking for words said in chat directly.
__________________
asherkin is offline
lilpetri
Member
Join Date: Nov 2016
Location: The Netherlands
Old 03-22-2017 , 14:50   Re: Command permissions
Reply With Quote #9

Quote:
Originally Posted by asherkin View Post
The linked plugin doesn't register any commands, it is looking for words said in chat directly.
Hmm.. Thanks for your reply. That makes sense. Any other way of doing it?
lilpetri is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 03-22-2017 , 15:03   Re: Command permissions
Reply With Quote #10

Quote:
Originally Posted by lilpetri View Post
Hmm.. Thanks for your reply. That makes sense. Any other way of doing it?
You will need to edit the code for add it. Seems easy but if you dont know how to coding then try to request it to the original author.
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 03-22-2017 at 15:04.
Franc1sco is offline
Send a message via MSN to Franc1sco
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode