Trigger Disconnect - MoSadie/EffectMC GitHub Wiki
Description
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.
Configuration Options
- 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
.
Example Configuration
In-Game Experience
In-World
From Main Menu
Advanced: HTTP Request Information
- 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