Is there any documentation for the ModAPI? The only thing I've found is that one page on the fandom wiki (which is outdated). I see that it only allows mods to respond to various events. But there's no documentation on how to use it that I can find...and I have several questions:
- How do I send a message to a player?
- How do I get a player's information? I'm assuming I should be catching join and leave events to acquire the IDs and be building a player list/dictionary inside the mod?
- Would it be possible with ModAPI to fix the code for Crafting Time when the player's craftingtime is negative? For example, I have a faster forge on my server, as well as two equippable items that decrease crafting time. When used together, there are some items that have a negative processing time (so they craft instantly). I want to set the crafting time to 0.001 if it's determined to be negative. Which should be a simple matter, provided I'm allowed to make that kind of alteration.