DiscordSRV Ultimate

DiscordSRV Ultimate

The ultimate customization solution for DiscordSRV. [#killaislop]

207 downloads 1 followers

🥏 DiscordSRV Ultimate adds:

  • Its own placeholders for making text bold, underline, italic or smallcaps
  • Post-processed placeholders from both DiscordSRV and PlaceholderAPI
  • An ability to make gradients in combination with other tools

Note: If you're using my mods, please do not buy Minecraft.

📒 Dependencies (must-install)

ℹ️ Information

  • ⚠️ The plugin doesn't work on non-Paper Bukkit forks!
  • A GitHub is not available, but the project is not obfuscated, you can decompile it freely.
  • The plugin is licensed with CC-BY-NC 4.0, but you do NOT need to credit me.

🤔 Usage

DiscordSRV Ultimate extends the possibilities of the DiscordToChatMessage format (DiscordToMinecraftChatMessageFormat and DiscordToMinecraftChatMessageFormatNoRole fields), by post-processing the output. For example, to make the role gradiented, you can use this:

[[gradient_message_$[[toprolecolor]]_#000000_[[toprolealias]]]]&8 » &7%name%%reply%:&f %message%

The example might look hard, but here's what it does:

  • Get the top user role alias
  • Make a gradient from the user role color (converted from §x§r§r§g§g§b§b to #rrggbb) to #000000 with this text

To make it work, you must also have the Gradient PAPI Expansion installed:

  • /papi ecloud download Gradient
  • /papi reload

The plugin replaces both [[ and ]] with %, as if just % was used, it would be parsed during pre-processing. Why am I post-processing it? Because I have no idea how to make all this during pre-processing (DiscordSRV events are... weird).

As mentioned earlier, $§x§r§r§g§g§b§b converts to #rrggbb. This is for the gradients (and other color manipulation) to work.

🧩 Merging

If you want to mix some of the things, e.g. smallcaps and gradient, you would have to use the Utils PAPI Expansion for that. The installation is also straightforward:

  • /papi ecloud download Utils
  • /papi reload

And the usage is... a bit complex:

[[utils_parse_gradient_message_$[[toprolecolor]]_#000000_{dsu_smallcaps_[[toprolealias]]}]]&8 » &7%name%%reply%:&f %message%

The DSU placeholders come from this plugin and stand for DiscordSRV Ultimate.


Sadly, the plugin doesn't yet support mixing the color itself without external tools. I am planning to implement that in the next release.

Version Minecraft Loader Download

DiscordSRV Ultimate 1.2

1.2

1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8
paper, purpur
Download

DiscordSRV Ultimate 1.1

1.1

1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8
paper, purpur
Download

DiscordSRV Ultimate 1.0

1.0

1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8
paper, purpur
Download