RA-GeyserPlayerList
Author: RajaAditya Website: rajaaditya.my.id Version: 1.0.2 API: Paper 1.21.x
About
RA-GeyserPlayerList replaces the plain /list output with something Bedrock players can actually interact with. Java players keep the usual text-based list (EssentialsX if installed, or a configurable Bukkit fallback). Bedrock players instead get a native Cumulus form — a scrollable list of buttons, one per online player, each showing their skin as the button icon.
Clicking a player in that list opens a second form: a fully config-driven action menu. Out of the box this powers buttons like "Request TPA", "Send Message", and "Pay", but none of that is hardcoded — every button, its type, its text, and the commands it runs are defined in config.yml, so you can add, remove, or completely redesign the menu (including nested sub-menus) without touching any code.
Features
Bedrock Player List Form
- Shows every online player as a button in a native Cumulus
SimpleForm, with the player's actual skin as the button icon (fetched via the Geyser skin API for Bedrock players, ormc-heads.netfor Java players) - Title, header text, and per-player button label are all templated in
config.ymland support PlaceholderAPI - Automatically sorted by LuckPerms primary group when group sorting is enabled
Config-Driven Action Menu
- Clicking a player in the list opens a second Cumulus form built entirely from
bedrock-form.action-forminconfig.yml - Every button is one of four primitives, and they can be freely mixed, nested, and reordered:
command— runs command(s) immediately, no further UIconfirm— shows a Yes/No form first, then runs command(s) if confirmed (this is what powers the built-in "Request TPA" button)input— shows a form with one or more text fields; either runs commands directly afterward, or (if it has its ownconfirm:section) chains into a Yes/No step first (this is what powers "Send Message" — no confirm step — and "Pay" — with a confirm step)form— opens a nested sub-menu (itself just another list of these same button types), nestable as deep as you want
- A "Back" button is always appended automatically as the last button — you never need to add it yourself
- Placeholders available throughout:
%target%/%player%(the clicked player),%viewer%(the person who clicked),%input_<id>%(a value typed into aninputfield with that id), plus any PlaceholderAPI placeholder (resolved with the target's context)
Group Sorting (LuckPerms)
- Sorts the player list — both the Bedrock form and the Java
/listBukkit fallback — by each player's LuckPerms primary group, instead of default join order - Group priority order is fully configurable; players whose group isn't in the list can be placed first or last
- Optional alphabetical sort by username for players who share the same group
Java / Console Output
- Tries EssentialsX's
/listoutput first if EssentialsX is installed and enabled in config - Falls back to a fully configurable Bukkit-format list (header, footer, per-player format, and how many players are shown per line) when EssentialsX isn't available
- Same group-sorting logic applies to the Bukkit fallback
Hook Detection
- Floodgate — detects Bedrock players via
FloodgateApi#isFloodgatePlayer; without it, every player is treated as Java and only ever sees the text-based list - EssentialsX — used for
/listoutput on Java/console when present, otherwise the Bukkit fallback format is used - PlaceholderAPI — used to resolve placeholders everywhere text is rendered; built-in fallback placeholders (
%player_name%,%player_ping%,%player_world%,%server_online%,%server_max_players%,%server_name%) still work even without it - LuckPerms — required for group sorting; if absent, group sorting is silently disabled and the original player order is kept
- All four are soft-dependencies — the plugin loads and runs fine without any of them, just with the corresponding feature scaled back
Installation
- Place
RA-GeyserPlayerList-1.0.2.jarinto yourplugins/folder - Optionally install Floodgate, EssentialsX, PlaceholderAPI, and/or LuckPerms for the extra features they unlock
- Start the server once to generate
config.yml - Customize
bedrock-form,group-sort, andjava-outputinconfig.ymlto your liking - Use
/ra-geyserplayerlist reloadto re-readconfig.ymlwithout restarting the server
File Structure
plugins/RA-GeyserPlayerList/
└── config.yml # All plugin settings
Configuration
Bedrock Form
bedrock-form:
title: "&rOnline Players %server_online%"
header: |
Server: Your Server/Mode
Your Rank: %luckperms_prefix%
player-columns:
- "%luckperms_prefix%"
- "%player_name%"
column-separator: " "
action-form:
title: "Player: %player_name%"
header: |
Name : %player_name%
Rank : %luckperms_prefix%
back-button: "&8Back"
buttons: [ ] # see "Action Menu Buttons" below
title/headerare parsed with the viewer's own placeholder context (their own rank, name, etc.)player-columnsbuilds each player button's label by joining the listed placeholders withcolumn-separator— each column is parsed with the listed player's context, not the viewer'saction-formdefines the second form that opens when a player is clicked —buttonsis the config-driven button list described below
Action Menu Buttons
Each entry in bedrock-form.action-form.buttons is one button, built from the four primitives described in Features. Here are the three examples shipped by default, showing all three non-trivial types:
buttons:
# ---- TPA: a plain confirm (no input needed) ----
- id: tpa
type: confirm
label: "&aRequest TPA"
form:
title: "Confirm TPA"
content: "Send a TPA request to %player_name%?"
confirm-button: "&aYes, send request"
cancel-button: "&cCancel"
run-as: player # console | player
commands:
- "tpa %target%"
message: "&aTPA request sent to &f%player_name%&a."
# ---- Message: an input with no confirm step ----
- id: msg
type: input
label: "&bSend Message"
form:
title: "Message ? %player_name%"
header: "Type your message below:"
inputs:
- id: text
label: "Message"
placeholder: "Type your message here..."
default: ""
confirm: null # omit entirely to skip the confirm step
commands:
- "msg %target% %input_text%"
message: "&aMessage sent to &f%player_name%&a."
# ---- Pay: an input that chains into a confirm step ----
- id: pay
type: input
label: "&ePay"
form:
title: "Pay %player_name%"
header: "Enter the amount you want to send:"
inputs:
- id: amount
label: "Amount"
placeholder: "e.g. 100"
default: ""
# Because this "confirm:" section exists, submitting the amount above
# does NOT run commands immediately — it opens this Yes/No confirmation first.
confirm:
title: "Confirm Payment"
content: "Send &f%input_amount%&r to &f%player_name%&r?"
confirm-button: "&aYes, send"
cancel-button: "&cCancel"
run-as: player
commands:
- "pay %target% %input_amount%"
message: "&aSent &f%input_amount%&a to &f%player_name%&a."
A form-type button (nested sub-menu) looks like this:
- id: more
type: form
label: "&7More Actions"
form:
title: "More: %player_name%"
back-button: "&8Back"
buttons:
- id: kick
type: command
label: "&cKick Player"
commands:
- "kick %target% Kicked from the player list menu"
run-as: console
message: "&aKicked %player_name%."
reopen: false # if true, re-opens this same sub-menu after running
Field reference:
| Field | Applies to | Description |
|---|---|---|
id | every button | Any unique string within its menu — not shown to the player |
type | every button | command, confirm, input, or form |
label | every button | Button text, parsed with the target's placeholder context |
form.title / form.header (or content) | confirm, input, form | Text shown on the sub-form/menu that opens |
form.inputs | input only | List of { id, label, placeholder, default } text fields |
form.confirm | input only | Optional — if present, chains into a Yes/No confirm step instead of running commands immediately |
form.confirm-button / cancel-button | confirm, and input.confirm | Yes/No button labels |
form.back-button | form only | Label for the sub-menu's own auto-appended Back button |
commands | command, confirm, and the innermost step of input | List of commands to run, with %target% / %viewer% / %player% / %input_<id>% substituted |
run-as | command, confirm, and input's final step | console (default) or player |
message | command, confirm, and input's final step | Sent to the viewer after the commands run |
reopen | command only | If true, re-opens the current menu after the command runs (default false) |
Notes:
- If any
inputfield is submitted blank, the flow is cancelled and the previous menu re-opens instead of running commands with empty values. - If the target player leaves before a button is clicked/confirmed, the viewer gets the
messages.player-offlinemessage and the flow stops there. form/confirm/inputsub-forms without their ownform:section are skipped with a console warning — the flow just falls through to the Back button.
Types of Forms Used
Every screen shown to a Bedrock player is one of three underlying Cumulus form types. The type: value you set on a button decides which one gets shown next:
| Cumulus form | Shown for | What it looks like on Bedrock |
|---|---|---|
SimpleForm | The player list itself, the root action menu, and any button with type: form | A titled screen with a list of buttons, tapped one at a time |
ModalForm | A button with type: confirm (and the optional confirm: step chained from an input button) | A Yes/No dialog with a title and body text, and two buttons |
CustomForm | A button with type: input | A form with one or more text fields, filled in and submitted together |
In other words: command doesn't open any form at all (it just runs), confirm opens a ModalForm, input opens a CustomForm (optionally followed by a ModalForm if it has its own confirm: section), and form opens another SimpleForm nested one level deeper.
Editing the Action Menu
Everything under bedrock-form.action-form.buttons in config.yml is safe to edit freely — nothing about the menu is hardcoded in the plugin. After any change, run /ra-geyserplayerlist reload (no server restart needed).
To edit an existing button — find its block by id (e.g. id: tpa) and change whatever field you need: label, commands, message, confirm-button/cancel-button text, etc. The field reference table above lists what each type supports.
To add a new button — append a new entry to the buttons: list and pick one of the four types:
command— for something that should happen instantly with no extra screen (e.g. a "Heal Me" or "Kick Player" button). You only needlabel,commands, and optionallyrun-as/message/reopen.confirm— for something that needs a Yes/No check first but no text input, like the built-in TPA button. Needs aform:block withtitle,content,confirm-button,cancel-button,commands, and optionallyrun-as/message.input— for something that needs the player to type something first, like the built-in Message and Pay buttons. Needs aform:block withtitle,header, and aninputs:list (each withid,label,placeholder,default). Add a nestedconfirm:section insideform:if you also want a Yes/No step before running commands (like Pay); leave it out for a direct-run flow (like Message).form— for grouping several buttons into a sub-menu, like the "More Actions" example above. Needs aform:block with its owntitle,back-button, and a nestedbuttons:list — which can itself contain any of these four types again, nested as deep as you want.
To remove a button — delete its entire block from the buttons: list.
To reorder buttons — they render in the exact order they're listed in the YAML. The "Back" button is always appended automatically after whatever you've listed, so you never add it yourself.
Troubleshooting: if a button doesn't behave as expected, check the console after reloading — an unrecognized type value or a confirm/input/form button missing its form: section is logged as a warning there, and the plugin falls back to just showing the Back button for that entry instead of crashing.
Deep Dive: type: command
The simplest type — no extra screen at all, it just runs commands the instant the button is tapped.
Full anatomy:
- id: heal
type: command
label: "&aHeal Player" # button text
commands: # runs top-to-bottom, %target%/%viewer%/%player% substituted
- "heal %target%"
- "feed %target%"
run-as: console # console (default) | player
message: "&aHealed and fed %player_name%." # sent to the viewer after commands run
reopen: false # if true, re-opens the CURRENT menu after running (default false)
Field reference:
| Field | Required | Description |
|---|---|---|
label | Yes | Button text, parsed with the target's placeholder context |
commands | No | List of commands to run, in order; omit for a button that only sends a message |
run-as | No | console (default) or player — who the commands are dispatched as |
message | No | Sent to the viewer right after the commands finish |
reopen | No | If true, re-opens the same menu afterward instead of leaving the player on a closed form (default false) |
Notes:
- No
form:section is needed or used for this type — anything you'd put underform:on other types goes directly on the button itself here. - Since there's no confirmation step,
commandis best for low-risk/reversible actions (heal, feed, a cosmetic toggle) — for anything destructive or that costs the player something, useconfirminstead. reopen: trueis handy for buttons meant to be tapped repeatedly without navigating back and forth, like a toggle.
Deep Dive: type: confirm
Shows a Yes/No ModalForm before running anything — this is what powers the built-in "Request TPA" button. Unlike input, there's no text field involved, just a confirmation.
Full anatomy:
- id: tpa
type: confirm
label: "&aRequest TPA" # button text on the PREVIOUS menu
form:
title: "Confirm TPA" # title of the ModalForm
content: "Send a TPA request to %player_name%?" # body text of the ModalForm
confirm-button: "&aYes, send request"
cancel-button: "&cCancel"
run-as: player # console | player — who runs "commands" below
commands:
- "tpa %target%"
message: "&aTPA request sent to &f%player_name%&a." # sent only if confirmed
Field reference (all live under form:):
| Field | Description |
|---|---|
title | Title of the Yes/No dialog |
content | Body text, parsed with the target's placeholder context |
confirm-button / cancel-button | Labels for the two buttons on the dialog |
commands | Runs only if the player taps the confirm button |
run-as | console (default) or player |
message | Sent to the viewer only if confirmed |
Notes:
- Tapping cancel (or closing the form) just goes back to the previous menu — nothing runs, no message is sent.
content,commands, andmessageall support the same placeholders as everywhere else:%target%/%player%,%viewer%, and any PlaceholderAPI placeholder resolved with the target's context. There's no%input_*%here since there's no text field — that's only available when aconfirm:is chained from aninputbutton (see below).- Use
confirmfor anything you want a safety check on before it happens (TPA requests, kicks, giving items) but that doesn't need the player to type anything first.
This is the most flexible button type, since it can end in two different ways depending on whether you add a confirm: section. Here's the full field-by-field breakdown.
Full anatomy of an input button:
- id: pay # unique id within this menu (not shown to the player)
type: input
label: "&ePay" # button text on the PREVIOUS menu (the one this button sits in)
form:
title: "Pay %player_name%" # title of the CustomForm (the input screen itself)
header: "Enter the amount you want to send:" # shown above the fields, index 0
inputs: # one entry per text field, shown in this order
- id: amount # used later as %input_amount%
label: "Amount" # field label
placeholder: "e.g. 100" # greyed-out placeholder text inside the field
default: "" # pre-filled value when the form opens
# ---- everything below is what happens AFTER the player submits the form ----
confirm: # OPTIONAL — include this to require a Yes/No step first
title: "Confirm Payment"
content: "Send &f%input_amount%&r to &f%player_name%&r?"
confirm-button: "&aYes, send"
cancel-button: "&cCancel"
run-as: player # console | player
commands:
- "pay %target% %input_amount%"
message: "&aSent &f%input_amount%&a to &f%player_name%&a."
How the flow branches after submit:
- With a
confirm:section (likepayabove) — submitting theCustomFormopens aModalFormnext, showingconfirm.contentwith the typed values already substituted in (%input_amount%becomes whatever the player typed). Only if they tap the confirm button doconfirm.commandsactually run andconfirm.messageget sent.run-as,commands, andmessagewritten directly underform:(outsideconfirm:) are ignored in this case. - Without a
confirm:section (likemsgin the earlier example) — submitting theCustomFormrunsform.commandsimmediately, no extra screen.form.run-asandform.message(written directly underform:, at the same level asinputs:) apply here instead.
Multiple input fields example (not just one):
- id: report
type: input
label: "&cReport Player"
form:
title: "Report %player_name%"
header: "Tell us what happened:"
inputs:
- id: reason
label: "Reason"
placeholder: "e.g. Griefing, cheating, chat abuse"
default: ""
- id: details
label: "Additional details (optional)"
placeholder: "Anything else we should know?"
default: "-"
commands:
- "report %target% %input_reason% - %input_details%"
run-as: console
message: "&aReport submitted for %player_name%."
Each field submitted becomes its own %input_<id>% placeholder — %input_reason% and %input_details% in this example — usable anywhere in commands, message, or a chained confirm: block's content/commands/message.
Things to watch out for:
- Every field is required. If the player submits with any field left blank, the whole flow is cancelled and the previous menu re-opens — commands never run with an empty value. Use
default:to pre-fill a sensible value (like"-"for an optional field) if you don't want a blank submission to count against the player. inputs:order matters — it's also the order the fields appear on the Bedrock form.idvalues only need to be unique within that one button'sinputs:list, not plugin-wide.
Deep Dive: type: form
Opens a nested sub-menu — itself just another SimpleForm with its own list of buttons, which can be any of these four types again (including more form buttons, nested as deep as you want).
Full anatomy:
- id: more
type: form
label: "&7More Actions" # button text on the PARENT menu
form:
title: "More: %player_name%" # title of this SUB-menu
content: "" # optional body text shown above the sub-menu's buttons
back-button: "&8Back" # label for THIS sub-menu's own auto-appended Back button
buttons: # a completely fresh buttons list, same rules as the top level
- id: kick
type: command
label: "&cKick Player"
commands:
- "kick %target% Kicked from the player list menu"
run-as: console
message: "&aKicked %player_name%."
- id: freeze
type: confirm
label: "&bFreeze Player"
form:
title: "Confirm Freeze"
content: "Freeze %player_name%?"
confirm-button: "&aYes"
cancel-button: "&cNo"
run-as: console
commands:
- "freeze %target%"
message: "&aFroze %player_name%."
Field reference (all live under form:):
| Field | Description |
|---|---|
title | Title of the sub-menu screen |
content | Optional body text above the button list (same as content on the root/action-form menu) |
back-button | Label for the Back button that's auto-appended to this sub-menu (tapping it returns to whichever menu opened it — the parent, or the player list if this is the root) |
buttons | A full nested button list — same four types, same rules, all over again |
Notes:
- There's no depth limit — a
formbutton'sbuttons:list can contain moreformbuttons, and so on. Keep in mind each extra level is one more tap for the player, though, so avoid nesting purely for organization if a flat list would do. - Each sub-menu tracks its own "where do I go back to" — a Back button inside a nested sub-menu returns to whichever menu it was opened from, not all the way to the player list.
- Unlike
command/confirm/input, aformbutton never runs any commands or sends any message itself — it only ever navigates. Any actual command execution has to happen in acommand/confirm/inputbutton placed somewhere inside it.
Group Sorting (LuckPerms)
group-sort:
enabled: true
order:
- admin
- mvp
- vip
- default
unknown-group-position: last # "last" or "first"
sort-by-name-within-group: true
Applies to both the Bedrock form and the Java /list Bukkit fallback. Has no effect if LuckPerms isn't installed.
Java / Console Output
java-output:
use-essentialsx: true
header: "&6--- Online Players (%server_online%/%server_max_players%) ---"
footer: "&6-------------------------------------------"
player-format: " &f%luckperms_prefix% &7%player_name% &8[%player_ping%ms]"
players-per-line: 0 # 0 = one player per line
Only used when use-essentialsx is false, or EssentialsX isn't installed.
Messages
messages:
player-offline: "&cThat player is no longer online."
no-permission: "&cYou don't have permission to do that."
floodgate-not-found: "&cFloodgate is not installed. Bedrock GUI is disabled."
Commands
| Command | Description | Usage |
|---|---|---|
/list (aliases /playerlist, /plist) | Shows the player list — a Cumulus form for Bedrock players, EssentialsX/Bukkit text output for Java players and console | Player / Console |
/ra-geyserplayerlist reload (aliases /rageyserplayerlist, /rgpl) | Reloads config.yml without restarting the server | Player / Console |
Permissions
| Permission | Default | Description |
|---|---|---|
rageyserplayerlist.reload | op | Allows using /ra-geyserplayerlist reload |
License
Developed by RajaAditya — rajaaditya.my.id
This plugin is closed source. Redistribution without permission is prohibited.