[Release] FiveM In-game Console

FiveM In-game Console

An in-game console for FiveM with original Windows cmd looks including color support. Execute commands from in-game and see feedback, ideal for debugging. Note: This is my first real release.

Installation

  • Download latest release

  • Add it to your servers resource folder

  • Do not put spaces or special characters into the resources name and keep it lowercase

  • IMPORTANT: Edit your server.cfg and add:


  start console 

  add_ace resource.console command allow

Downloads

Direct Download
Github

How to use

Enter /console in chat. A prompt will appear to enter your servers rcon password found in your server.cfg. You will now have access to the servers console.
You will get logged back in if you rejoin.

Note: Pressing the x in the top right will only close the console in-game, your server won’t stop.

Change your rcon password to force everyone to relog in.

Additional Stuff

Made using React

19 Likes

Removed forbidden Discord mention.

Good job. Thanks :slight_smile:

Nice! :heart_eyes:

Isn’t it a bit dangerous having to type the rcon password in the game chat? It could be vulnerable …

It would be ideal, in my humble opinion, to be able to enter that CMD type console, from our computer and without having to be inside the server :slight_smile:

Anyway it works perfect, I have just tried it.

Best Regards

1 Like

The rcon password never leaves the resource and the password can’t leak into the chat on its own.
It’s basically the same as entering your password in any other log in form, the password still travels through the internet.
I don’t know how fivem handles encryption. There could still be a tiny risk of a man in the middle attack.
If you do not wanna have the console in-game use txadmin. It comes with every recent server simply double click your fxserver.exe and then go-to [your-server-ip]:4020 I think.

2 Likes

I don’t understand the use for this if you setup your perms and hit F8 you can execute commands …

I don’t understand the use for this if you setup your perms and hit F8 you can execute commands …

This is the server console rather than the client console

I don’t actually know if you can natively execute server commands in the F8 console. But with this you can easily debug server related stuff without using rcon or connecting to your vps.
Useful for remote development

Usefull for debuging while in game

i installed everything correctly i think, but when i type my Rcon password this comes up.

Dosent’t work on zap-hosting (dunkosrp) for me atleast

Try deleting the players.json from the resource then restart it.

What do you mean can you login or is there an error

Yes thx

No error, it just shows cursor and nothing else. Need to restart game for it to go back to normal.

Okay I see. Could you send me a screenshot of your F8 console after you try opening it? An issue might be the resource name. Your resource name may not include spaces and special character, I am gonna add a check for that soon. Try renaming the resource to console.

Still nothing, I still get the problem.

Ohh do you have a Steam Api Key in your server.cfg? This script uses steam hex IDs to authenticate users.

Nice release.

But to be honest, I find this quite risky.