Deploy: Staff Tags

This commit is contained in:
everestmcarthur 2026-08-01 09:45:19 -04:00
commit 46d2fa3dc9
4 changed files with 101 additions and 0 deletions

52
404.md Normal file
View file

@ -0,0 +1,52 @@
---
permalink: /404.html
---
> **Note:** You accessed a link that returned a 404, probably by clicking one of the plugin links. You're supposed to copy the link address and add it into Revenge.
# revenge-plugins
A small collection of plugins for [Revenge](https://github.com/revenge-mod/revenge-bundle), the Discord Android client mod.
## Installing a plugin
1. Open Discord with Revenge installed, go to **Settings → Plugins**.
2. Tap the `+` button and paste the plugin's install link (see below).
3. Enable it.
| Plugin | Description | Install link |
| --- | --- | --- |
| Staff Tags | Adds OWNER/ADMIN/STAFF/MOD-style tags next to members, based on their actual server permissions. Fully customizable: per-tag text, colors, gradients, and visibility. | `https://everestmcarthur.github.io/revenge-plugins/staff-tags/` |
## About Staff Tags
This is a rebuilt version of the old `staff-tags` plugin, which stopped working after Discord renamed some of the
internal components it depended on (`DisplayName`, `HeaderName`, `getTagProperties`) - when any one of those lookups
came back empty, the entire plugin used to fail to load, taking every tag down with it, everywhere.
This version isolates each patch (chat tags, member list, profile, channel header) so that if Discord changes one of
them again in the future, only that specific surface stops showing tags instead of the whole plugin breaking. It also
adds:
- Per-tag show/hide toggles
- Custom tag text
- Custom solid colors
- Gradient tags (member list & profile only - chat message tags are rendered from data rather than a
patchable element, so they always use a solid color)
- "Use top role color" as a fallback when no custom color is set
Tags are computed from the built-in `computePermissions` API against real permission bits (Administrator, Manage
Server, Manage Messages, Kick/Ban, etc.), the same as the original plugin, not from role names.
## Building locally
```sh
npm install
npm run build
```
Output is written to `dist/<plugin>/`.
## Contributing
Issues and PRs are welcome, especially if a Discord update breaks a lookup a plugin relies on - `findByName` /
`findByProps` targets can and do change without notice.

47
README.md Normal file
View file

@ -0,0 +1,47 @@
# revenge-plugins
A small collection of plugins for [Revenge](https://github.com/revenge-mod/revenge-bundle), the Discord Android client mod.
## Installing a plugin
1. Open Discord with Revenge installed, go to **Settings → Plugins**.
2. Tap the `+` button and paste the plugin's install link (see below).
3. Enable it.
| Plugin | Description | Install link |
| --- | --- | --- |
| Staff Tags | Adds OWNER/ADMIN/STAFF/MOD-style tags next to members, based on their actual server permissions. Fully customizable: per-tag text, colors, gradients, and visibility. | `https://everestmcarthur.github.io/revenge-plugins/staff-tags/` |
## About Staff Tags
This is a rebuilt version of the old `staff-tags` plugin, which stopped working after Discord renamed some of the
internal components it depended on (`DisplayName`, `HeaderName`, `getTagProperties`) - when any one of those lookups
came back empty, the entire plugin used to fail to load, taking every tag down with it, everywhere.
This version isolates each patch (chat tags, member list, profile, channel header) so that if Discord changes one of
them again in the future, only that specific surface stops showing tags instead of the whole plugin breaking. It also
adds:
- Per-tag show/hide toggles
- Custom tag text
- Custom solid colors
- Gradient tags (member list & profile only - chat message tags are rendered from data rather than a
patchable element, so they always use a solid color)
- "Use top role color" as a fallback when no custom color is set
Tags are computed from the built-in `computePermissions` API against real permission bits (Administrator, Manage
Server, Manage Messages, Kick/Ban, etc.), the same as the original plugin, not from role names.
## Building locally
```sh
npm install
npm run build
```
Output is written to `dist/<plugin>/`.
## Contributing
Issues and PRs are welcome, especially if a Discord update breaks a lookup a plugin relies on - `findByName` /
`findByProps` targets can and do change without notice.

1
staff-tags/index.js Normal file

File diff suppressed because one or more lines are too long

1
staff-tags/manifest.json Normal file
View file

@ -0,0 +1 @@
{"name":"Staff Tags","description":"Adds customizable tags (OWNER, ADMIN, STAFF, MOD, and more) next to members based on their server permissions. Supports per-tag colors, gradients, custom text, and visibility toggles.","authors":[{"name":"everestmcarthur"}],"main":"index.js","vendetta":{"icon":"ic_badge_staff"},"hash":"3ef1503145dbdc25a2c67b73e135ed8dd124a85de09b32b35f1773bbadebad4b"}