Easyadmin Coding

Im trying to remove the part of the command in the easyadmin menu that makes you put a player name in your report, I want people to be able to do /report {reason}, but by default it makes you do /report {player your reporting name} {reason}. Does anyone know how to chnage this if so please use these files to do it idk what easyadmin version im on so I just want to to be edited in my files. If you are able to do it, please do it for me becuse I do not know how to, just reply with the fixed code. thank you.
admin_server.lua (88.2 KB)
gui_c.lua (59.2 KB)
util_shared.lua (9.6 KB)
admin_client.lua (13.9 KB)
shadow.js (3.1 KB)
style.css (2.2 KB)
Controls.lua (31.9 KB)
NativeUI.lua (138.4 KB)
NativeUI-rdr3.lua (138.5 KB)
preprelease.yml (916 Bytes)

Hey :slightly_smiling_face:
I added a few lines of code (around line 987) that will make it possible for people to make a report without having to put a player’s name in the command (still possible to do it, if needed). Test and see if it works (will need some modifications along the line, it’s a starter).
admin_server.lua (89.4 KB)

Thank you I will see if that works

All you had to do was enable the “ea_enableCallAdminCommand” and then name the command to what you want with “ea_callAdminCommandName”, this would enable the exact feature you want with no editing needed

1 Like