Craftopia

Craftopia

110 betyg
Command Handler
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
Uppdaterades
95.705 KB
30 jun, 2023 @ 11:07
14 sep @ 15:28
27 ändringsnotiser ( visa )

Abonnera för att ladda ner
Command Handler

Beskrivning
Command Handler
Utility that manages the registered chat commands for other mods.

You're able to configure command key (commands' prefix) in the .cfg file, or via a chat command in-game. By default, it's . (dot). For example, you can set it to @ by typing ".set_cmd_key @" in the chat. Then all commands will start by @ instead of . (dot). (ie. "@ls" instead of ".ls") Please choose a key that will not interfere with other mods that also use chat commands, such as MisakiCore or ChatItem. I cannot confirm compatibility in those cases as I do not use them.

Commands are also configurable, but only through the .cfg file. For example, if you find ".find_ench wheel" too long to type, you could change "find_ench" to "e" in the .cfg file, and type ".e wheel" instead. Other mods created by me that are using the Command Handler should also have configurable commands in their respective .cfg files. Please note that if it detects an overlapping command, they might be reverted back to their original values.

Please use the List all available commands chat command to get an up-to-date list in-game.

Chat commands
  • .ls - List all available commands
  • .set_cmd_key [char] - Set a new command key
  • .find [name] - Find an item ID by name
  • .find_ench [name] - Find an enchantment ID and effects by name
  • .who [id] - Find who drops an item by ID
  • .whoe [id] - Find who drops an enchantment by ID
  • .what [name] - List drops by enemy name
Commands are configurable in the .cfg file.

About ConfigurationManager
While most toggles can be changed via the ConfigurationManager without trouble, some commands also do extra steps when executed. Therefore, I cannot guarantee that the feature you're trying to change will work as expected. Please use the chat commands whenever possible.

Legacy version
Use this if you are playing on the Legacy version.



For other devs
Modders are free to create mods using this as a requirement. You can decompile mods that use this utility to see how to integrate with it. You can leave a message below, or ping me on the official Discord server (Eradev) if you need further help.



If you enjoy the mod, and would like to see more, you can kindly support me by donating via Ko-Fi.

[ko-fi.com]
Populära diskussioner Visa alla (1)
0
4 jul, 2023 @ 6:33
Quickstart Guide
Psychloor
12 kommentarer
RockArmadaZ24 24 dec, 2024 @ 10:05 
Had time to troubleshoot issue turns out it was steam not mod.Strange that it had no issues until Craftopia updated?
Unforgiven  [skapare] 22 dec, 2024 @ 15:29 
@RockArmadaZ24

If it's caused by this mod (which is unlikely) then post your Bepinex log with the errors in the #modding-vroid channel on the Pocketpair Discord (see the forums for the link).
RockArmadaZ24 22 dec, 2024 @ 15:18 
Game won't load after update
0fsgiven 3 nov, 2024 @ 2:52 
going back to crafttopia to check it out again i feel this mod might be handy
Unforgiven  [skapare] 7 dec, 2023 @ 14:21 
It was a problem in QoL which has been fixed.
ZennBen 5 dec, 2023 @ 15:08 
is this mod updated for most recent update? my game currently wont save and its only when this and Quality of life mod are activated
Unforgiven  [skapare] 31 aug, 2023 @ 7:24 
@Aika-Senpai

This mod doesn't touch crafting at all.
Aika-Natsukawa 30 aug, 2023 @ 18:56 
Hello, I'm having a problem as soon as I activate this mod... crafting in general is buggy, doing it by hand consumes the material but it says it was insufficient, nothing happens on the tables when I press the button to do the crafting...
Azurianoni 5 aug, 2023 @ 19:28 
@leoxilone press enter for chat and from there input commands
leoxilone 5 aug, 2023 @ 8:20 
How do you open the command chat?