22.06.2008, 16:33
(
Последний раз редактировалось Goldkiller; 15.07.2011 в 16:25.
)
gAdmin - Filterscript 1.3
gAdmin [Multilanguage support]
_________________________________________________
- Introduction
- Features
- Download
- Help
- Changelog
- Thanks to
Another Admin Script you might think now.Dont judge the script before you haven't tested it.
I'm working for a very long time on this now (I guess it's over a year).Sometimes I worked more on it and sometimes a
didn't touch the Script over weeks.A few day's I even thought I lost all my hard work because I formatted the
wrong hard drive.But thank god theres a tool called TestDisk.
Anyway,It's my biggest and best script I've made so far and.
Comments are welcome,have fun with it
_________________________________________________
Features:
There are many features.
Most of them can be also disabled if you dont want to use them.Take a look at the
generalconfig.cfg and levelconfig.cfg in gAdmin Config folder.
Basically the levelconfig.cfg just stores the level you need for a specific admin command,for
example "kick=3".You need AdminLevel 3 to use /kick.
The generalconfig.cfg stores all other configuration options like disabling functions (Whitelist=0) or other settings
like "MAX_VOTEKICK=5".
+ GENERALCONFIG.cfg
- Whitelist=0 - Decide if the FS should start with WhiteList On *Read Whitelist under Features
- Blacklist=1 - Decide if the FS should start with Blacklist On *Read Blacklist under Features
- ClanBlacklist=1 - Decide if the FS should start with ClanBlacklist On *Read Clan Blacklist under Features
- LoginTime=40 - How many seconds you have to Login after Spawning to Login if you haven't done this already.Set to -1 if you want to disable this function
- PingKick=1 - PingKick on or off?1=On | 0=Off
- PingKickInterval=5 - Decide in which Interval the Ping has to be checked | 5 Seconds
- MAX_PING=400 - Max.Ping allowed on the Server
- MAX_PING_WARNINGS=5 - How often a Players Ping can be too high before he gets kicked
- DisplayConnectMessages=1 - The normal Enter/leave message you maybe remember from 0.1 (0=Off/1=On)
- DisplayMode=1 - Displays GameText while you are in a Car(0=off/1=SpeedOMeter/2=AreaName/3=SpeedOMeter+Areaname)
- ShowAdminCommand=1 - Do you want to show every Admin Command in the chat?(0=Off/1=On) If off,only Admins will see the message
- DynmWeather=1 - Dynm. Update of the Weather (0=Off/1=On)
- DynmTime=1 - Dynm. Update of the Time (0=Off/1=On)
- ScoreUpdate=1 - Updates the Player Score to the Amout of Money a Player owns(0=Off/1=On)
- GodHP=1000 - The value to set PlayerHealth or VehiclesHealth for God-Mode (/god),10000 is a good value
- SlapHP=25 - The Health Points to take away from a Player when slapping him ('/slap')
- Advertise=visit www.san-vice.de.vu - A message you want to send to a player when he connects (visit: www.-whatever-.com)
- AutoLogin=1 - Enables AutoLogin via IpComparision
- RegisterToSpawn=1 - You have to register before you can spawn (0=Off/1=On)
- DefaultJailTime=300 - Time a player has to be in jail in seconds after he gets autom. unjailed
- MAX_VOTEBAN=5 - How many votes you need to ban a Player via /voteban
- MAX_HELIKILLS=3 - I hate people killing with Hydra/Seasparrow etc.Lets kick them after some kills with these vehicels... (0=off)
- MAX_BADWORDS=5 - The name explains all.The bad words are defines in '/gAdmin/gadmin.inc'.The Count how often a Player can say Bad Words before he get's kicked
- SPAMRATE=3000 - Interval in which not more than 'MAX_MSG_IN_SPAMRATE' should not be send
- MAX_MSG_IN_SPAMRATE=5 - How many messages are allowed in 'SPAMRATE'
- IRC_Channel=#gAdmin - The name of the IRC Channel you want to join if you would like to use the IRC thingy
- IRC_Botname=My_gAdmin_Bot - Your Bot's name if you would like to use the IRC thingy
- IRC_Botpassword=duntknow - The password for the Botnames Account
- IRC_ServerPort=6667 - Port of the IRC Server
- IRC_IRC_Server=irc.gtanet.com - IRC Server you want to connect to
- V_[NAME][NUMB] - Those are Vehicle Model ID's which are used for the Vehicle Spawn Menu ('/v').
+ Complete Admin System
register
login
changepw
data
admins
kick
fake
heal
sethealth
slap
freeze
unfreeze
gravity
ip
ban
tban
goto
mute
unmute
akill
get
jail
unjail
time
announce
addblack
addwhite
addclan
banip
nick
countdown
reloadcfg
reloadlanguages
reloadfs
reloadbans
allmoney
givecash
setmoney
setadmin
armor
giveweapon
a
sun
cloud
sandstorm
fog
rain
ammu
weather
disarm
numberplate
allheal
resetmoney
clear
say
vr
flip
whitelist
blacklist
clanblacklist
v
skin
bomb
setscore
carcolor
noon
night
morning
day
spec
fuckup
force
ejet
xunlock
gsave
back
gmenu
setvip
delvip
teleport
givearmor
giveskin
jetpack
god
alldisarm
lockchat
settings
hostname
mapname
getalias
port
invisible
visible
gmx
unban
new in 1.2 :
gotopos
getall
myinterior
myvirtualworld
setfightstyle
+ Extra Commands
info
id
players
gcommands
stats
clock
date
pos
report
bank
withdraw
me
kill
para
lock
unlock
givemoney
tuner
loc
speedo
speedotype
hitman
bounty
votekick
voteban
votelist
+ User System
A complete Description can be found here
+ Whitelist
+ Blacklist
+ Clan Blacklist System
+ Range IP Bans
+ Clear/Admin/Vip Chatlog
+ Dynm. Weather Change
+ Dynm. Time Change
+ SpeedOMeter / Areaname
+ Votekick/Voteban System
+ Ping Kick System
+ Word Filter
[u]+ Usefull Commands
[u]+ Lots of Menus
[u]+ IRC Support (Ingocnito's Plugin)
[u]+ MYSQL Support ([RAZ]ADreNaLiNe-DJ's Plugin)
You can read it up in the readme.txt.
Everything is described there.
Download:
I dont need Mirrors!
Latest Version,
>> Download Page
_________________________________________________
Help:
Suggestions:
Suggestion's can be made but I can't and won't promise that all suggestion's will be included in later Versions.
If I think it's a good idea/features/whatever it will be included.
So,if you want to make a Suggestions fell free,but please look at your spelling and explain it neat.
Translations:
Currently I have only english,german and polish available as a languagefile in the downloadpacket.
I would be happy, if someone could translate it into another language.I don't really bother what
language it is, but some language would be awesome.For example spanish,polish,french,russia,italy,dutch etc.
If any of you can translate it into another language (not one I mentioned above) it's great too .
- - - - - - - - - -
You can add new Languages very easily.
You need under OnFilterScriptInit():
AddLanguage("GER","Deutsch","txt");
LoadLanguageFile(l_German);
I used seperate Commands,so you can reload language entrys on the fly.
Note: Not every Message is editable via language includes.Those who can only be changes in the *.pwn are in english.
Bugreport is possible too.
Код:
BUG REPORT Describe the bug: When does it appear? Does it always appear or just randomly? What happens when you use this bug?
V. 1.3
- Added y_va.inc ( by : ****** , ZeeX, koolk, JoeBullet/******63, g_aSlice/Slice )
- Added gFormat.inc
- Removed YSI_Format
- Added "PROFILE_MANUPULATION" with functions Get/SetProfileEntry ( Gamemode to Filterscript )
- Added to Profile: LastOnline,VIP
- Added extra check for empty Entrys in Black/White etc lists
- Changed SetPlayerPos to TeleportPlayer in /gotopos
- Added extra check / info to /NICK - Command ( txt_nick4 , txt_nick5 )
- Some changes for better performence in loops
- Changed #define DIALOGS to enums
- Removed SPACE for VIP-Chat :*[TEXT] is now valid again
- EJET -> EJECT ( No changes in language files )
- Added /IGNORE to block PM's by specific users + /UNIGNORE ( txt_pmignore1-6 )
- Added /AHQ ( special teleport for admins to a place set in config , txt_ahq1 )
- Added /VHQ ( special teleport for vips + admins to a place set in config , txt_vhq1 )
- Added some more Config Entrys ( PREFIX_ADMINCHAT, PREFIX_VIPCHAT, MAX_COUNTDOWN, MAX_WRONG_PW, MAX_ANNOUNCE_TIME )
- Added EXTRAFLAGS to combine VKICK,VBAN & IGNORE to reduce size of Script ( 1,3mb -> ~800kb = -~500kb )
- Reduced array size of "ThePlayer" in SaveProfiles()
- Improved /GETALL a bit to calculate the position directly instead re-calculating them for every player
- Added safty question + secret answer in case someone forgot password < - > WIP < - > WHACK
- Added /complain which handles /report
- Changed /commands to /gcommands
- Added TextDrawHide for Speedo in case Player dies
- Speed up for gLanguage.inc
- Removed old timer System and replaced with a better technique
- Fixed a bug in JailUpdate
- Removed Trigger() function and replaced as mentioned earlier
- Extended /Weather to use a weatherid parameter if their is one
- Fixed /UNBAN Trusted
- Switched to sscanf v2 Plugin
- Fixed Sending VIP messages to wrong players
- Fixed !BAN IRC
V. 1.2.1
- Hotfix for some Bitflag problems
- Removed useless fix in /slap
Have a look at changelog.txt
Thanks to:
Dracoblue : For Includes DUDB,DINI,Dutils & Usefull Functions
****** : sscanf & Usefull Functions and of course YSI_Format.own
Onkelz : Ideas and FTP
Madhacker/MadniX : Helping me on the first steps with pawn
ZeeX : ZCMD
[DRuG]Slick : SII - Include
Breadfish : Usefull Functions
Luby : Usefull Functions
Unnamed : Usefull Functions
Iain Gilbert : Usefull Functions
Simon : Usefull Functions
Sacky : Usefull Functions
Smuggler : Usefull Functions
Westie : Usefull Functions
DerPole : Polish translation
Gamestart : Magyar translation
Chinese ( traditional & simplified ) : tjying95
Dutch : [LTRP]TvW