mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Save settings, always show party icon
This commit is contained in:
parent
5f9ac44f4e
commit
430da49b8a
2 changed files with 5 additions and 8 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
"plugins_base_url": "http://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/utilities",
|
"plugins_base_url": "http://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/utilities",
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"mood_light": {
|
"mood_light": {
|
||||||
"description": "mood lighting in co-op games",
|
"description": "Dynamic lighting in co-op games (adjustable using \"cm\" chat command)",
|
||||||
"external_url": "",
|
"external_url": "",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
|
|
@ -14,12 +14,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"versions": {
|
"versions": {
|
||||||
"1.0.0": {
|
"1.0.0": null
|
||||||
"api_version": 7,
|
|
||||||
"commit_sha": "2594105",
|
|
||||||
"released_on": "30-09-2022",
|
|
||||||
"md5sum": "131585e571e9d4d60d40bbf7cbbd69e9"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"colorscheme": {
|
"colorscheme": {
|
||||||
|
|
|
||||||
|
|
@ -189,6 +189,7 @@ class SettingWindow(ba.Window):
|
||||||
|
|
||||||
def save_settings(self):
|
def save_settings(self):
|
||||||
ba.app.config["moodlightingSettings"] = (Ldefault, Udefault)
|
ba.app.config["moodlightingSettings"] = (Ldefault, Udefault)
|
||||||
|
ba.app.config.commit()
|
||||||
Print("settings saved")
|
Print("settings saved")
|
||||||
self.close()
|
self.close()
|
||||||
|
|
||||||
|
|
@ -212,6 +213,7 @@ def new_chat_message(msg: Union[str, ba.Lstr], clients: Sequence[int] = None, se
|
||||||
|
|
||||||
old_fcm = _ba.chatmessage
|
old_fcm = _ba.chatmessage
|
||||||
_ba.chatmessage = new_chat_message
|
_ba.chatmessage = new_chat_message
|
||||||
|
_ba.set_party_icon_always_visible(True)
|
||||||
|
|
||||||
# ba_meta export plugin
|
# ba_meta export plugin
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue