SheriffBadge
Official
An official plugin, included with FluxPlugs. Open Fluxer Settings → FluxPlugs → Plugins and choose Install next to SheriffBadge. It starts switched off until you turn it on.
How to install a bundled pluginSheriffBadge in the user guide
What it can do
The 2 permissions it asks for
- SettingsRead and change its own settings.
- BadgesShow badges next to names, based on the role lists (names, colours and permissions) of communities you open. FluxPlugs looks up members' roles with your account.
Fluxer shows this same list when you turn the plugin on.
About this plugin
Shows staff badges next to names in Fluxer communities: chat messages, the member list and its role group headers, profiles, a community's role settings, and (when turned on) reply previews.
Each community role is sorted into a tier, strongest first: admin, moderator, helper, developer. A role's tier comes from, in order:
- Name patterns (
admin.names,moderator.names, …): comma-separated whole words, plurals included.modmatches "Mods" and "🛡 | Moderator" but not "Modern Art";mod teammatches "ModTeam";mod*also matches "Moderation". Styled Unicode and accents are folded first. - Colour patterns (
*.colors):#e74c3c,#3aeor#e74c3c~20with a per-colour tolerance;colorTolerancesets the default. - Permissions: Administrator makes a role admin; kick, ban, time out or manage messages make it moderator. Turn off with
admin.permissionsandmoderator.permissions.
Roles matching excludePatterns (default bot, bots, muted, everyone) skip steps 2 and 3. The community owner gets the owner badge. maxBadges (1 to 5) sets how many badges a person shows, highest first.
Labels, icons and colours are configurable per tier. Values the host would refuse (labels over 12 characters, labels like BOT, unknown icons, colours that aren't #rrggbb) fall back to the defaults, because the host drops a provider's whole result if any badge is invalid.
Capabilities and privacy
settings and badges. The plugin sees each community's role list (names, colours, positions and permissions) and nothing about members. FluxPlugs itself looks up the roles of people on screen with your account, a few at a time and within per-community budgets. lookupMembers turns that off, leaving badges to what the page shows: member-list groups, profiles you open and name colours.
Development
Built with node packages/plugin-tools/cli.mjs build plugins/sheriff-badge from the repository root, which rewrites the manifest's integrity hash. pnpm --filter @fluxplugs/sheriff-badge test runs the tests. The role badges guide explains the provider contract. See the developer documentation for the sandbox and lifecycle rules.
From the plugin's README on GitHub, written by its author.
Details
- Version
- 1.0.0
- License
- MIT
FluxPlugs is an independent project, not affiliated with or endorsed by Fluxer.