
Join the Lethal's API Plugins Discord Server!
Check out the Lethal's API Plugins community on Discord - hang out with 442 other members and enjoy free voice and text chat.
Auto Craft Items and Change Structure Settings
Features
> Can auto craft any item (if you allow it) until it runs out of materials
> Placing more materials in will restart the auto crafting process again
> Changes the structure name to show what it is currently set to auto craft
> Create shortcut commands for specific items you only want to allow
> Auto Crafting will be disabled on server restarts
> Permissions integration is available
> Ability to change some Structure settings (HP, Crafting Speed, Slot Count and Block Auto Crafting)
RCON/Console Commands
> Reload plugin config `ac.reload`
> Get structure BP/Settings `ac.getbp` (Console Only)
Player Chat Commands (All commands are used while looking at the structure)
> Display usage message `/auto` configurable
> Set station to auto craft `/auto <item>` i.e. `/auto advanced rifle bullet` for Advanced Rifle Bullet's (if `AllowOtherCommands` is `true`)
> Set station to auto craft `/auto <command name>` i.e. `/auto arb` for Advanced Rifle Bullet's (see config for examples)
> Cancel auto crafting on a structure `/stop` This will disable crafting on that station and clear the craft queue.
JSON:
{
"LicenseKey": "", //Used to activate the plugin
"Permissions": {
"UsePermissions": false, //Set to "true" if you want to use permissions to limit who can use the plugin commands
"PermissionName": "autocrafter" //Permission needed to use commands
},
"CommandPrefix": "/auto", //chat command prefix
"StopCommand": "/stop", //Disable auto crafting on the structure and clear the craft queue
"AllowOtherCommands": false, //Allow user entered auto crafts besides the commands below when set to "true"
"Commands": [ //Shortcut command list
{
"Name": "arb", //abbreviated command the user would type in. Example: "/auto arb" will toggle auto crafting Advanced Rifle Bullets. Toggling again will prevent additional items from queuing but leave the queue in place.
"Item": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItemAmmo_AdvancedRifleBullet.PrimalItemAmmo_AdvancedRifleBullet'", //Item name OR Blueprint path of the item to craft
"Display": "Advanced Rifle Bullet" //Display name of the item in the on the structure and in chat command feedback
},
{
"Name": "asb", //abbreviated command the user would type in. Example: "/auto asb" will toggle auto crafting Advanced Sniper Bullets. Toggling again will prevent additional items from queuing but leave the queue in place.
"Item": "Advanced Sniper Bullet", //Item name OR Blueprint path of the item to craft
"Display": "Advanced Sniper Bullet" //Display name of the item in the on the structure and in chat command feedback
},
{
"Name": "ab",
"Item": "Advanced Bullet",
"Display": "Advanced Bullet"
},
{
"Name": "sb",
"Item": "Advanced Bullet",
"Display": "Advanced Bullet"
},
{
"Name": "ssa",
"Item": "Simple Shotgun Ammo",
"Display": "Simple Shotgun Ammo"
},
{
"Name": "sra",
"Item": "Simple Rifle Ammo",
"Display": "Simple Rifle Ammo"
},
{
"Name": "gp",
"Item": "Gunpowder",
"Display": "Gunpowder"
}
],
"Structures": [ //Supported structures have inventory slots (containers/crafting stations)
{
"Structure": "Blueprint'/Game/Mods/StructuresPlusMod/Crafting/Fabricator/BP_FabricatorPlus.BP_FabricatorPlus'", //Structure BP use `cheat ac.getbp` in console while looking at the structure it will provide the BP, Speed, Slots, Health
"Speed": 2, //Crafting speed multiplier. Some mod structures use values higher than 1 by default. -1 Disables setting (sets default)
"Health": 5000, //How must Health do you want the structure to have. -1 Disables setting (sets default)
"Slots": 600, //Changes how many inventory slots the structure has. Slot count may display incorrectly but it will allow adding items. -1 Disables setting (sets default)
"BlockAutoCraft": false //Set to true to block this structure from allowing auto crafting. Set to false to allow auto crafting (default allows auto crafting if structure is not in this list)
},
{
"Structure": "Blueprint'/Game/PrimalEarth/Structures/StorageBox_AnvilBench.StorageBox_AnvilBench'",
"Speed": 10,
"Health": 5000,
"Slots": 600,
"BlockAutoCraft": false
},
{
"Structure": "Blueprint'/Game/Mods/StructuresPlusMod/Crafting/ChemistryBench/BP_ChemBenchPlus.BP_ChemBenchPlus'",
"Speed": -1,
"Health": -1,
"Slots": -1,
"BlockAutoCraft": true
}
],
"Messages": {
"Sender": {
"Message": "Auto Crafter"
},
"Usage": {
"Message": "Usage: {} <command or item name>\nAvailable Commands:"
},
"NoPermission": {
"Message": "You don't have permission to use this feature.",
"Scale": 2.1,
"DisplayTime": 5.0,
"Color": "Red"
},
"InvalidCommand": {
"Message": "The command '{}' is not valid."
},
"On": {
"Message": "Auto Crafting On: '{}'"
},
"Off": {
"Message": "Auto Crafting Off: '{}'"
},
"Unlearned": {
"Message": "You have not learned '{}' yet!"
},
"NotOwned": {
"Message": "You do not own this structure."
},
"NoAutoCraftingAllowed": {
"Message": "Auto Crafting is not allowed on {}."
}
}
}
Licensing
One license is limited to a single physical server, so multiple ark servers running on the same machine (HWID) would only need 1 license.
You will need to load the plugin to generate a `HWID` which you need to provide to me in the #


Join the Lethal's API Plugins Discord Server!
Check out the Lethal's API Plugins community on Discord - hang out with 442 other members and enjoy free voice and text chat.
Once you have the license key added to the config you can unload and load the plugin via RCON `plugins.unload AutoCrafter` followed by `plugins.load AutoCrafter`