RA-PlatformDetector
Author: RajaAditya Website: rajaaditya.my.id Version: 1.0.0 API: Paper 1.21.x (Java 17)
Features
- Detects the player's platform with the Floodgate API (
isFloodgatePlayer), instead of guessing from the UUID, so it stays correct if Floodgate changes internally - Placeholders for scoreboards, tab lists, chat formats, and menus
- A command to check any player's platform
- Without Floodgate installed, every player is treated as Java
- Without PlaceholderAPI installed, the placeholders are not registered but the command still works
Dependencies
| Plugin | Required | Purpose |
|---|---|---|
| Floodgate | No (softdepend, recommended) | Detects Bedrock players |
| PlaceholderAPI | No (softdepend) | Enables %raplatform_*% placeholders |
Installation
- Place
RA-PlatformDetector.jarinto yourplugins/folder - Restart the server
There is nothing to configure.
Commands
| Command | Description | Access |
|---|---|---|
/raplatform <player> | Show whether a player is on Java or Bedrock | Everyone |
Permissions
| Permission | Default | Description |
|---|---|---|
raplatformdetector.command | true | Use /raplatform |
PlaceholderAPI
Identifier: raplatform.
| Placeholder | Output |
|---|---|
%raplatform_type% | Java or Bedrock |
%raplatform_short% | JE or BE |
%raplatform_is_bedrock% | true or false |
%raplatform_is_java% | true or false |
License
Developed by RajaAditya — rajaaditya.my.id