DiscordSRV / Staff-Chat

A staff-chat plugin that hooks into DiscordSRV
MIT License
29 stars 11 forks source link

DiscordSRV Placeholder Support #3

Closed AlexTeal03 closed 4 years ago

AlexTeal03 commented 5 years ago

Please could you add placeholders for discord roles as in the DiscordSRV plugin.

RezzedUp commented 4 years ago

Added as of 1.3.0.

Vankka commented 4 years ago

This isn't neccaserily solved by adding PAPI support as it only solved Minecraft -> Discord (for the most part). Leaving the other side (Discord -> Minecraft) unsolved (role(s) & -colors, etc.).

However reinventing the wheel might not be the best idea, either (eg. copy & pasting placeholders), could do with a little something on DiscordSRV's end

RezzedUp commented 4 years ago

As of 1.3.1, both in-game and discord message formats are capable of using PlaceholderAPI placeholders.

However reinventing the wheel might not be the best idea, either (eg. copy & pasting placeholders), could do with a little something on DiscordSRV's end

I agree, and if PAPI is still inadequate, then DiscordSRV should expose its placeholder mechanism to other plugins. In the meantime, I consider this issue resolved.