A BungeeCord plugin that adds LuckPerms contexts for client info, allowing permissions to be added or removed depending on what kind of device the client is on.
There are two ways to install ClientContext: standalone with Spigot, or in a BungeeCord network.
When you have Geyser installed as a plugin on a single Spigot or Paper server, you can add ClientContext alongside it under the plugins
folder.
For a standalone installation, you must have have floodgate installed as well.
When using Geyser on a BungeeCord proxy (as well as floodgate), contexts will be resolved on the proxy and sent to each of the Spigot servers through plugin messages. This requires installing ClientContext on both the proxy and each of the Spigot servers.
This context specifies the type of Minecraft client being used.
Currently, only two types are supported: java
, and bedrock
This context specifies the version of Minecraft client that the player is using.
Two values will be assigned: an exact version (e.g. 1.2.1
), and a rough version (e.g. 1.2.x
).
A device archetype for a client.
Possible values include: computer
, console
, mobile
.
Bedrock clients only.
The device type of a Bedrock client:
See here for a list of values, e.g. ios
, nx
, google
, etc.
Bedrock clients only.
The control type for a client:
See here for a list of values, e.g
keyboard_mouse
, touch
, controller
, etc.