It should be accessible, make sure to set the game mode from your world setting(the tab on the right windows usually)
If that widget is run from the client side, it can’t access the server game mode.