MiniMOTD icon indicating copy to clipboard operation
MiniMOTD copied to clipboard

[Feature Request] Support for FabricPlaceholderAPI

Open forkiesassds opened this issue 4 years ago • 5 comments

Is your feature request related to a problem? Please describe. The only placeholders I can use right now are the player online and max player slot ones included with the mod.

Describe the solution you'd like Support for FabricPlaceholderAPI would be awesome as there is a mod called Box of Placeholders that adds more placeholders to use with the mod

Describe alternatives you've considered None.

Additional context None, it's just a feature request to add support for a Fabric placeholder mod.

forkiesassds avatar May 20 '21 11:05 forkiesassds

Author of Placeholder API here! Checked the source and I can say adding basic support (only global/server variables, without per player ones) should be easy! You just need to wrap text from toNative call with PlaceholderAPI.parseText(text, server). Getting per player placeholders should still be possible, but it will require more trickery (that might not be worth it).

Patbox avatar Jun 14 '21 19:06 Patbox

I will quick bump/ping, as I could pr it (through it's 1 line of code for full support). But would you be interested in it @jpenilla?

Patbox avatar Dec 12 '21 21:12 Patbox

Hello @Patbox and @jpenilla, I would love to "revive" this request from @forkiesassds. It's now over one year old - any update on this? Would be awesome to have Placeholder integration 💖

sternschnaube avatar Dec 24 '22 12:12 sternschnaube

Checked the code and there is nothing new there. I can't do much unless jpenilla implements it

Patbox avatar Dec 24 '22 12:12 Patbox

Thank you. I hope @jpenilla finds time to look into that / is willing to implement it.

sternschnaube avatar Dec 24 '22 13:12 sternschnaube