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)
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?
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
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.
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