Closed kotmatross28729 closed 9 months ago
This looks good at a glance. I will merge it in and test when I prep for the next update.
You should make it gray out the buttons, instead of completely removing them. This way it doesn't appear as there are gaps in the UI button placement
@Roadhog360, do you want the buttons to just not be clickable? in this case, I can make it possible to both remove the buttons completely, and just make them unclickable nothing if the base config looks a bit...big?
I've added a separate category that looks like this:
buttons {
# Disable the Broadcast Settings button from the options menu. [default: false]
B:DisableBroadcastSettingsButton=false
# Disable the Open to LAN button from the game menu. [default: false]
B:DisableLANButton=false
# Disable the Super Secret Settings button from the options menu. [default: false]
B:DisableSuperSecretSettingsButton=false
# Remove the Broadcast Settings button from the options menu. [default: false]
B:removeBroadcastSettingsButton=false
# Remove the Open to LAN button from the game menu. [default: false]
B:removeLANButton=false
# Remove the Super Secret Settings button from the options menu. [default: false]
B:removeSuperSecretSettingsButton=false
}
Here's what happens if the first 3
values are true:
good or not?
Anyway I'll add the commit here for now, if there's something wrong, tell me and I can open the pull request again
I can’t say exactly what this is for, but I need it to avoid the OfflineAuth error: https://github.com/trollogyadherent/OfflineAuth/issues/15
Also available in config, disabled by default
Here's how it works in the game: Before:
After: