Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssAdmin tag (admintag)

Category:script
Author(s):csmit195
Downloads:12601
Rate:You need to be logged in to vote
Rating:3.5 (30 Votes)
Description:
NOTE: People accused this resource of being stolen, but I can assure you it is not, I started this code as a hobby and then it evolved into something which I think should be used by everyone. You are freely able to modify the code, just do not claim rights over it.

Hello MTA:SA Community! Guess what? I've made a monster update for my version 3.0.0, I know that the code is a bit messy, I will soon work on fixing that. I was in a rush to code most of these. In this version I have added several new Features:
-> /clearchat - This will work on all chatboxes
-> /freezechat - This will stop all messages from being sent
-> Massive new settings - Just about control anything with ease!

Other features:
-> Anti-spam filter (Use's serials)
-> Swear filter (includes possibility to take money when swearing)
-> Customizable chat prefixes (ACL Groups)
-> Auto capitalization of starting characters.

Lets take a look at the settings:
settings = {
['enableTeamChat'] = true,
['adminTag'] = {
['enabled'] = true,
['ACL'] = { -- A bit more advanced.
{ 'Admin', '#00B7FF[Admin] ' },
{ 'SuperModerator', '#F200FF[S.mod] ' },
{ 'Moderator', '#A1FF9C[Mod] ' },
{ 'Everyone', ' ' }
}
},
['swearFilter'] = {
['enabled'] = true,
['swearCost'] = 0,
['swears'] = { -- Allows you to set the blocked swear words, syntax is ['WORD'] = 'REPLACEMENT'
['asshole'] = '*******',
['fuck'] = '****',
['slut'] = '****',
['bitch'] = '*****',
['cunt'] = '****',
['whore'] = '*****',
['pussy'] = '*****',
['fag'] = '***',
['perro'] = '*****',
['puta'] = '****',
['joder'] = '*****'
}
},
['antiSpamFilter'] = {
['enabled'] = true,
['execeptionGroups'] = 'Admin', -- Groups which can spam, eg. 'Admin,SuperModerator,Moderator'
['chatTimeOut'] = 1.5 -- Set in seconds.
},
['freezeChat'] = {
['enabled'] = true,
['command'] = 'freezechat', -- Command to use when activating frozen chat.
['allowedGroups'] = 'Admin,SuperModerator', -- Groups which have access to this command.
['resetTime'] = 5 -- Time in minutes before it automatically resets.
},
['clearChat'] = {
['enabled'] = true,
['command'] = 'clearchat',
['allowedGroups'] = 'Admin,SuperModerator'
}
}

Now I understand that some people might get confused by the settings in server.lua, it really isn't that hard to read. when you see things like ['enabled'] = true, this means you can disable the above feature example:
Command enabled:
['clearChat'] = {
['enabled'] = true,
['command'] = 'clearchat',
['allowedGroups'] = 'Admin,SuperModerator'
}

Command disabled:
['clearChat'] = {
['enabled'] = false,
['command'] = 'clearchat',
['allowedGroups'] = 'Admin,SuperModerator'
}

If you need extra help with this resource feel free to ask me in the comments and I'll point you in the right direction.

MERRY XMAS GUYS xoxoxoxoxo,
Chris
...

(more)

Download latest version | Report

Version history

Version Publish Date Changes
3.0.0 2012-12-09 16:37:15 Massive update, read above! Download
2.6.0 2012-10-19 03:38:58 Added easily changeable swear filter, easily changeable tags, spam checker. Download
2.5.0 2012-01-04 09:16:43 Fixed bugs, and changed colors. Uncompiled. Download
2.0.0 2011-10-08 12:00:50 Fixed a color bug Download
1.0.0 2011-10-04 23:34:17 Fixed a small bug, adding cancel event. Download
0.1.0 2011-10-03 23:58:10 First public release Download