03.04.2011, 03:47
(
Последний раз редактировалось austin070; 16.04.2011 в 14:10.
)
Simple Login/Administration System by me, austin070
Requirements:
Requirements:
- Zcmd by Zeex
- dini by DracoBlue
- sscanf by ******
- dudb by DracoBlue
Installation:
- Place "Login.pwn" and "Login.amx" in your FILTERSCRIPTS folder.
- Navigate to "server.cfg"
- Add "Login" to the "filterscripts" line.
- Create a folder called "Accounts" in your scriptfiles folder.
- Download the includes and place them in the pawno\include folder.
Information:
This script consists of a login system and 23 basic moderation commands. Dialogs are used to register players and to log them in. The login system uses dudb to convert the password into numbers, that way everyone's password is safe. Position of players is saved OnPlayerDisconnect. I have it this way because I don't want to lag my server by saving it under OnPlayerUpdate. The only thing wrong with the way I do it is when the server restarts, everyone's position is not saved. Using OnPlayerUpdate to save the players' positions will work as long as your server host has enough memory to handle it. Now to the commands. I only scripted in a few basic moderation commands. If you need any more than what is given, script them yourself.Commands:
Player Commands
/reportLEVEL 1
/respawncar, /goto, /gethere, /apm, /repair, /freeze, /unfreeze, /mute, /unmute, /spectate
LEVEL 2
/disarm /respawnallcars /veh /kick /givemoney
LEVEL 3
/ban /akill
LEVEL 4
/sethp
LEVEL 5
/adminlevel [level 1-5] /restart
NOTE: Highest admin level is 5.
ANOTHER NOTE: Use /adminlevel to change the admin level of another person. To change your own, log in to RCON or change it via your account's file in the "Accounts" folder.
I will be updating this farther soon. Updates will include only more commands. Hope you guys like it, it's my first release.
Credits:
****** for sscanf
Zeex for Zcmd
Dracoblue for dini and dudb
austin070 for scripting
Please do not reupload without my permission
Download links:
Pastebin
Solidfiles
/respawncar, /goto, /gethere, /apm, /repair, /freeze, /unfreeze, /mute, /unmute, /spectate
LEVEL 2
/disarm /respawnallcars /veh /kick /givemoney
LEVEL 3
/ban /akill
LEVEL 4
/sethp
LEVEL 5
/adminlevel [level 1-5] /restart
NOTE: Highest admin level is 5.
ANOTHER NOTE: Use /adminlevel to change the admin level of another person. To change your own, log in to RCON or change it via your account's file in the "Accounts" folder.
I will be updating this farther soon. Updates will include only more commands. Hope you guys like it, it's my first release.
Credits:
****** for sscanf
Zeex for Zcmd
Dracoblue for dini and dudb
austin070 for scripting
Please do not reupload without my permission
Download links:
Pastebin
Solidfiles