Giter Site home page Giter Site logo

esx_adminplus's Introduction

Make sure to check esx_adminplus on Fivem forum

ESX AdminPlus

My first public resource , created mainly for ESX V1.2 (AKA. V Final) (but also works with V1.1)

all commands available in this script:

server console commands:

  • players | will return ID/name/group of online players
  • reviveall | will revive all dead players
  • say [message] | send announcement to all online players

ingame Admin commands

  • /admin | your exact rank on server

  • /tpm | teleport you to selected waypoint on map [thanks to qalle for his code]

  • /coords | print ped coords in serverconsole and F8

  • /report [message] | send message to all online admins [configurable cooldown]

  • /announce [message] | send announcement to all online players

  • /bring [ID] | bring a player to your location

  • /bringback [ID] | teleport player back to where he was before /bring

  • /goto [ID] | teleport you to player with given ID

  • /goback | teleport you back where you was before /goto

  • /kill [ID] | instantly kill player with given ID

  • /freeze [ID] | freezing and making player invincible

  • /unfreeze [ID] | opposite of what /freeze do

  • /reviveall | revive all dead player on server (completely serversided, so no exploit can be done)

  • /a [message] | admin only chat with ranks and names

  • /warn [ID] | warn a player and kick if execeed max warns [configurable]

  • /noclip | Noclip [thanks to riftwebdev] for his code

special thanks to Cold Cat!!!#8585 for helping me on debugging and testing

INSTALLATION

  1. download from github

  2. extract esx_adminplus-master to your resources folder and remove -master from folder name

  3. add start esx_adminplus AFTER es_extended(or ExtendedMode) and esx_ambulancejob in your server config

  4. open up config.lua in esx_adminplus folder and config it as you want [note: default ranking system as i know was : superadmin > admin > moderator [it could be different for you, check your server cfg and see what is yours]

dependencies :

ESX V1 final || alternative : ExtendedMode

esx_ambulancejob [can be optional] (only for reviveall command)

Onesync [can be optional] (read below for more information)

notes:

there is no UI like es_admin , all commands are easy to use already

ESX version 1.1 and 1.2 both supported

Onesync needed for teleport / bring / goto / coords commands ( TLDR : anything that need coordination )

you can exclude rank(s) from accessing to a command by passing a table of ranks as second argument to havePermission()

if you don't know what that means , lets do an example : you want to exclude moderator from sending announcements , so : first , find RegisterCommand("announce", function(source, args, rawCommand) then find if havePermission(xPlayer) then and add second argument to havePermission like below: if havePermission(xPlayer, {'moderator'}) then thats it!

my other scripts :

second hand vehicle

Advanced Job System

Advanced Kit System

hope you like it!

if you need help about this script you can contact me @ https://discord.com/invite/Mgyg2nVRhC

I am gonna work on a new administrator menu (yes, MENU!) soon, but its gonna be a lot of work

Stay tuned!

esx_adminplus's People

Contributors

ali-exacute avatar gaby avatar riftwebdev avatar ramonbrugman avatar paulyj1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.