A FFXIV CLI app that activates multiple crafting macros while refreshing food and potion buffs.
Tested on Windows and Keyboard only.
Download the Windows binary in the Releases page.
Need help? Check out the Wiki.
Run:
.\xivcrafter
If .xivcrafter.json
does not exist in your home directory, XIVCrafter will create it upon launch. It will then prompt you to fill out the XIVCrafter settings and one recipe.
Only needed if you want different settings than .xivcrafter.json
.
--cancel string cancel hotkey
-c, --config string config file (default is $HOME/.xivcrafter.json)
--confirm string confirm hotkey
--debug enable debugging (debug log location is $HOME/.xivcrafter-log.jsonl)
--delay int crafting delay in milliseconds
-h, --help help for xivcrafter
--key-delay int keyboard input delay in milliseconds
--start-pause string start/pause xivcrafter hotkey
--stop string stop xivcrafter hotkey
In order for XIVCrafter to work properly:
- Make sure you are not near anything that can be interacted with.
- This is important to make sure you don't accidentally target something else and thus being unable to craft.
- Open the Crafting Log and select the item you want to craft with XIVCrafter.
- To ensure your character is in the correct state, start and then cancel the craft without any additional inputs.
- Press the Synthesize button in the Crafting Log window. When the Synthesize window appears, press the Quit button.
Once that is done, press the Start/Pause XIVCrafter hotkey to start XIVCrafter.
Default Location: $HOME/.xivcrafter.json
Config File:
{
"delay": 1000,
"key_delay": 500,
"start_pause": "",
"stop": "",
"confirm": "",
"cancel": "",
"recipes": [
{
"name": "",
"food": "",
"food_duration": 30,
"potion": "",
"macro1": "",
"macro1_duration": 1,
"macro2": "",
"macro2_duration": 1,
"macro3": "",
"macro3_duration": 1
}
]
}
delay
: XIVCrafter setting to set the crafting delay (milliseconds)- Default:
1000
milliseconds
- Default:
key_delay
: XIVCrafter setting to set the keyboard input delay (milliseconds)- Default:
500
milliseconds
- Default:
start_pause
: XIVCrafter hotkey to start or pause the programstop
: XIVCrafter hotkey to stop the programconfirm
: FFXIV hotkey for the confirm actioncancel
: FFXIV hotkey for the cancel actionrecipes
: JSON array of settings representing a crafting recipe in FFXIVname
: Name of the crafting recipefood
: OPTIONAL FFXIV hotkey for the food item to use- Leave as
""
if no food is needed
- Leave as
food_duration
: How long the food will last (minutes)- Default:
30
minutes - Should be either 30, 40 or 45 minutes depending on whether food buffs are used
- Default:
potion
: OPTIONAL FFXIV hotkey for the potion item to use- Leave as
""
if no potion is needed - The default length of the potion is
15
minutes
- Leave as
macro1
: FFXIV hotkey for the first crafting macro- This field must have a value for the recipe to be valid
macro1_duration
: Duration the first crafting macro (seconds)macro2
: OPTIONAL FFXIV hotkey for the second crafting macro- Leave as
""
if no second crafting macro is needed
- Leave as
macro2_duration
: Duration the second crafting macro (seconds)macro3
: OPTIONAL FFXIV hotkey for the third crafting macro- Leave as
""
if no third crafting macro is needed
- Leave as
macro3_duration
: Duration the third crafting macro (seconds)
For more information on filling out the config file, go to the Config section of the User Guide.
https://github.com/kn-lim/xivcrafter/wiki/User-Guide#accepted-keys
Does the game need to be in focus?
Yes. Otherwise, whatever program is in focus will receive the inputs.
Am I able to use the keyboard to type/move while the program is active?
No, since XIVCrafter tracks all key presses and may act accordingly to the config provided.
Am I able to use the mouse while the program is active?
No, as it may cause XIVCrafter to malfunction and not start the craft properly.
How do I get the macro duration?
Count all the seconds the macro steps delays for.
General Rule: # of Lines * 3
Will this work with the latest patch?
Unless the robotgo package stops working or FFXIV blocks virtual keyboard inputs, XIVCrafter should work on any patch.
Will this work with any craft?
As long as you are able to start the craft, XIVCrafter will work on any craft.
My craft didn't complete! What happened?
Usually, latency can prevent the keys from being inputted properly to the client. If this happens, cancel the craft manually in-game. Get back into the initial starting state and wait till XIVCrafter completes the "craft". Make sure to stop any existing crafting macro before XIVCrafter starts a new craft. It should continue without having to reapply food and potion buffs.
You may need to cancel the current active crafting macro in order to get back to the initial starting state. To do that, you will need to interrupt that macro. You can do that by having this as a macro: /e end
. By activating that one line macro, it should interrupt any currently running crafting macro to allow you to get back into the initial starting state.
For more information, go to the Wiki.