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

FAQ: Sourcemod Newbies Guide


Post New Thread Reply   
 
Thread Tools Display Modes
undyingvisage58
Junior Member
Join Date: Nov 2012
Location: you still dont want to k
Old 11-08-2012 , 02:05   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #51

I just got my very first server. Where do i start?

I want to get a CS:S GG DM setup going with admin controls and some other features. But I have no idea where to start. Sourcemod? Metamod? GG? DM? then some admin plugins?
undyingvisage58 is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 11-08-2012 , 09:12   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #52

First you need to install Metamod. SourceMod is a plugin for Metamod.
__________________
Dr. McKay is offline
awpvssniper
Member
Join Date: Feb 2012
Old 12-28-2012 , 03:38   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #53

What file i need to edit to change time of bans in sourcemod menu ?
awpvssniper is offline
NeoTM
AlliedModders Donor
Join Date: Feb 2013
Location: Britain
Old 03-16-2013 , 23:06   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #54

Hi!
(i'm french so excuse me if my english isn't very good)

I'm searching a way to restrict the acces of certains admins to certains plugins without to change their flags in admin simple.ini.

I try with admin_overrides.cfg, i put this in this file
Spoiler

but it works only for two plugins: sm_respawn & spawn uncommon(edit: i did an error for spawn uncommon by writing "Z" in capital letter.)

The plugin i want to restrict is : l4d2 weapon/zombies spawner

I'm almost sure that i don't have the right "sm_command" but i don't know where to find them.

I try sm plugins list + sm cmds and copy/paste all the commands i found in the admin_override.cfg but the admin without the flags "z" are still allowed to spawn weapons and medkit (and broke the gamplay by spawn too much supplies )
I'm on a windows dedicated server with SourceMod Version: 1.5.0-dev+3792 & Metamod:Source version 1.10.0-dev

the only thing i want to do is to make those plugins available only for the root admins (4 players) and unavailable for all the others (15 players, it's a lot and it's why i don't want to change all their flags)

Did someone know a solution to solve this problem?

Thanks a lot

Last edited by NeoTM; 03-16-2013 at 23:55. Reason: one problem solved
NeoTM is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 03-18-2013 , 14:59   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #55

Change "Z" to "z" and make sure you end all commands with a quotation mark. In particular, everything here:

Code:
...
"sm_removemachine "z"
"sm_rmg "z"
"sm_smg "z"
"sm_spawnmachineg "z"
"sm_sw "z"
"sm_zspawn "z"
...
__________________
11530 is offline
NeoTM
AlliedModders Donor
Join Date: Feb 2013
Location: Britain
Old 03-18-2013 , 18:14   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #56

Thanks for your answer!

I saw my mistake with "z" in capital letter and i change it just after i wrote this post. (that make "uncommon horde" for root admin only.)
But i was certainly too tired to see the awful mistake i made

I'm going to try this but i'm pretty sure that is the point i miss.

Edit:

I probably make the mistake when i copy past in this thread cos in my admin_override.cfg the quotation mark are at the good place.

Overrides
{
"sm_respawn" "z"
"sm_spawnuncommon" "z"
"sm_spawnuncommonhorde" "z"
"sm_spawnweapon" "z"
"sm_giveweapon" "z"
"sm_gw" "z"
"sm_removemachine" "z"
"sm_rmg" "z"
"sm_smg" "z"
"sm_spawnmachineg" "z"
"sm_spawnweapon" "z"
"sm_sw" "z"
"sm_zspawn" "z"

}

But the plugin is still available to all admins.

May be the admin_override.cfg restric only the use to the sm_command used by chat?

Cos i use it (and all admin) by the admin menu.

For the moment the only way i find to restrict it to "non root admin" was to remove the "f" flags to all the admins (but it restrict acces to a lot of others fonctions of plugins using adm flags "slay".

I also ask to the plugin maker what are the sm_commands for this one but i don't have any answer.

(But i was sure that the commands was the one i can see in HLSW with sm cmds)

I Hope that someone who had the same problem and solved it read this thread.

By the way thank you for your response

Last edited by NeoTM; 03-18-2013 at 18:34.
NeoTM is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 03-21-2013 , 18:14   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #57

Quote:
Originally Posted by NeoTM View Post
Thanks for your answer!
[...]
But the plugin is still available to all admins.
Which plugin is this?
__________________
11530 is offline
NeoTM
AlliedModders Donor
Join Date: Feb 2013
Location: Britain
Old 03-21-2013 , 23:22   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #58

It's weapon/zombies spawner

http://forums.alliedmods.net/showthread.php?t=109659

And the only commands i found for this plugin with sm cmds are this one:

"sm_spawnweapon" "z"
"sm_giveweapon" "z"
"sm_gw" "z"
"sm_removemachine" "z"
"sm_rmg" "z"
"sm_smg" "z"
"sm_spawnmachineg" "z"
"sm_spawnweapon" "z"
"sm_sw" "z"
"sm_zspawn" "z"

But i don't understand why it works with the other plugins and not with this one cos i do exactly the same things for all

sm plugins list + sm cmds <number of plugin>

and copy past the commands found in admin_override.cfg

Is it possible that the problem came from my server renter?

Cos i also got a problem with my almost all my files.cfg located in left4dead2/left4dead2/cfg/sourcemod.

If i change the values in those files they don't change in game.

I'm forced to copy past all the content of the files in sourcemod.cfg for make them works.

But i don't have this problem in the windows server i had hosted on my PC and in a windows server of a friend.
(the server where i got the problem is a linux server)

Very strange things happen sometimes!
NeoTM is offline
Jonathan6615
Member
Join Date: May 2013
Old 07-08-2013 , 15:13   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #59

Really helpful
__________________
Jonathan6615 is offline
Azulyvern
Junior Member
Join Date: Jul 2013
Old 07-14-2013 , 11:58   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #60

I have a troubleshooting question to ask.

Q: What are the solutions I can do if I know I installed Sourcemod correctly, but I get the "unknown command" response whenever I type "sm version" in the server console or "sm_admin" while playing in-game?
Azulyvern 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 13:19.


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