Commands - DaFuqs/Spectrum GitHub Wiki
Spectrum comes with a list of commands for debugging and testing for modpack makers or just for OPs to play around with. To view a list of all available ones, type /spectrum
.
Required permission level: 0
Prints the server-side config to the chat. Nice way to check config edits in modpacks when you are a player.
Required permission level: 2
Since Spectrum's progression system is notably complex, you as a modpack maker can use this command to run a few checks against the registered recipes and some other components. Notably:
- For recipes that have a required advancement set, it checks that the advancement exists (otherwise making it impossible to unlock that recipe)
- For Pigment Pedestal recipes, it checks that the gemstone powders in use are available at that tier
- Missing loot tables
- Missing translations of various kinds (blocks, items, recipe groups, ...)
- Recipes that have unlock advancements that do not exist
- Items not in any creative tab
- ...and much more
This command also lists the amount of gemstone powder used in all recipes for each pedestal tier. This can be used to determine which color is used the most/least often to add some balance.
If the namespace is omitted, it checks the spectrum
namespace. Though you can give it a different mod id to check.
Required permission level: 2
Dumps all entries of all registries to a subfolder called registry_dump
, one file per registry.
Required permission level: 2
Dumps all entries of all tags to a subfolder called tag_dump
.
Required permission level: 2
Sets the selected targets on primordial fire for <<duration>>
ticks.
Required permission level: 2
Spawns <<amount>>
shooting stars for the target entities. This applies regardless of whether a targeted player has unlocked the required progression. To best see the shooting stars, use the command in the night with night vision.