You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the button "Set home position" doesn't prompt for a confirmation, so if the player accidentally presses the button, the player loses the ability to teleport back home. Losing this ability can be bothersome for some players because their home can be thousands of blocks away from the spawn, so if the player doesn't have other means to teleport, the only way (s)he could go back is by travelling those thousands blocks by foot
I feel it would be great if users could configure this mod by making it possible to show a confirmation prompt whenever the button "Set home position" is pressed. The confirmation prompt could read "Are you sure that you want to change your home's coordinates?" and the buttons "Yes" and "Cancel" would be shown. This confirmation prompt could be enabled by setting a boolean variable that world administrators could set in the world's settings, the variable could be called show_confirmation_prompt_before_home_gui_set (because the current behavior is not to show a confirmation prompt, the default value of this variable should be "False" in order not to disrupt current users of this mod)
For reference, here's the definition of the button "Set home position":
Currently, the button "Set home position" doesn't prompt for a confirmation, so if the player accidentally presses the button, the player loses the ability to teleport back home. Losing this ability can be bothersome for some players because their home can be thousands of blocks away from the spawn, so if the player doesn't have other means to teleport, the only way (s)he could go back is by travelling those thousands blocks by foot
I feel it would be great if users could configure this mod by making it possible to show a confirmation prompt whenever the button "Set home position" is pressed. The confirmation prompt could read "Are you sure that you want to change your home's coordinates?" and the buttons "Yes" and "Cancel" would be shown. This confirmation prompt could be enabled by setting a boolean variable that world administrators could set in the world's settings, the variable could be called
show_confirmation_prompt_before_home_gui_set
(because the current behavior is not to show a confirmation prompt, the default value of this variable should be "False" in order not to disrupt current users of this mod)For reference, here's the definition of the button "Set home position":
unified_inventory/register.lua
Line 44 in e071a01
The text was updated successfully, but these errors were encountered: