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

How can i make some plugins special only for some users


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
B.O.T
Junior Member
Join Date: May 2015
Old 05-28-2015 , 13:41   How can i make some plugins special only for some users
Reply With Quote #1

Hey i made a server and installed some plugins.Everyone have access to those commands.Can you guys tell me how can i make it only for donators and admins/mods? Thanks
B.O.T is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 05-28-2015 , 13:43   Re: How can i make some plugins special only for some users
Reply With Quote #2

Depending on the plugin, you can override the commands and assign specific admin flags to them.
__________________
View my Plugins | Donate
TnTSCS is offline
B.O.T
Junior Member
Join Date: May 2015
Old 05-28-2015 , 13:48   Re: How can i make some plugins special only for some users
Reply With Quote #3

Its fun plugins for sourcemod.Like !robot or !smTrailme
B.O.T is offline
VPPGamingNetwork.com
BANNED
Join Date: Apr 2015
Old 05-30-2015 , 02:14   Re: How can i make some plugins special only for some users
Reply With Quote #4

use the admin flags for each steamid
VPPGamingNetwork.com is offline
lemonx
Junior Member
Join Date: May 2015
Old 05-30-2015 , 04:33   Re: How can i make some plugins special only for some users
Reply With Quote #5

Quote:
Originally Posted by VPPGamingNetwork.com View Post
use the admin flags for each steamid
could you explain that please?
lemonx is offline
B.O.T
Junior Member
Join Date: May 2015
Old 05-30-2015 , 04:37   Re: How can i make some plugins special only for some users
Reply With Quote #6

Yes could you?
B.O.T is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 05-30-2015 , 07:03   Re: How can i make some plugins special only for some users
Reply With Quote #7

in your sourcemod/configs/admin_override.cfg

Code:
Overrides
{
"sm_robot" "z"
"sm_yourplugin" "z"
}
so these commands can only used by and admin with z flag
__________________
coding & free software
shanapu is offline
VPPGamingNetwork.com
BANNED
Join Date: Apr 2015
Old 05-30-2015 , 13:14   Re: How can i make some plugins special only for some users
Reply With Quote #8

z flag is like the ALmighty flag. I don't think you want your donor's or a low admin to have that flag. They will have rcon command to your server.
VPPGamingNetwork.com is offline
VPPGamingNetwork.com
BANNED
Join Date: Apr 2015
Old 05-30-2015 , 13:16   Re: How can i make some plugins special only for some users
Reply With Quote #9

lets say I have custom skins on my servers and I just want my donors to have that access. I would put flag "a"

Flags
{
"reservation" "a" //Reserved slots
"generic" "b" //Generic admin, required for admins
"kick" "c" //Kick other players
"ban" "d" //Banning other players
"unban" "e" //Removing bans
"slay" "f" //Slaying other players
"changemap" "g" //Changing the map
"cvars" "h" //Changing cvars
"config" "i" //Changing configs
"chat" "j" //Special chat privileges
"vote" "k" //Voting
"password" "l" //Password the server
"rcon" "m" //Remote console
"cheats" "n" //Change sv_cheats and related commands
VPPGamingNetwork.com is offline
B.O.T
Junior Member
Join Date: May 2015
Old 05-31-2015 , 04:49   Re: How can i make some plugins special only for some users
Reply With Quote #10

How can i give this donator's lets say "a" group
B.O.T is offline
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 04:43.


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