-
-
Notifications
You must be signed in to change notification settings - Fork 1
Trigger Disconnect
MoSadie edited this page Feb 17, 2023
·
4 revisions
Disconnect from the current world/server and display a configurable disconnection screen.
Automatically saves the world in singleplayer and disconnects from a server in multiplayer, if required. Can be triggered from any screen, including the main menu.
- Title (optional): An optional title to display on the key. Customize location and font using the T icon to the right of the text box.
- Minecraft IP (required): The address that the EffectMC mod is running on. (Example:
http://localhost:3000
) - Title (required): The title section of the message on the disconnection screen. To make blank place a space in the text box. Formatting codes using
§
work. - Message (required): The message section of the message on the disconnection screen. To make blank place a space in the text box. Formatting codes using
§
work. - Next Screen (required): Determines what screen the "Back to Server List" takes you to when clicked. Options are
Main Menu
,Server Select
, andWorld Select
.
- Method: GET
- Endpoint:
/triggerdisconnect
- Parameters:
-
device
: Device ID (String) -
title
: The title to show on the disconnected screen. (String) -
subtitle
: The subtitle to show on the disconnected screen. (String) -
nextscreen
: The screen to go to after clicking "Back to Server List". Accepted values:main_menu
,server_select
,world_select
-
- Join Server
- Show Title
- Show Action Message
- Set Skin Layer
- Sent Chat Message
- Receive Chat Message
- Trigger Disconnect
- Play Sound
- Stop Sound
- Show Toast
- Open Book
- Narrate
- Load World
- Set Skin
- Open Screen
- Set FOV
- Show Chat
- Set POV
- Set GUI Scale
- Set Brightness/Gamma
- Set Gamemode
- Set Render Distance
- Rejoin
- Show Item Toast
- Set Volume