Please disclose if your mod was created primarily using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
7.Cheats/Commands
Updated a year agoConsole Commands
Enter these into the console (F5) after using devcommands:
Spawning Items
The following commands can be used to spawn magic items, and other materials added by Epic Loot. These commands will respect gating unless using the cheatgating command first:
magicitem <rarity> <itemtype> <amount> <effect count>(alias:mi): This will roll a random magic item using the specified values- <rarity>: (String) One of: magic, rare, epic, legendary, random. If left empty, uses random.
- <itemtype>: (String) The internal ID of an item. May be "random". If left empty, uses random.
- <amount>: (Int) The number of magic items to roll. If the other values are set to random, rerolls that random item each time. If left empty, uses 1.
- <effectcount>: (Int) The number of magic effects to roll on each item. If left empty, it rolls effect count as normal.
magicitemwitheffect <effectID> <itemtype>(alias:mieffect): This will spawn a magic item with the specified magic effect- <effectID>: (String) The type of magic effect you want to guarantee
- <itemtype>: (String) The internal ID of an item.
magicitemlegendary <legendaryID> <itemtype>(alias:milegend): This will Spawn a specific legendary item. Similarly works formagicitemmythic(alias:mimythic)- <legendaryID>: (String) The ID of the legendary you want to spawn
- <itemtype>: (String) The internal ID of an item (optional, will use an item that meets the legendary definition's requirements)
magicitemset <setID>(alias:miset): Spawn all the items in a legendary or mythic item set- <setID>: (String) The ID of the legendary or mythic set you want to spawn
magicmats: This will spawn a large quantity of magic materials, useful for testing
Debugging
The following are useful for debugging:
cheatgating: Disable gating for magic item dropstesttreasuremap <amount> <biome> <override amount>(alias:testtm): Spawns a treasure chest- <amount>: (Integer) The number of chests to try and spawn
- <biome>: (String) The biome to spawn them in
- <override amount>: (Integer) Force the number of chests to spawn
debugtreasuremap(alias:debugtm): Toggles debugging mode for treasure maps, when on prevents map pins from being savedtestbountynames <count>: Generates random bounty names and prints to command window- <count>: (Integer) The number of names to generate
bounties: Lists the current available bounties to the command windowplayerbounties: Lists the current active player bounties to the command windowgotomerchant(alias:gotom): Teleports you to the closest Haldor (any location marked with the Vendor_BlackForest icon)globalkeys: Lists current global keys without needing admin permissionsfixresistances: Command to upgrade old magic effects from pre-0.7.8 to the latest systemlucktest <loot table> <factor>: Lists information about how luck factor will change loot drops- <loot table>: (String) Name of the loot table, default is "Greydwarf"
- <factor>: (Float) The luck factor, default is 0
lootres <loot table> <level> <item index>: Lists information about a loot item would have been resolved if rolled- <loot table>: (String) Name of the loot table, default is "Greydwarf"
- <level>: (Integer) The loot level, default is 1
- <item index>: (Integer) The index to start selection, default is 0
debugluck: Prints the luck factor of all players to the log file (also the command window if logs are displayed there)
Resetting (When things go wrong oops)
resettreasuremap(alias:resettm): Removes all active treasure chest and resets the minimapresetbounties: Removes all active bounties and resets the minimapresetadventure: Removes all active bounties and treasure chests, and resets the minimapresetcooldowns: Resets ability cooldowns