Jump to content

1 Screenshot

About This File

(Converted from GT-MP 31 MAY - Originally created 7 APR)

I decided to convert my old resource to provide examples for others as well as learn the new API of RageMP.

 

A simple approach to an admin system that makes use of JSON instead of a common SQL Database.

Keep in mind this is nothing but a simple admin system to inspire someone else or continue to work on. There's plenty of commands missing if you intend to fit it to your own gamemode. I will mention that the ban system could use more work. At the moment it's easy to bypass seeing it's only based on the socialClubName of a player. Anyway, it's just an attempt at messing around a bit with JSON. If you're going to create a larger system I'd advice doing it differently. To alter your admin level, first register ingame and open up your JSON file. In the file you'll see your admin level that can range from 1-5. 1 being Junior & 5 being defined as Mangement.

Command Description
/login [password] Used to login to your admin account and gain access to the commands.
/register [adminName] [password] Used to register an admin account. Currently there's no restrictions to prevent everyone from doing so.
/ahelp Will display all commands avaliable to admins.
/mute [target] Mutes the player and makes him unable to use the chat.
/unmute [target] Unmutes the player and allows him to use the chat again.
/spawnwep [wepName] [ammo] Creates a weapon and gives it to yourself with 9999 ammo unless specified otherwise.
/spawncar [vehicleName] [color1] [color2] Create a vehicle and places you in the driversseat. Uses default color 1 unless specified otherwise.
/setkevlar [target] [amount] Gives the target the desired amount of armor.
/sethealth [target] [amount] Gives the target the desired amount of health, unless the target is dead.
/goto [target] Teleports you to the target's position.
/gethere [target] Teleports the target to your position.
/kick [target] [reason] Simply kicks the player from server and display a message for everyone to see.
/ban [target] [reason] Kicks the player and creates a ban file with the specified reason.
  • Like 7

User Feedback

Create an account or sign in to leave a review

You need to be a member in order to leave a review

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Ruby_21

   3 of 3 members found this review helpful 3 / 3 members

even that you posted that long time ago still I used that and it's really helped me, thanks, man!

Guest DeSplash

   7 of 19 members found this review helpful 7 / 19 members

.

Haptar

   3 of 14 members found this review helpful 3 / 14 members

.

Guest xiaohao

   1 of 9 members found this review helpful 1 / 9 members

6gege

Zilvia

   0 of 1 member found this review helpful 0 / 1 member

Like the title says, a nice simple admin system. Thank you!

Guest Benjjao

   0 of 1 member found this review helpful 0 / 1 member

Niceee

Guest Benjo

   0 of 1 member found this review helpful 0 / 1 member

nice

Guest lol

  

good

Guest TcdGG

  

GG

×
×
  • Create New...