Raised This Month: $32 Target: $400
 8% 

[TF2] Donator Plugins/Flags


Post New Thread Reply   
 
Thread Tools Display Modes
Disrupted_Hunter
Member
Join Date: Apr 2012
Old 04-30-2012 , 23:57   Re: [TF2] Donator Plugins/Flags
Reply With Quote #11

Quote:
Originally Posted by TnTSCS View Post
RegConsoleCmd("sm_glowme", Command_GlowMe, " glow yourself...")

you can't override console commands... I only checked the one plugin, but maybe the others are using console commands instead of admin commands too.

...:: TnT Edit ::...

Just checked the other two and those are both admincommands, so override /should/ work.
Yea, I don't think sm_glowme is able to be used as a donator only thing. I'm fine with that though cause I'm going to take it off my server anyways.

I just have no idea why giveballs and givepiss does not work. The way I'm setting it up is correct, right? admin_overrides and admin_simple are the only files I'm messing with besides the sourcemod folders to put in the plugin.

I tell him (the donator) to put in sm_giveballs 100 or sm_givepiss 100 in the console, but it says no access. I can give it to him though via HLSW though and everything works fine; I just put in sm_giveballs <playername> 100

I also gave him generic admin to see if that would miraculously work but it didn't. All he has is "Identify Player" when he types in sm_admin in console. Luckily this is someone we can trust so he won't be messing around with things

Last edited by Disrupted_Hunter; 04-30-2012 at 23:59.
Disrupted_Hunter is offline
Disrupted_Hunter
Member
Join Date: Apr 2012
Old 05-06-2012 , 00:33   Re: [TF2] Donator Plugins/Flags
Reply With Quote #12

Can anyone help? I'm still having a problem and I have yet to find any solution
Disrupted_Hunter is offline
Disrupted_Hunter
Member
Join Date: Apr 2012
Old 05-19-2012 , 19:02   Re: [TF2] Donator Plugins/Flags
Reply With Quote #13

I think I'm closer to getting this working. I'm switching to Group Overrides.

Right now my admin_groups file looks like this

Code:
Groups
{
    
    "Donators"
    {
        "flags"        "pqr"
        Overrides
        {
            "sm_giveweapon"        "allow"
            "sm_givepiss"        "allow"
            "sm_giveballs"        "allow"
        }
    }
}
My admins_overrides looks like this

Code:
Overrides
{
    "sm giveballs"    "p"
    "sm_givepiss"    "q"
    "sm_giveweapon"    "r"
}
As for my admins_simple, this is what it looks like:

Code:
"<DonatorSteamID>" "@Donator"
//<Donatorname>
The sm_givepiss and balls are not working, but yesterday the sm_giveweapon was and now it isn't. Am I overlooking something? Is there a file I'm missing that I should be adding something to? Should I be editing the admin_levels file even though it says I don't need to edit it?
Disrupted_Hunter is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 05-19-2012 , 21:39   Re: [TF2] Donator Plugins/Flags
Reply With Quote #14

Your admins_simple is adding them to the group "Donator", but your admin_groups name is "Donators"
Either remove/add the s on one of them so that they match.

Also, if you're using the admin_overrides, you don't need to add them to the admin_group overrides, as they already have the flags required.

The only time you need to use overrides in admin_groups is if you want to allow access to a command when they DON'T have the flag required(Or deny access to a command if they DO have the flag required)

For example, sm_noclip uses the cheats flag(n):

Code:
Groups
{
	"Group A"
	{
		"flags"		"bf"
		 Overrides
		 {
			"sm_noclip"	"allow"
		 }
	}
	"Group B"
	{
		"flags"		"bfn"
		 Overrides
		 {
			"sm_noclip"	"deny"
		 }
	}
}
Group A can use sm_noclip, even though they don't have the cheats flag, but can't use any other cheats flag commands.
Group B can't use sm_noclip even though they do have the cheats flag, but can use any other cheats commands.

Last edited by Tylerst; 05-19-2012 at 21:53.
Tylerst is offline
Disrupted_Hunter
Member
Join Date: Apr 2012
Old 05-20-2012 , 03:13   Re: [TF2] Donator Plugins/Flags
Reply With Quote #15

Oh my God I'm so stupid. I never realized that 's'. I had a feeling I didn't need to use Overrides, but I just did it just in case.

I was confused on the overrides, but I think I got it now thanks you to. With what you've told me I think I'm going to set up and Admin Group, Mod Group and Donator Group cause I've been having problems with my Mods having access to some plugins only the admins should have access to.
Disrupted_Hunter is offline
Reply



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 09:33.


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