FancyMenu [Fabric] [MOVED TO NEW PROJECT]

FancyMenu [Fabric] [MOVED TO NEW PROJECT]

16M Downloads

Text input fields and sliders to set variables

Keksuccino opened this issue ยท 2 comments

commented
  • Input fields and sliders have option to link to variable
  • Sliders have two modes: RANGE (only numbers) and LIST (list of multiple text values)

Choose Variable screen:

  • Screen to choose variable has scroll view with all existing variables and a text box in the footer to directly input a variable name (existing or new)
commented

Added/Fixed in FancyMenu v2.10.0!

commented

Since sliders only allow numbers, would it be possible to store the corresponding variable as an integer, too? Otherwise, commands like /publish which require an integer (for the <port> argument) will not work properly. (Expected integer error when using /publish %get_variable:slider_num_var%)

//e:
or, I guess, it could be with buttonscripts not working here:

set_variable:lan_server:localhost\:%get_variable:lan_port%
sendmessage:/publish %get_variable:lan_port%

but, using sendmessage directly as a button action, not in a script, with the same "command value" (/publish %get_variable:lan_port%) works.