I have noticed that I have trouble giving X amount of admins power in the server. I had about 3-4 admins in my group and went to add another except the server would not accept the other admins. I tried several different times and re-downloaded the plugin with no luck. I finally just created a second admin group and it worked but is there a limit on admins or possible a bug?
I add 8 admins, Using 2 metods "!add Admins" and manually and I haven't problem :S
I do mine all manually, as I find it easier since I am always multi-tasking.
Hey,
There shouldn't be a limit to the number of admins you can have, what happened when you tried to add them? dit the server crash, or did you get errors or what?
-Bonemind
No crash or anything, it just removes the admin status of the admin giving admin rights, and replaces it with the new one.
Over writes it in the sv_config.
(02-24-2012, 18:11)WW_Orion Wrote: [ -> ]No crash or anything, it just removes the admin status of the admin giving admin rights, and replaces it with the new one.
Over writes it in the sv_config.
Alright, thanks for the info, will take a look at it tonight
bonemind its possible make censored text in lang filter (not a warn)
Each time a player use a badword, remplace the text for something like "Sorry, I will not insult." or anything.
Possible editable msg.
Just a suggestion. Thank you I love your work.
(02-24-2012, 20:14)Dumas Wrote: [ -> ]bonemind its possible make censored text in lang filter (not a warn)
Each time a player use a badword, remplace the text for something like "Sorry, I will not insult." or anything.
Possible editable msg.
Just a suggestion. Thank you I love your work.
That's quite an awesome idea tbh, will look into it
(02-24-2012, 20:46)bonemind Wrote: [ -> ] (02-24-2012, 20:14)Dumas Wrote: [ -> ]bonemind its possible make censored text in lang filter (not a warn)
Each time a player use a badword, remplace the text for something like "Sorry, I will not insult." or anything.
Possible editable msg.
Just a suggestion. Thank you I love your work.
That's quite an awesome idea tbh, will look into it
Code:
public override ChatType OnSay(string Message, ServerClient Client)
{
bool foundbadword = false;
bool prefix = false;
if (/*badwordfilter*/)
{
foreach(string badword in /*badwordlist*/)
{
if (Message.Contains(badword))
{
Message = Message.Replace(badword, "***");
foundbadword = true;
}
}
if(foundbadword)
{
ServerSay(Client.Name+": "+Message, true);
TellClient(Client.ClientNum,/*badwordmsg*/,true);
if(/*warnforbadword*/)
{
//call warn
}
return ChatType.ChatNone;
}
}
if(Message.StartsWith(/*prefix*/))
{
//call commands
prefix = true;
return ChatType.ChatNone;
}
if (!prefix && !foundbadword)
{
return ChatType.ChatContinue;
}
}
DeathAngel1479 that code isn't standalone true?