SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 04/01/2015, 07:17 AM   #1
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,707
Reputation: 489
Post JakAdmin3 - User-Friendly/Fast/Efficient (zcmd,sscanf2,foreach,SQLite) (ReMaKe)

JaKe's Admin System 3.5

Last Update: August 21, 2017

Click here for the latest version of JakAdmin4

UPDATE YOUR JAKADMIN TO THE NEW VERSION!

Thank you to Ultraz & denNorske for providing me a temporary host for this Beta-Test, I appreciate it guys! Also thank you to my friends; Milica (Queen), NotDunn, Kizuna, YaBoiJeff (Sean), Pavintharan for participating the Beta-Test

Introduction

RomAdmin (now known as JakAdmin3) started off @ September 9, 2012. RomAdmin is the very first version of JakAdmin, the admin system, however, is buggy the project has been shut down @ December 12, 2012. I have made some few attempts on reviving it but I failed. At April 2, 2013 a new version of RomAdmin has been released under the name JakAdmin and since then JakAdmin is born, The admin system itself started off @ dini, from v2.0 reaching to v2.9. There are a lot of features back then such as the Cookie System and JakAdmin Point System, the project has been stopped again @ July 15, 2014. JakAdmin3 project started on October 26, 2014 and the public beta testing was held on December 27, 2014. The original plan was JakAdmin3 will be released on New Years Eve 2015 but my PC got some sort of problem related to its AVR, the release date was moved to January 4, 2015 and since then JakAdmin3 is born (without the project getting shut down after 1 year later..)

This is basically an admin system just like many other else, However, I felt that this one has the best features. The admin system itself is originally based off from LAdmin and LuxAdmin combined but since then I decided to rely on my own ideas instead of copying someone else's work. Don't get confused why the re-issued LAdmin somehow has the same thread format like this, LAdmin's project is now handled by me. Feel free to use the admin system itself, and if you wanted to edit and re-issued your own version of it under your name make sure to send a Private Message.

Information/Features
  • Working at the latest SAMP version.
  • Save Skin Feature (<- 3.5)
  • Vote Kick System (<- 3.5)
  • Tracking (10) last used IP of Players (<- 3.5)
  • Deploying 3D Text Labels (<- 3.5)
  • Note System (<- 3.5)
  • Custom Ban System (w/ Ban IDs & Ban IP <- 3.4.1)
  • SQLite Saving System.
  • UserID system
  • Option settings for players (Friendly-User).
  • Password hashed (Whirlpool by ******)
  • 103+ administrative/player commands.
  • Report System
  • VIP System (version 3.4+)
  • Admin Include Support+ jadmin3.inc
  • Immune System (Admins cannot use commands to higher admins)
  • Fully working Anti Advertisement System (thanks to SickAttack)
  • (NEW) Admin Ranks & VIP Ranks can now be edited In-Game (3.4.1+)
  • Safe RCON Protection (thanks to Lordzy)
  • Report System (with IDs, managed by admins in-game)
  • and much more to discover by yourself.

Commands


Player Commands (/jcmds)
/stats /cpass /register /login /report /admins /jcredits /savestats /vips /cquestion

VIP Commands (/vcmds)


Admin Commands (/jacmds)



Note

For 3.4, An include support+ has been added. If you have VIP system disabled, CheckVip will always return 1 no matter what. Other than that there is no problem, Just to be sure if you found any problems on the include support+ just post it down and I will check it out later.

If you've experienced some odd technical errors, Please file in a bug report at this thread or better yet PM me.

Installation
  1. Open the JakAdmin rar file
  2. Extract the 4 folders, filterscripts/pawno/plugins and scriptfiles to your server files.
  3. Open server.cfg from your server files.
  4. To load JakAdmin, in the line filterscripts, add "jadmin3" (Without quote) so it will be look like this for example.
    filterscripts jadmin3 td

  5. Now after loading the filterscript, we're not done yet, Go to the line plugins (if there's no line plugins add one)
  6. Add these on the server.cfg (plugins line)

Windows Users: sscanf whirlpool libRegEx
Linux32 Users: sscanf.so whirlpool.so libRegEx.so (libRegEx.so can be found inside JakAdmin.rar./plugins/linux32)
Linux Static Users: sscanf.so whirlpool.so libRegEx_static.so (libgRegEx_static.so can be found inside JakAdmin.rar/plugins/linuxstatic)

For Windows Users - Extract onig.dll next to samp-server.exe (outside the plugins folder, onig.dll can be found right after you open the JakAdmin rar)

For Linux32 Users - Extract libgonig.so.2 outside the plugins folder, The file can be found at JakAdmin/plugins/linux32

-----------------------

If the plugins and includes that are used in JakAdmin3 is outdated, update them and recompile JakAdmin and the other scripts!

How To Make Yourself Admin?
  1. Connect to your server with the jadmin3.amx (JakAdmin3) loaded into your server.
  2. Login to your RCON (/rcon login [your rcon password])

    (( If the 2nd Protection of JakAdmin3 is enabled ))
  3. Type the 2nd RCON password (If you haven't edited the script yet the password is changeme)
  4. Type /makemegodadmin and you are done.

    (( If the 2nd Protection of JakAdmin3 is disabled ))
  5. Type /makemegodadmin and you are done.

JakAdmin3 Include

Code:
native SetPlayerGameTime(playerid, hour, minute, second);
native GetPlayerGameTime(playerid, &hour, &minute, &second);
native SetPlayerChocolate(playerid, amount);
native GetPlayerChocolate(playerid);
native vipcheck(playerid);
native CheckLogin(playerid);
native SetPlayerLogged(playerid, toggle);
native CheckVip(playerid);
native SetPlayerVip(playerid, level);
native SavePlayer(playerid);
native CheckAdmin(playerid);
native SetPlayerAdmin(playerid, level);
native CheckPlayerMute(playerid);
native CheckPlayerMuteSecond(playerid);
native CheckPlayerCMute(playerid);
native CheckPlayerCMuteSecond(playerid);
native SetPlayerMute(playerid, toggle);
native SetPlayerMuteSecond(playerid, seconds);
native SetPlayerCMuteSecond(playerid, seconds);
native CheckPlayerJail(playerid);
native CheckPlayerJailSecond(playerid);
native SetPlayerJail(playerid, toggle);
native SetPlayerJailSecond(playerid, seconds);
native CheckAccountID(playerid);
native CheckPlayerWarn(playerid);
native SetPlayerWarn(playerid, warn);
native CheckPlayerKills(playerid);
native SetPlayerKill(playerid, kill);
native CheckPlayerDeaths(playerid);
native SetPlayerDeath(playerid, death);
How To Check For Admin Level

PHP Code:
CMD:mycommand(playeridparams[])
{
    
LoginCheck(playerid); //Always add this.
    
LevelCheck(playerid1); //Level 1 admin, Change 1 to anything you want (1 to 5).
    
    //Place your script code here.
    
return 1;

How To Check For VipLevel

Note; Make sure the VIP system is enabled.

PHP Code:
CMD:mycommand(playeridparams[])
{
    
LoginCheck(playerid); //Always add this.
    
VipCheck(playerid1); //Level 1 vip, Change 1 to anything you want (1 to 3).
    
    //Place your script code here.
    
return 1;

How To Check For Admin Level On Your Script

PHP Code:
#include <jadmin3> //below all of your includes

CMD:yourcmd(playeridparams[])
{
    if(
CheckAdmin(playerid) >= 1)
    {
        
//
    
}
    else
    {
        
//
    
}
    return 
1;

How To Check For Vip Level On Your Script

Note; Make sure the VIP system is enabled.

PHP Code:
#include <jadmin3> //below all of your includes

CMD:yourcmd(playeridparams[])
{
    if(
CheckVip(playerid) >= 1)
    {
        
//
    
}
    else
    {
        
//
    
}
    return 
1;

Opening .db Files

JakAdmin3 uses .db files (SQLite default format for saving), they can't be opened with Notepad or Wordpad. You need a special program to open it, for example the SQLite Browser. I used it on opening the .db files, It can be downloaded by clicking this link.

Now after you downloaded it, Follow the instructions on the picture:






Tracking Player's Last Used IP(s)

Have you ever always wanted to track down someone who is trying to connect to your account or to someone's account? Do you want to track down a multi-accounter or a possible user who is using VPN? You may now track down all of the used IPs of that player (however only 10 IPs can be listed in game with the command /ips).

Note: If you have the same IP and it's already written/registered in the database, The script will delete the old one and write a new one with the new registered date & time.




Leaving Note(s) To Players

You may leave a note to a player for other administrator(s) to see.
Example Scenarios: Player is possibly hacking, a multi-accounter and you wanted to let the other admins know.

You can issue the note to offline players or view them even the player is offline. (/onote and /onotes)





Admin Panel

For administrators level one+, Double click on the player's name in player-tab in order to open the admin-panel dialog.




Configuration

config.ini has returned since the very last version of JakAdmin (which is v2.9) - You can now edit the stuffs that is found from earlier version of JakAdmin3 in-game with ease! You can now also edit the admin ranks and VIP ranks through /jsettings!




Screenshots



Changelog

Version 3.5
  • Vote Kick System added.
  • /jsettings moved to level 4 admins.
  • Few script optimizations (lowering the string usage)
  • Brought back the Save-Skin feature.
  • /specoff and /spec has been combinted together.
  • Added Head Admin Chat for Level 4+ admins
  • Added Temporary-Level Promotion System.
  • Added Log Checks on Report (for Owners+)
  • Ability to enter on vehicles (/entercar)
  • Tracks all the IP that the player has been used. (/ips [account name])
  • Admins ability to change an account's password (level 4 admins)
  • Ability to give player's to mega-jump (/megajump)
  • Adjustments on /explode and /explodeall.
  • /respawncar has been added.
  • /radiusrespawn has been added (in-short: /rr) - Respawn cars within radius.
  • Level 4+ admins can now give player /god (/allowgod)
  • Ability to manipulate/control player's wanted level. (/setwanted)
  • Ability to manipulate/control player's drunk level. (/setdlevel)
  • Admins Level 3+ has now ability to hide their markers.
  • Patched OPRL include to it's latest version.
  • Removal of RegEx for detecting Server Advertisement.
  • Player's current online time (not TOTAL time) are now counted.
  • Level Four Admins+ ability to manipulate player's total-playing time.
  • Added a Chocolate Bar system (can be controlled through jadmin3.inc)
  • Revised Read Commands (you may switch modes from "Global" to "Spectating Player")
  • Ability to deploy 3D Text Labels ("#MAX_DEPLOYABLE_LABEL" - Default is 30)
  • New Note System (leave notes to a specific player for other admins to read)
  • You no longer need a parameter on /stats when you want to view your own stats.
  • Players can skip registration and register later. (Can be toggled on /jsettings)
  • Scores & Cash does save now (Bugged Fixed that isn't noticed on the recent update)
  • TAB: Quick Easy Admin Access by clicking on players name. (+ players can report by clicking on players name)

Version 3.4.2
  • Adjusted the codes on loading the player's ban.
  • Adjusted the codes on loading the player's statistics.
  • Replaced these old comments on the script, making it more detailed.
  • Removed a timer which syncs the player's score and player's money to JakAdmin3s.
  • Re-adjusted the God System to the Ping Kick timer.
  • Re-worked on the Report System.
  • Admins are now invincible when they are on duty, No damages sustain from players!

Version 3.4.1 (4th Anniversary!)
  • IMPORTANT; Fixed VIP System; The VIP level now saves.
  • Re-worked on the way how JakAdmin3 creates the tables & database. Along with the messy way of how JakAdmin3 inserts a new player data!
  • Added the VIP level on /stats (Thank you for reminding me Twiix)
  • /vips command has been added (Again, thanks to Twiix)
  • Improved the Vehicle Spawn code abit;
  • Re-touched the script a little bit.
  • /cpass is now invisible from the Read Commands.
  • The return of the config.ini, Welcome back dini (Ew)
  • Removed the word JakAdmin3 from the register & login dialog.
  • After reaching the maximum warning on Security Question, you will get kicked!
  • /stats completely re-designed.
  • Player's can now change their Security Question and Security Answer. (They have to input their passwords first)
  • Re-introducing the old Anti-Swear & Anti-Name system of JakAdmin (based off from LAdmin, thanks LethaL!)
  • Minor fix on /vcmds.
  • Re-introducing the admin ranks (saved along with config.ini, editable IG, /jsettings)
  • Re-introducing /admins on dialog, + /vips too!
  • Admin Chat has been moved back to it's old style (E.G.; #hey guys!) Same goes to VIP Chat.
  • Kick Delay has been decreased from 2000ms to 800ms.
  • Added BanID on the ban table (+ improved the ban system a little bit, banning the player's IP as well)
  • Added a /crash command (* the same as of LAdmin5's /crash)
  • Removed GetPlayerColor @ /ip.
  • /cname now renames the player's account.
  • Typing none on /cquestion now disables the Security Question&Answer all together. (the word none is disabled though on the main setup of Securtiy Question&Answer)
  • A new anti-advertisement system (thanks to SickAttack)

Downloads

Download links below, Press click to get directed to the file.

•• Version •••• Release Date •••• Link •••• Upload Site •••• SAMP Version •••• Progress •••• Status ••
3.508/21/17ClickZippyShare0.3.7LATEST
3.4.201/26/17ClickZippyShare0.3.7Outdated
3.4.109/09/16ClickZippyShare0.3.7Outdated
3.402/07/16ClickSolidfiles0.3.7Outdated
3.3.101/11/16ClickSolidfiles0.3zOutdated

Credits

_Jake_, ******, DracoBlue, Zeex, Zher0, Lordzy, SickAttack, Koala818, Twiix
Milica, NotDunn, Kizuna, YaBoiJeff (Sean), Pavintharan, denNorske
Ranveer, Harvey, Ultraz Samp_India, Ashirwad, Sonic, Adham, MaxFranky and others who helped us.

You may use this script on your server, You have to ask permission though if you are gonna redistribute this (Doing some modifications and editing it.)
__________________
Discord: Cipher#7353
__________________


Server IP: Click me | Discord: Click me

You challenged us, What you want is what you get.

Last edited by JaKe Elite; 31/12/2017 at 03:47 PM. Reason: 3.5 UPDATE
JaKe Elite is offline   Reply With Quote
Old 04/01/2015, 07:30 AM   #2
HY
Gangsta
 
HY's Avatar
 
Join Date: Sep 2014
Location: România.
Posts: 540
Reputation: 87
Default Re: JakAdmin3 - User-Friendly/Fast/Efficient (zcmd,sscanf2,foreach,SQLite) (ReMaKe)

Oh, nice.

First.
__________________
hi.
HY is offline   Reply With Quote
Old 04/01/2015, 07:33 AM   #3
Team_PRO
High-roller
 
Team_PRO's Avatar
 
Join Date: Aug 2012
Location: Southeast Asia
Posts: 1,839
Reputation: 87
Default Re: JakAdmin3 - User-Friendly/Fast/Efficient (zcmd,sscanf2,foreach,SQLite) (ReMaKe)

Nice Update
__________________
Retired Player, Since 2009 Player


(click the picture to visit our official website)
Gaming Forecast Forum | SA-MP Zombie Discord Server | SA-MP Zombie Server [Click to Join]
Team_PRO is offline   Reply With Quote
Old 04/01/2015, 07:35 AM   #4
PT
Godfather
 
PT's Avatar
 
Join Date: Nov 2012
Location: Europe
Posts: 7,180
Reputation: 803
Default Re: JakAdmin3 - User-Friendly/Fast/Efficient (zcmd,sscanf2,foreach,SQLite) (ReMaKe)

Why don't you use GitHub? Its perfect for this.
PT is offline   Reply With Quote
Old 04/01/2015, 07:36 AM   #5
Ryan_Bowe
Huge Clucker
 
Join Date: Jul 2012
Location: United States
Posts: 218
Reputation: 16
Default Re: JakAdmin3 - User-Friendly/Fast/Efficient (zcmd,sscanf2,foreach,SQLite) (ReMaKe)

Did not expect another version of JakAdmin. I will not be using it, but so far it looks to be another great release of JakAdmin.
Ryan_Bowe is offline   Reply With Quote
Old 04/01/2015, 07:38 AM   #6
GenzT
Little Clucker
 
GenzT's Avatar
 
Join Date: Aug 2014
Posts: 36
Reputation: 46
Default Re: JakAdmin3 - User-Friendly/Fast/Efficient (zcmd,sscanf2,foreach,SQLite) (ReMaKe)

Nice ! Keep it up !

Last edited by GenzT; 10/01/2015 at 07:55 PM.
GenzT is offline   Reply With Quote
Old 04/01/2015, 08:27 AM   #7
Arxalan
Banned
 
Join Date: Feb 2014
Location: In your heart
Posts: 366
Reputation: 38
Default Re: JakAdmin3 - User-Friendly/Fast/Efficient (zcmd,sscanf2,foreach,SQLite) (ReMaKe)

#include <OPRL>
You didn't posted the link of this include (it is in line no 222)
Arxalan is offline   Reply With Quote
Old 04/01/2015, 08:45 AM   #8
Arastair
Gangsta
 
Join Date: Jun 2014
Posts: 782
Reputation: 49
Default Re: JakAdmin3 - User-Friendly/Fast/Efficient (zcmd,sscanf2,foreach,SQLite) (ReMaKe)

Nice jake
Arastair is offline   Reply With Quote
Old 04/01/2015, 09:06 AM   #9
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,707
Reputation: 489
Default Re: JakAdmin3 - User-Friendly/Fast/Efficient (zcmd,sscanf2,foreach,SQLite) (ReMaKe)

Updating the download link, JakAdmin3 has a missing include on the file (OPRL)
__________________
Discord: Cipher#7353
__________________


Server IP: Click me | Discord: Click me

You challenged us, What you want is what you get.
JaKe Elite is offline   Reply With Quote
Old 04/01/2015, 09:22 AM   #10
Ryz
Huge Clucker
 
Ryz's Avatar
 
Join Date: Feb 2014
Posts: 481
Reputation: 29
Default Re: JakAdmin3 - User-Friendly/Fast/Efficient (zcmd,sscanf2,foreach,SQLite) (ReMaKe)

cool! nice release..
__________________
***
Ryz is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Advanced Capturable Zone Scripting [Easy,Very Fast,Efficient,Variable Time TO Capture For DONOR , More STOCKS ,Foreach] kN1GhT Tutorials 13 13/03/2015 09:50 AM
[FilterScript] InfoOrg ( DOF2/Y-INI - ZCMD - SSCANF2 - FOREACH ) iMega Lançamentos/Releases 9 31/05/2013 12:27 AM
[FilterScript] rVip - SQLite , ZCMD , SSCANF2 Rimmon Filterscripts 3 12/05/2013 07:55 PM
[GameMode] Death Match ( Zcmd - Sscanf2 - Foreach - Streamer ) Diogo123 Lançamentos/Releases 14 15/03/2013 09:33 PM
[GameMode] Blank Gamemode (dini, zcmd, sscanf2, foreach) pantelimonfl Gamemode Scripts 17 10/07/2011 04:56 PM


All times are GMT. The time now is 07:11 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.