PDA

View Full Version : [REQ] Premium/VIP Plugin


behrentzs
01-03-2012, 19:58
Dear coders of Allied Modders.

I'm here to request a plugin for our CS:S Servers running sourcemod.
The plugin should have features listed below:

- Add 10 hp for each kill
- Ingame chat colour for VIP
- No bomb damage for VIP
- More ammo for VIP

Acess to VIP by steam id

If anyone would like to take this job for me, please respond.
Thanks in advance:wink:

TnTSCS
01-03-2012, 22:18
making the VIP by flag would be easier than steamID - you still put their steamID in the SM configs, just assign them a flag which gives them VIP status for this plugin.

Dr. McKay
01-03-2012, 23:06
- Ingame chat colour for VIP

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

I don't do much CS:S, but a lot of those things you requested might be existing plugins.

TnTSCS
01-03-2012, 23:27
indeed... it would be a pretty simple plugin... I've made 2-3 of them, here's one that is released and easy to find - the others are just replies to requests or in other plugins I've made... only one I haven't made is the chat colors, but that's easy

http://forums.alliedmods.net/showthread.php?p=1477246

behrentzs
01-04-2012, 14:37
Thank you a lot for your fast replies.
I will use the plugins posted.

How do i assign a flag for VIP, any guides out there?


Thanks in advance.

Dr. McKay
01-04-2012, 15:53
Thank you a lot for your fast replies.
I will use the plugins posted.

How do i assign a flag for VIP, any guides out there?


Thanks in advance.

Just add them to admins_simple.ini.

"STEAM_0:1:16" "a"

I just give my VIPs/donors the a flag so they get reserved slots, and override all of the commands that I want them to be able to use to a.

behrentzs
01-05-2012, 11:40
indeed... it would be a pretty simple plugin... I've made 2-3 of them, here's one that is released and easy to find - the others are just replies to requests or in other plugins I've made... only one I haven't made is the chat colors, but that's easy

http://forums.alliedmods.net/showthread.php?p=1477246



The colour plugin didn't work for me. Any other confirmed to work plugins?

Dr. McKay
----------------------

Thank you :)

Dr. McKay
01-05-2012, 11:48
The colour plugin didn't work for me. Any other confirmed to work plugins?

Dr. McKay
----------------------

Thank you :)

You're probably doing something wrong; Simple Chat Colors Redux works for a lot of people. Mind posting your config?

behrentzs
01-05-2012, 11:57
Sure



My file:

// How to edit this file:
// "admin_colors" <-- Leave this alone
// { <-- Add all groups/steamids after first bracket (Leave this alone)
//
// "STEAM_0:0:42938535" <-- Here is a steamid example with a tag (don't duplicate steamids) <-- This can either be a steamid for a specific player, or a group name
// { <-- Open the group
// "flag" "z" <-- This is the flag(s) assoicated with the group. This field doesn't matter if the group name is a steamid
// "tag" "[Admin]" <-- This is the text for the tag
// "tagcolor" "{G}" <-- This is the color for the tag
// "namecolor" "{G}" <-- This is the color for the name
// "textcolor" "{N}" <-- This is the color of the text
// } <-- Close the group
// } <-- Add all groups/steamids before last bracket (Leave this alone)
//
// NOTE:
// If you don't enter a steamid then the group name does not matter, it's just for your reference.
//
// For a better understanding of what these colors mean, how they work, and on what games, see this link:
// http://forums.alliedmods.net/showpos...02&postcount=2
// Thanks to everyone working on the smlib for the great .inc files!
//
// --------ORDER OF OPERATIONS--------
//
// The order in which you place items in the config file matters. Here is what determins what color they get:
// 1. SteamID
// If there is a steamid present, it will always override everything. If you put a steamid in twice
// then the first entry (top to bottom) will be used. (I think, just don't do it!)
// 2. Groups
// The plugin will search (top to bottom) for a postitive match for the flag string. The player' flags
// will be compared with the group flag string, and if the player has all the flags, it will stop there.
// For example. Admins with the "ad" flags and donators with the "a" flag. If you place the "a" flag group
// above the "d" group then the admin will get the "a" colors. Order matters.
// You can use more than 1 flag for the group. You could have made the admin group with the "ad" flag,
// but it will always take the first match.
//
// ---------DO NOT EDIT ABOVE THIS LINE---------
"admin_colors"
{
"STEAM_0:0:42938535"
{
"tag" "[Owner]"
"tagcolor" "{R}"
"namecolor" "{G}"
}
"Admins"
{
"flag" "z"
"tag" "[Admin]"
"tagcolor" "{R}"
"namecolor" "{G}"
}
"VIP"
{
"flag" "a"
"tag" "[VIP]"
"tagcolor" "{B}"
"namecolor" "{T}"
"textcolor" "{OG}"
}
}

Dr. McKay
01-05-2012, 12:17
You're giving every admin root?

Anyway, did you execute sm_reloadscc? I think that has to be done every time there's a new admin.

behrentzs
01-05-2012, 12:58
You're giving every admin root?

Anyway, did you execute sm_reloadscc? I think that has to be done every time there's a new admin.

yes i am.

Well i tried that, no luck.
Sm_printcolors works