Better Remote View


Various quality of life changes to the Remote View interface.

Tweaks
2 months ago
2.1
51

b Menu Respects Remote View setting only applies after a GUI is opened

10 days ago

This is a side-effect of the setting being implemented by listening to the on_gui_opened event.

I get the impression you are maybe a little new to runtime scripting, so I'll leave you a few hints. :)

You'll want to listen to three different events to make sure you have all the bases covered for applying this setting:

  • on_init - This runs when the mod loads into the save for the first time, you'll want to apply the setting to all existing players.
  • on_player_created - This runs at world start or when a new player joins Multiplayer.
  • on_runtime_mod_setting_changed - This runs any time that any runtime setting (not just yours), either "Map" or "Per player", is changed through the Settings menu.
4 days ago

Awesome, thanks for the info.

I've been extremely busy over the last month, but I will get this implemented soon.

Sorry that the mod is a bit scuffed. You're right about runtime scripting.

New response