gigaherz / Guidebook

Minecraft book API and library
https://www.curseforge.com/minecraft/mc-mods/guidebook
Other
31 stars 16 forks source link

Add a command to reload guide books #77

Closed pkmnfrk closed 6 years ago

pkmnfrk commented 6 years ago

/guide reload

(the guide command name can be changed if desired)

Basically, as a mod author trying to write the documentation, having to restart the client every time I fix a typo is a pain in the butt. Even reloading resource packs can take 20 seconds-a few minutes, which is still too long for a rapid iteration cycle.

QbDesu commented 6 years ago

I can see why you would want to add this though I would suggest having a "gbook" command instead of a "guide" command in order to avoid possible collisions with other mods and make it more apparent that the command actually belongs to this mod as it is the modid.

pkmnfrk commented 6 years ago

How does it look now?

MSandro commented 5 years ago

the command should be "/guide reload", right? Is it implemented in v1.12.2-2.8.3? I got a Unknown Command error :(

gigaherz commented 5 years ago

It's not /guide reload, I asked it to be changed. It would be /gbook reload, however this was merged after the last release I did, and I'm still working on the next release (it has some big internal changes again).