quinta-feira, 11 de fevereiro de 2010

LuX Adminstraçao System Full



(v1.4) Released In: 01/02/2010

Menu


Script

Type: Administration FilterScript
Version: 1.4
Last Update: 01/02/2010
Created By: LuxurioN

Functions

+ Whirlpool Hashed Passwords (Greater security)
+ Account System (Register, Login, Changepass)
+ Save Player Statistics (Deaths+Kills+Weapons+Money+Position+TimeInServer+Ip+Health+Armour+Score+WantedLevel)
+ Automatically Login!
+ Anti WeaponsHack (Easy to configure forbidden weapons in File)
+ Create Teleport System (Easy Create/Delete/Use new teleports InGame)
+ Lock/Unlock Server (With Dialog)
+ Many Dialogs (Vehicles,Teleports,Weapons,Server Time & Weather, and more...)
+ Anti Forbidden Names,Words and Clan (Easy to Configure in File)
+ InGame RCON Console (With Dialog)
+ Easy to configure more important options (In File and InScript).
+ Register & Login in Dialog! (GUI) (Only MustLogin is enabled)
+ Easy to Enable/Disable script functions InGame (In Dialog or in Command)
+ Anti CaPsLock, Anti Spam, Anti Swear and Anti Bot System
+ All Reports saved in Files.
+ Administration System per Level and Position
+ Save in Log: Cars Spawned, Kicks, Bans, TempBans, Bad Rcon Logins, Teles Createds, PmChat, AdmChat, SetLevel, and more...
+ Level System (SetLevel and SetTempLevel)
+ TempBan System (Ban Player for specified Days)
+ Dueling System
+ Rcon attempts System. (Configure number of attempts)
+ Warn System (Ban after the specified number of warnings)
+ All commands show the function of the command (When no syntax is typed) (Except some commands without necessary (Example: kill,savepos)
+ Highest Administrators is immune from all commands
+ GiveWeapon support the Weapons Names
+ Commands very well organized in levels (/level 1/2/3/4/5) (Ex: /level 4)
+ Administrators can save your skin, for use in other Time
+ Most commands accepts the player's name or the ID
+ Dialogs simple Diasable/Enable in top of your script
+ New Rcon Commands
+ Loads of the configurations and more important Functions
+ Hide/UnHide commands (Hide you from Admins List, and remove 'admin' from your messages. If 'ADM_InMSG' is enabled)
+ Cage System! (Hold player in Cage) (Hight Security)
+ Gps System (City and Meters Distance) Find player meters from you! (In TextDraw and Radar CheckPoint)
+ Professional Spectating System (With TextDraw)
+ Many Lists - Wanteds, Muteds, Miniguns, Richs, Jaileds,...
+ Visible/Invisible System!
+ Anti Advertisements System (Ips, Links, ...) (+Warnings, +Easy to Enable/Disable in 'Config.cfg' file)
+ Only one TextDraw! (For Gps System and Spectating System)

And many other functions!...


Some Screens and Basic explanation
Administration System per Level and Position

Level 1: Basic Moderator
Level 2: Moderator
Level 3: Master Moderator
Level 4: Administrator
Level 5: Master Administrator
Rcon: Rcon Administrator



Gps System (I Tested with Npc)



Spec System



See more in log category!...

Commands


Level 1: Basic Moderator

Player: getinfo, weaps, ping, ip,
Vehicle: fix, repair, addnos, tcar
Tele: saveplacae, gotoplace
Adm: saveskin, useskin, dontuseskin, setmytime, adminarea
Other: lconfig, morning, reports, richlist, miniguns

Level 2: Moderator

+ Level 1 commands.
Player: giveweapon, setcolour, burn, spawn, disarm, highlight, jetpack, flip, fu
Player: warn, slap, (un)mute, laston, lspec, lspecoff
Vehicle: acar, abike, aheli, aboat, aplane, lspecvehicle
Tele: goto, vgoto, lgoto
Adm: lmenu, clearchat, write, announce, announce2, screen, (un)lockcar
Other: wanted, jailed, frozen, muted

Level 3: Master Moderator

+ Level 1 and 2 commands.
Set: set(health/armour/cash/score/skin/wanted/name/weather/time/world/interior/ping/gravity)
All: setallskin, armourall, setallskin, setallwanted, setallweather, setalltime, setallworld
All: setallscore, setallcash, giveallcash, giveallweapon, clearallchat, healall, disablechat
Player: ubound, duel, akill, aka, caps,(un)freeze, kick, explode,(un)jail, force, eject, (s)removecash
Vehicle: car, carhealth, carcolour, destroycar, vget, givecar
Tele: teleplayer, gethere, get, move, moveplayer
Other: gps, setpass, lammo, countdown, aweaps, invisible, visible

Level 4: Administrator

+ Level 1,2 and 3 commands.
All: spawnall, muteall, unmuteall, getall, killall, freezeall, unfreezeall");
All: kickall, slapalll, explodeall, disarmall, ejectall");
Player: cage, ban, rban, tempban, settemplevel, crash");
Adm: ctele, lockserver, enable, disable, spam, god, godcar, botcheck, forbidname, forbidword, fakedeath");
Other: uconfig, die, hide, unhide");

Level 5: Master Administrator

+ Level 1,2,3 and 4 commands.
+ Level 5 is Immune for all commands
Player: setlevel, fakechat, fakedeath, fakecmd
Adm: god, sgod, console
Other: pickup, object, respawncars
Rcon: lrcon (Only Rcon Admins) (Use: /rcon lrcon)


Log

Version 1.5:

Many new features, comming Soon...

Version 1.4:

  • Added Anti Advertisements (Ip,Links,...) (+Warnings,+Easy Enable/Disable in 'Config' file)
  • Added WantedLevel List!
  • Added Visible/Invisible commands
  • Added RespawnCars command
  • Huge Update in Spectating System (+TextDraw,+NoBugs,...)
  • Added Anti Forbidden Weapons to 'Config.cfg'
  • Fixed Gps System Bug!
  • Changed '/lmain' to '/lmenu' and '/lspec' to '/watch'!
  • Fixed Dialogs Bug!
  • Fixed Gramatical Errors!
  • Fixed Forbidden Weapons Bug
  • Added Enable/Disable Gps Checkpoint in top of Script (In case of any conflict with your GM)

Version 1.3:

  • Fixed Level mini Bug!
  • Fixed GPS System Checkpoints Bug!
  • Added new Gps Style!
  • Added Score Saving!
  • Added WantedLevel Saving!
  • Fixed all other version Bugs

Version 1.2:

  • Fixed Highlight command Bug!
  • Fixed Must login messages Bugs
  • Added Cage system (/cage)
  • Added Gps System (With Location)(Find player meters from you (In TextDraw and Radar CheckPoint)
  • Fixed Administration Levels and Positions Bug
  • Added player location in GetInfo command(Ex:Come-a-Lot)
  • Added 'Admin' in front of all messages send by Administradors (For use: enable in top of script)
  • Update Hide/UnHide Command!

Version 1.1:

  • Fixed Muted command Bug!
  • Fixed WeaponHack (Administrators not is Banned)
  • Fixed Register/Login saving System Bug
  • Fixed '/admins' command Bug (View all admins levels)
  • Fixed Administrator Position system Bug
  • Added '/hide' and '/unhide' commands (Hide you from admins list)
  • Fixed teleport lines Bug
  • Fixed Score saving System Bug
  • Fixed 'config.cfg' file Bug


How To Use

Make yourself admin:

  • Connect to your server
  • Register new Account
  • Log in RCON Admin
  • Type /setlevel [YourID] [Level]

Other method:

  • Connect to your server
  • Register new Account
  • Disconnect
  • Go to your Account file "LuxAdmin/Accounts/YourName.sav
  • Open file then change "Level=0" to "Level=5"
  • Reconnect in your server
  • Ready! You are level 5 (Master Administrator)

Using Admin Level in another script

  • Add " in top of your script
  • Then, add line to your command:

Make command for only Administrators use:
PAWN Code:
if (IsPlayerLuxAdm(playerid))

Exemple:
PAWN Code:
if(strcmp(cmd, "/help", true) == 0)
{
if(IsPlayerLuxAdmin(playerid))
{
//Function Here
}
else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You not is Administrator");
 á áreturn 1;
}

Make command for only administrators level 4 use:
PAWN Code:
if (IsPlayerLuxAdm(playerid, 4))

Exemple:
PAWN Code:
if(strcmp(cmd, "/help", true) == 0)
{
if(IsPlayerLuxAdminLevel(playerid,4))
{
//Function Here
}
else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You not is Administrator Level 4");
 á áreturn 1;
}
  

Change Level of a command:

  • Open LuxAdmin.pwn file
  • Press CTRL+F and search a command (Ex: dcmd_giveweapon)
  • Change number in Line: "

Exemple (Command only for Admins Level 4):
PAWN Code:
if(PlayerInfo[playerid][Level] >= 4)
Set to:
PAWN Code:
if(PlayerInfo[playerid][Level] >= 3)
Ready! Ready, now administrators level 3 can use the command!


Installation

  • Download the file!
  • Unzip the Files! (Recommended use Winrar)
  • Put 'LuxAdmin.amx" in your 'filterscripts' folder
  • Put plugin 'Whirlpool' in your 'plugins' folder
  • Put 'lfuncs', 'ldudb and 'ladmin' in your 'pawno/include' folder
  • After, put the folder 'LuxAdmin' in your 'scriptfiles' folder
  • Open 'Server.cfg'
  • Go to in line 'filterscripts'
  • Add 'LuxAdmin' (filterscripts LuxAdmin)
  • Then add 'Whirlpool' in plugins line (plugins Whirlpool)
  • Save the file!
  • Done!

Other Method:

  • Copy all folders 'filterscripts,pawno,scriptfiles,plugins'
  • Replace the folders of your server for them.
  • Open 'Server.cfg'
  • Go to in line 'filterscripts'
  • Add 'LuxAdmin' (filterscripts LuxAdmin)
  • Then add 'Whirlpool' in plugins line (plugins Whirlpool)
  • Save the file!
  • Done!


Bugs

If you found a bug in this code. Please, report it here! For I fix in next Version


Download

Version 1.3:




Version 1.3: 27/01/2010
      
Version 1.2: 24/01/2010
    
Version 1.1: 19/01/2010
    
Version 1.0: 13/01/2010
      

Additional Credits

  • Y_Less - Whirlpool Plugin
  • Some commands & some functions is based in LAdmin v4
  • Kyeman - Spectating
  • Rcon Cmds - Yom
  • TempBan based on sBanMachine
  • Luby - Meters Distance

Nenhum comentário:

Postar um comentário