Feature Request: Donation Station API
CliffracerX opened this issue ยท 2 comments
I dunno if it's already added (if so, derp on my part), but if not, it would be nice!
That way I could add my Doge wallet donation address to my mods. =P
I note that trying to use the donate button on my items is like "Nope, it's vanilla or unknown."
EDIT: Button's still greyed out, but it can see the mcmod.info for my fork of CSM and my mod Cliffie's Decor. Kinda. Cliffie's Decor turns ingame into: "Cliffie's", nothing else. XD
Hi,
If it's showing as vanilla, it's likely that you're not registering the items/blocks properly with forge.
To register a donation URL you can send an FMLInterModComms event with the key "donateUrl".
See here: https://github.com/OpenMods/OpenBlocks/blob/master/src/openblocks/OpenBlocks.java#L389
Huh, that's odd. Maybe you could look over my code, see what I'm doing wrong?
I'm kinda just following the way I've been adding blocks/items for the past year or so I've been modding forge. =P
Anyway, thanks for the tip on adding the URL! I will get to work on that.
Closing, as it's a derp on my part.