public class SettingsUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
SETTINGS_FORM_ID |
| Constructor and Description |
|---|
SettingsUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
buildForm(GeyserSession session)
Build a settings form for the given session and store it for later
|
static boolean |
handleSettingsForm(GeyserSession session,
String response)
Handle the settings form response
|
public static final int SETTINGS_FORM_ID
public static void buildForm(GeyserSession session)
session - The session to build the form forpublic static boolean handleSettingsForm(GeyserSession session, String response)
session - The session that sent the responseresponse - The response string to parseCopyright © 2020 GeyserMC. All rights reserved.