GithubHelp home page GithubHelp logo

blumlaut / easyadmin Goto Github PK

View Code? Open in Web Editor NEW
159.0 16.0 157.0 1.9 MB

Admin Menu for FiveM and RedM

Home Page: https://easyadmin.readthedocs.io/

License: GNU Affero General Public License v3.0

Lua 81.39% JavaScript 18.61%
fivem fivem-script admin-panel easyadmin

easyadmin's Introduction

image

EasyAdmin is an Administration Suite for FiveM and RedM Servers, EasyAdmin is feature-rich and highly customisable, it includes features such as

  • Basic Administration (Kicking,Temp/PermaBanning,Mute,Teleport To/From,Slapping,Freeze Player,Warnings)
  • Ability to Screenshot other Players' Game (requires screenshot-basic)
  • Extensive Banlist System which is highly resilient to ban evasion
  • Basic Ability to modify Server Settings from a GUI.
  • Report / Admin Call System with GUI to view and handle them
  • Extensive Permission system utilising FiveM's inbuilt ACE System.
  • A Permission Editor allowing for realtime modification of Server Permissions, saves to a config!
  • Various Server Admin Tools such as Cleaning up spawned Cars/Peds/Props
  • API to allow Developers to Communicate with EasyAdmin
  • Translation in 7 Languages (Community Driven)
  • Actively Supported & Updated since 2017
  • Plugin Support
  • Fully integrated Discord Bot, including Discord ACE Permissions, Chat Bridge, Commands and Logs

image

image

image

image

Dependencies

EasyAdmin requires FiveM's default yarn resource, this is included in cfx-server-data when installing the server.

Installation

Take a look at our Documentation here, we Explain how to Install and Configure EasyAdmin on the Wiki.

Graphic Design by Team Snaily

Supported by:

ZAP-Hosting Gameserver and Webhosting 20% Discount Code: EasyAdmin

easyadmin's People

Contributors

aleelpalmero avatar antho7twitch avatar arnaudlier avatar bartixxx32 avatar blumlaut avatar coleminer0112 avatar dependabot[bot] avatar gamenhaadee avatar gravxd avatar hyprell avatar itkewai avatar ixhal avatar jaccosf avatar javiito32 avatar jonteohr avatar kubamaz avatar lint-action avatar nimplex avatar officialskypo avatar psycodeliccircus avatar r3site avatar rex2630 avatar rubbertoe98 avatar theindra55 avatar tomgrobbe avatar troughy avatar vecchiotom avatar xnubil avatar xseba360 avatar zrxnx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

easyadmin's Issues

EasyAdmin menu

I'm in admin group in server.cfg, but i push to F2 and EasyAdmin menu dosn't display.

Have you a fix ?

[Ace Question]

Hi, this is not an Easy Admin question, and I have tried to google the issue, but how do I use steam in ACE?

is it simply add_principal identifier.steam.(hex or 64?) group.normaladmin

Thanks!

Display issue

Display problem when opening the menu.

I tried, but did not change anything:
Clear the server cache
Clear the client cache
Several reboot
Seconde Upload EasyAdmin

20180715014305_1

Menu does not open at server start

I have a problem with EasyAdmin script when starting the server the script starts correctly but when I do F2 the menu does not open and I am forced to do "restart EasyAdmin" in the server console FiveM

not working

Hello
I used the EasyAdmin before and it was working..i installed it yesterday..
readed the wiki and putted all the needed stuff to server.cfg.
added myself to server.cfg admins
changed the button in server.cfg to be F5
also i downloaded the last version of NativeUI by frazzle
there is no errors but when i click the menu button nothing happens

server.cfg:

start NativeUI
start EasyAdmin

set ea_LanguageName "en"
set ea_MenuButton "116"
set ea_alwaysShowButtons "false"
set ea_moderationNotification "false"
set ea_custombanlist "false"

add_principal identifier.ip:[ip here] group.superadmin
add_principal identifier.steam:[steamid here] group.superadmin
add_ace group.superadmin easyadmin allow

If someone could provide some help would be greatly appreciated

Best regards

Can't make myself an Admin

This is my steam profile https://steamcommunity.com/id/Kevinjsilva/ and right now I can't make myself an admin. I've tried everything even making my IP an admin, but nothing works. I really need some help. Please help. I usually respond quickly so your not wasting your time..... also this is what I have on my server.cfg so far...

I can't put a fucking screenshot because GitHub is being a prick so I'll just paste pain text

add system admins

add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don't allow quit
add_ace identifier.ip:localhost group.admin
add_ace identifier.steam:76561198301779082 group.admin

Bring player to me

Hi,

The last thing I would like to request in this script (to completely replace es_admin) would be the possibility to bring a player to me. So that if someone is stuck inside an apartment (due to relog issues) I can teleport that player that player to me.

Cheers

getting console errors

Hello,
so im getting the following error in console when i try to start EasyAdmin.
I installed the last version of EasyAdmin + the last version of NativeUI by frazzle and cleared cache
i didnt changed nothing to the scripts

restart EasyAdmin�[6G�[Jrestart EasyAdmin�[23G Stopping resource EasyAdmin Started resource EasyAdmin Error resuming coroutine: citizen:/scripting/lua/json.lua:397: bad argument #1 to 'strfind' (string expected, got nil) stack traceback: [C]: in function 'string.find' citizen:/scripting/lua/json.lua:397: in upvalue 'scanwhite' citizen:/scripting/lua/json.lua:553: in function <citizen:/scripting/lua/json.lua:551> (...tail calls...) admin_server.lua:467: in function 'updateBlacklist' admin_server.lua:586: in function 'loopUpdateBlacklist' admin_server.lua:596: in function <admin_server.lua:21>

Unban player not working

I did the following.

  1. Banned a friend to test the bans.
  2. Refreshed the ban list.
  3. reopened the menu.
  4. Tried to unban but doesnt show.
  5. Tried to unban via commands even tho it says Done it didnt to a thing.

The only way I could unban him was to remove him from the banlist file and restart the server

[Enhancement] Databases ( SQL / CouchDB )

Hi, we have 3 servers and were wondering if there would be an easy way to sync the banlists between the servers? Whether using CouchDB or mySQL it would be a feature we very much would appreciate.

If you could tell me a good way to implement it, I would be okay to implement it for myself only, not requiring you to update your script.

How to install?

Hello my friends and I trying to start a server. We do not know how to install easyadmin and there are no videos or guides. Im hoping someone could reach out to me just to tell me how to install the mod.

Adding more features

I was thinking of putting features that will just serve to administrate a server.

  • Freeze Player
  • Kill a player (Not sure but maybe not, just in case the freeze don"t work of something like that)
  • Teleporting to a waypoint (Can be useful)
  • Reload a ressource (Useful when you are modifying something and you don't want to reload the server, like blip on map)
  • Noclip (Not sure) (Maybe to hide when you are spectating someone)
  • Ban a player with his name even if he is not online (DB Method : You write his name, that will search in the database, his name and it goes ban his steamid)
    (Non DB method)
    Or maybe when you freeze a player his name is enter in a txt and if he leave while freezed, you have his name in the txt because its only when you unfreezed him the name disappear in the txt.
    When you have banned him, add an option to clear the file.

And that's it, i don't know what you could add :)

big problem xD

hi

i have anticheese-anticheat that use EasyAdmin to ban and somthing

the problem anticheese-anticheat ban the Admin -___- how can i unban me to login without stop easyadmin to login

i hope you understand me my english too bad

Add multiple admins

Hi. i am wondering if you can leave an example of how i could give the admin role to myself or to my friends so they can ban people. can you also help me out by not giving the admin role to everyone on the server since that is an issue as well?

Can't set a date?

If i ban someone, it shows in chat 31/03/2013(someting like that). Anyone have a same issue? If someone resolve , write me. And sorry for my bad english.

not working after the last update (yesterday)

Hi
I started my server and saw that update is available...
downloaded it,deleted the old version and installed the new one,cleared cache and started server..
but when i press the menu key nothing happens ?!?
there are no errors in console

Add Missing Translations

Contributors have already been contacted, if you want to add your own Language, please read the Wiki on how to do that, then just create a Pull Request.

Perm ban and temp ban permissions

Would it be possible to have permisions specificly for perm and temp ban, so that you can set moderators to only be able to temp ban and admins can temp and perm ban ?

Resource time warning

sometimes it shows that easyadmin is using 65.91 MiB (number changes) of ram and says to contract the server owner to resolve the issue. is it posible to do something about that?

Cant get menu to open

Dont understand it said i was a EasyAdmin and when I press F2..nothing

this is in my server config...


#EasyAdmin
set ea_LanguageName "en"                # set our language to english
set ea_MenuButton "289"			# set our menu button to F2. default: "289"
set ea_alwaysShowButtons "false"	# we don't want to see buttons we can't even access, do we? default: "false"
set ea_moderationNotification "false"   # this can be either "false" or a discord webhook address, this will send a discord message if an admin takes actions against a player  ( such as banning and kicking )

#Admins
#Redrum

add_ace group.admin easyadmin allow	                 # allow all commands for admins

add_ace group.moderator easyadmin.kick allow		 # allow kicking
add_ace group.moderator easyadmin.spectate allow         # allow spectating
add_ace group.moderator easyadmin.freeze allow         # allow freezing
add_ace group.moderator easyadmin.ban allow		 # disallow banning
add_ace group.moderator easyadmin.unban allow		 # also disallow unbanning
add_ace group.moderator easyadmin.addadmin allow
add_ace group.moderator easyadmin.manageserver allow
add_ace group.moderator easyadmin.slap allow

add_principal identifier.steam:76561197986254841 group.moderator	# add a user to the moderator group, any identifier works this way.

No longer can access the menu

Hi, the server I work for loves this script (Ps it's amazing) But recently one of our admins can no longer access the menu. We have tried fixing it but we have no idea what is going on

Everyone has admin

Hello, I seemed to have run into a problem. I was on my server and a guy said that when he clicks F2 a ban menu comes up. I have tried changing the button from F2 to F9 but the menu still shows as F2. Everyone can kick and ban anyone from the server and im wondering why.

Hear ingame voice during spectate

Yo btf 👍
I was wondering if it was possible to add the ability to hear ingame voice during the spectate? We admins often listens in on roleplay scenarios to help those who need training :)

Cheers

Players getting kicked instead of banned

Since the "ACE" introduction, EasyAdmin seems only to kick banned people instead of actually banning them.

this is what i tried so far:

reinstalling easyadmin

resetting the banlist.txt

Is it possible to add a noclip command to this?

Hello, I really love your queue system but we have used ES_ADMIN up until now. The only thing I miss is a /noclip command so that I as a developer can get around inside buildings and such. Is this possible to add to the menu for myself?

Console Error

I get this in my console. The script works fine its just that...

Error running system event handling function for resource EasyAdmin: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: admin_server.lua:424: bad argument #1 to 'for iterator' (table expected, got nil)
stack traceback:
        [C]: in for iterator 'for iterator'
        admin_server.lua:424: in upvalue 'handler'
        citizen:/scripting/lua/scheduler.lua:175: in function <citizen:/scripting/lua/scheduler.lua:174>
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
        citizen:/scripting/lua/scheduler.lua:174: in function <citizen:/scripting/lua/scheduler.lua:138>

Freezing issue

Nevermind! saw this got fixed can be deleted / closed

Fixing banlist issue

https://github.com/Bluethefurry/EasyAdmin/blob/41e6348a55860338bdd2d0067393b571328f45c9/admin_server.lua#L422

AddEventHandler('playerConnecting', function(playerName, setKickReason) local numIds = GetPlayerIdentifiers(source) local content = LoadResourceFile(GetCurrentResourceName(), "banlist.json") testblacklist = json.decode(content) for bi,blacklisted in ipairs(testblacklist) do for i,theId in ipairs(numIds) do if blacklisted.identifier == theId then Citizen.Trace("user is banned") setKickReason(string.format( strings.bannedjoin, testblacklist[bi].reason, os.date('%d/%m/%Y %H:%M:%S', testblacklist[bi].expire ))) print("Connection Refused, Blacklisted for "..testblacklist[bi].reason.."!\n") CancelEvent() return end end end end)

Admins not loading

I have a bug idk what happend but if i add admin by addadmin command its works adding to admins.txt but after few restarts my admins cant open EasyAdmin i need add it agin and restart script it works for next restart too but in admins.txt it making double lines ( all looks good in this file ) I will just add if Menu not working sometimes a few restarts of fivem can help and they can use the menu i dont know whats happened

I can't get it to work.

I have put all the set ea stuff in my server.cfg folder and i have NativeUI installed, i have also added: start EasyAdmin and start NativeUI into my server.cfg but when i load into the server and hit F2 it won't open. Please help me.

Cant get it to work

So ive been searching through this over and over and i cant for the life of me get why normal user get the ability to kick and ban and even get the menu open and also the premissions is all set to false yet it apears on the easy admin menu and the F2 button works to change to F10 but when i add it to the main server it changes back to F2 for some reason when my test server and my main server have the exact same code.

ban = false,
kick = false,
spectate = false,
unban = false,
teleport = false,

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.