This adds a /tmixins command with several sub-commands, useful for dev testing or server administration.
Sub-commands
findResearch
Usage: /tmixins findResearch <search text...>
Argument
Description
search text
Only results containing this text will be returned. The text can contain spaces.
Filters through all research registered with Thaumcraft, returning any whose name or key contains the search text. For ease of searching, results are grouped by category.
The player whose completed research will be modified
research key
The key of the root research to remove. Providing * instead will remove all of that player's research. Research registered as auto-unlocking is unaffected, though its children might be.
refund sticky warp
If true, an amount of sticky warp equal to that given by completing any forgotten research will be removed.
Uncompletes some or all of the named player's completed research, allowing it to be completed again. If the research gave permanent warp, an equivalent amount is removed. If refund sticky warp is set, also removes an amount of sticky warp equal to that gained from the removed research.
Specifies the type of scan to reset. If * is provided, all will be reset.
Clears the appropriate list of scanned things for the player, allowing them to be scanned again. Due to technical limitations (the list of scanned things involves hashes), this is all-or-nothing.
This adds a
/tmixins
command with several sub-commands, useful for dev testing or server administration.Sub-commands
findResearch
Usage:
/tmixins findResearch <search text...>
Filters through all research registered with Thaumcraft, returning any whose name or key contains the search text. For ease of searching, results are grouped by category.
forgetResearch
Usage:
/tmixins forgetResearch <player> <research key | *> [refund sticky warp]
*
instead will remove all of that player's research. Research registered as auto-unlocking is unaffected, though its children might be.Uncompletes some or all of the named player's completed research, allowing it to be completed again. If the research gave permanent warp, an equivalent amount is removed. If refund sticky warp is set, also removes an amount of sticky warp equal to that gained from the removed research.
forgetScanned
Usage:
/tmixins forgetScanned <player> <objects | entities | nodes | *>
*
is provided, all will be reset.Clears the appropriate list of scanned things for the player, allowing them to be scanned again. Due to technical limitations (the list of scanned things involves hashes), this is all-or-nothing.
listResearch
Usage:
/tmixins listResearch <player> [search text...]
Returns the named player's list of completed research keys. Can optionally be filtered by search text.
Configuration
This creates a new "commands" section in the config file.
Enable Command (boolean)
Enables the
/tmixins
command. Defaulttrue
.Command Required Permission Level (integer)
findResearch Enabled (boolean)
Enables the findResearch sub-command. Default
true
.forgetResearch Enabled (boolean)
Enables the forgetResearch sub-command. Default
true
.forgetScanned Enabled (boolean)
Enables the forgetScanned sub-command. Default
true
.listResearch Enabled (boolean)
Enables the listResearch sub-command. Default
true
.