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

[Any] Deluxe Godmode


Post New Thread Reply   
 
Thread Tools Display Modes
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 07-29-2013 , 20:09   Re: [Any] Deluxe Godmode
Reply With Quote #131

Quote:
Originally Posted by Dr. Strangelove View Post
So I added the code and nothing :
Code:
Overrides
{
	"godmode_adminonly_override"	"f"
}
Paste your entire overrides file.
ddhoward is offline
Dr. Strangelove
Junior Member
Join Date: Jul 2013
Old 07-29-2013 , 21:22   Re: [Any] Deluxe Godmode
Reply With Quote #132

Quote:
Originally Posted by ddhoward View Post
Paste your entire overrides file.
Code:
Overrides
{
	/**
	 * By default, commands are registered with three pieces of information:
	 * 1)Command Name 		(for example, "csdm_enable")
	 * 2)Command Group Name	(for example, "CSDM")
	 * 3)Command Level		(for example, "changemap")
	 *
	 * You can override the default flags assigned to individual commands or command groups in this way.
	 * To override a group, use the "@" character before the name.  Example:
	 * Examples:
	 *		"@CSDM"			"b"				// Override the CSDM group to 'b' flag
	 * 		"csdm_enable"	"bgi"			// Override the csdm_enable command to 'bgi' flags
	 *
	 * Note that for overrides, order is important.  In the above example, csdm_enable overwrites
	 * any setting that csdm_enable previously had.
	 *
	 * You can make a command completely public by using an empty flag string.
	 */
}

Overrides
{
	"godmode_adminonly_override"	"f"
}
Dr. Strangelove is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 07-29-2013 , 21:23   Re: [Any] Deluxe Godmode
Reply With Quote #133

You have two overrides sections. That is incorrect.

Code:
Overrides
{
	/**
	 * By default, commands are registered with three pieces of information:
	 * 1)Command Name 		(for example, "csdm_enable")
	 * 2)Command Group Name	(for example, "CSDM")
	 * 3)Command Level		(for example, "changemap")
	 *
	 * You can override the default flags assigned to individual commands or command groups in this way.
	 * To override a group, use the "@" character before the name.  Example:
	 * Examples:
	 *		"@CSDM"			"b"				// Override the CSDM group to 'b' flag
	 * 		"csdm_enable"	"bgi"			// Override the csdm_enable command to 'bgi' flags
	 *
	 * Note that for overrides, order is important.  In the above example, csdm_enable overwrites
	 * any setting that csdm_enable previously had.
	 *
	 * You can make a command completely public by using an empty flag string.
	 */

	"godmode_adminonly_override"	"f"
}
ddhoward is offline
Dr. Strangelove
Junior Member
Join Date: Jul 2013
Old 07-30-2013 , 19:17   Re: [Any] Deluxe Godmode
Reply With Quote #134

Quote:
Originally Posted by ddhoward View Post
You have two overrides sections. That is incorrect.

Code:
Overrides
{
	/**
	 * By default, commands are registered with three pieces of information:
	 * 1)Command Name 		(for example, "csdm_enable")
	 * 2)Command Group Name	(for example, "CSDM")
	 * 3)Command Level		(for example, "changemap")
	 *
	 * You can override the default flags assigned to individual commands or command groups in this way.
	 * To override a group, use the "@" character before the name.  Example:
	 * Examples:
	 *		"@CSDM"			"b"				// Override the CSDM group to 'b' flag
	 * 		"csdm_enable"	"bgi"			// Override the csdm_enable command to 'bgi' flags
	 *
	 * Note that for overrides, order is important.  In the above example, csdm_enable overwrites
	 * any setting that csdm_enable previously had.
	 *
	 * You can make a command completely public by using an empty flag string.
	 */

	"godmode_adminonly_override"	"f"
}
Thanks that should help but after starting up my server still no godmode at spawn for admins

Last edited by Dr. Strangelove; 07-30-2013 at 19:24.
Dr. Strangelove is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 07-30-2013 , 22:20   Re: [Any] Deluxe Godmode
Reply With Quote #135

Are both these cvars set to 1?
  • sm_godmode_spawn
  • sm_godmode_spawn_admins
__________________
DarthNinja is offline
Dr. Strangelove
Junior Member
Join Date: Jul 2013
Old 08-01-2013 , 11:06   Re: [Any] Deluxe Godmode
Reply With Quote #136

Quote:
Originally Posted by DarthNinja View Post
Are both these cvars set to 1?
  • sm_godmode_spawn
  • sm_godmode_spawn_admins
Ah thats the stuff, it worked but will it just limit godmode to me (the admin)?

Also is there a cvar for admins to spawn with buddha mode?

Last edited by Dr. Strangelove; 08-01-2013 at 11:08.
Dr. Strangelove is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 08-01-2013 , 14:54   Re: [Any] Deluxe Godmode
Reply With Quote #137

Reading is hard:
Quote:
Originally Posted by DarthNinja View Post
Cvars:
  • sm_godmode_version - Plugin Version
  • sm_godmode_spawn "0" - 0 = Players spawn normally, 1 = Players spawn with godmode, 2 = Players spawn with buddha mode
  • sm_godmode_spawn_admins "0" - Set to 1 and only admins will be given godmode on spawn. Requires slay flag (can be changed with godmode_adminonly_override).
  • sm_godmode_announce "1" - Tell the player when an admin gives/removes their godmode
  • sm_godmode_remember "0" - Set to 1 and the plugin will remember players' godmode state after they respawn (for suicides/round ends/etc)
__________________
DarthNinja is offline
Aggamemnon
SourceMod Donor
Join Date: Dec 2011
Location: Australia
Old 08-24-2013 , 00:17   Re: [Any] Deluxe Godmode
Reply With Quote #138

I do not know what is wrong here as I have placed all the CVARS correctly and also put in the "godmode_adminonly_override" "z" into the adminoverides file as displayed above, but for some reason everyone had access to the Plugin?

Perhaps it is a conflict with another plugin, I do not know? I have removed it for the moment until I can get this resolved. I was wondering if there was a way to have it so it required a Steam ID for it to function?

Thanks.
__________________
Aggamemnon is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 08-24-2013 , 00:25   Re: [Any] Deluxe Godmode
Reply With Quote #139

Quote:
Originally Posted by Aggamemnon View Post
I do not know what is wrong here as I have placed all the CVARS correctly and also put in the "godmode_adminonly_override" "z" into the adminoverides file as displayed above, but for some reason everyone had access to the Plugin?

Perhaps it is a conflict with another plugin, I do not know? I have removed it for the moment until I can get this resolved. I was wondering if there was a way to have it so it required a Steam ID for it to function?

Thanks.
Please post the relevant parts of your overrides.

From the description, godmode_adminonly_override only changes what flag is required for godmode to be automatically granted on spawn (assuming that the feature is enabled at all, through sm_godmode_spawn_admins "1"). Ensure that you are also overriding sm_god, sm_buddha, and sm_mortal.

Also, be sure to take a look at overriding sm_godmode_admin, sm_buddhamode_admin, and sm_mortalmode_admin. Any player with access to these overrides, who can also access the corresponding command, can use the command to target other players. (Although you probably don't need to worry, as you seem to be trying to give command access to only root admins.)

Last edited by ddhoward; 08-24-2013 at 00:27.
ddhoward is offline
Cookedbeefchops
Junior Member
Join Date: Jun 2013
Old 10-12-2013 , 03:02   Re: [Any] Deluxe Godmode
Reply With Quote #140

Normal players can't use !god but they can use !buddha
How do i disable that, meaning don't let normal players use !buddha.
Cookedbeefchops 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 18:23.


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