FXCommands - Stream Deck Plugin for FiveM

FXCommands

Stream Deck Plugin

Overview

FXCommands is a Stream Deck plugin for sending commands to the FiveM client console, it can be used to replace existing Stream Deck setups that usually involve some sort of macro/combination like pressing F8, typing a command and pressing enter.

Existing macros come with a number of caveats including taking control away from the game to open the console and send commands or causing other issues if they rely on key-presses (eg to navigate a menu).

You can use this plugin to send commands directly to the client console through the TCP listener exposed here right from your Stream Deck with no additional setup or software required.

You can use any command that is available in the console, availability will depend on the individual server and the commands they have available, you can also use this in a multi-action with key presses and any other Stream Deck actions.

Usage

Simply install the plugin (download and run the .streamDeckPlugin file) and then drag the action from the sidebar to your Stream Deck. Fill in the command to be executed and you’re ready to use. You can chose to have a command executed when pressed or when released (or even both).

Advanced usage is available on the Github page (linked below) and includes staged commands and other example usage (multi-action, etc)

Download / Links

Github: GitHub - EggRP/fxcommands: Streamdeck Plugin for FiveM commands
Download: Releases · EggRP/fxcommands · GitHub (or attachment)

Now available on Stream Deck App Store: https://apps.elgato.com/plugins/com.egg-rp.fxcommands

com.egg-rp.fxcommands.streamDeckPlugin (1.5 MB)

18 Likes

omg, love it

1 Like

Sorry, just woke up and I’m a little confused; most likely I’m over complicating it… Is there anything server side that needs to be installed? Or is it literally just the STREAMDECKPLUGIN FILE and that’s all that’s needed?

1 Like

Just the Stream Deck plug-in file, the plugin itself manages a connection and sends the command via the devcon (ref in the original post)

Nothing else required client or server side :slightly_smiling_face:

Wow what an amazing script. Hey man you are soo cool

Would it be possible to do a version, where we prefill a list of emotes that can be selected via a dropdown insted, of an input field?

And would a build guide be possible how to compile when just downloading and trying to build that wont work it looks like

1 Like

Seems to not work for me. Any thing i couldve missed? Just installed the plugin, tried a few commands and nothing.

Are you using a slash in the command? (don’t use a slash)
Do you get any message in game or in the F8 console

I’ve replied to your Github issue with build instructions

Regarding prefilling an emotes list, it is possible to do however not something I am looking at adding to this release - you can have a go modifying if you like. You can accept a file input in the plugin and write the data to the plugin settings to populate a dropdown.

I did think about it originally, however decided not to do it as I think that keeping an up to date commands list (on a website or discord channel) is a better solution

There is also limited coverage for commands with variables and the SD UI doesn’t give much room for including additional info (like command descriptions) and users would need to re-download and load updated config files any time a new command is added, so we have gone for a command list on the site as an alternative

Nice :innocent:

1 Like

The plugin is also now available directly on the Stream Deck app store: Stream Deck App Store

As a heads up,

If there are any updates or bug fixes this will auto update your installed version, if you are running a custom build you have made yourself you may need to use a different CodePath in the manifest.json file and update any references to it.

Good work guys!

Any thoughts about creating a Companion plugin for this?

1 Like

Is that actual icons you used? If so what icon pack are you using?

What would the functionality be, do you mean a server side plug-in?

These examples in the screenshot were made in Photoshop, we’ve created and published templates and a guide here https://egg-rp.com/streamdeck/

You can download the Photoshop file, customise to your liking then export strait in to the individually slices tiles

My text box that opens when you type shows the old messages but nothing happens. Example, i enter “e dance” into the on press, when i get in server nothing happens

Okay, ive been able to get a few commands to work but no emotes seem to function at all.

Are you sure the server has that emote system? (dpemotes)

1 Like

Essentially the same, but for a companion plugin/module instead of streamdeck?

https://bitfocus.io/companion/