mirror of
https://github.com/AsgardEternal/Ubuntu-Ansible-Setup.git
synced 2024-09-28 11:44:23 -05:00
feat: set squadjs pingable groups
This commit is contained in:
parent
be2632155f
commit
4fb2d349d0
@ -28,6 +28,8 @@ all:
|
||||
- canseeadminchat
|
||||
- reserve
|
||||
- config
|
||||
squadjs:
|
||||
admin_ping: true
|
||||
members:
|
||||
- name: Kinsher
|
||||
comment: Server Administrator
|
||||
@ -61,6 +63,8 @@ all:
|
||||
steam64: 76561198855097026
|
||||
|
||||
- name: SrAdmin
|
||||
squadjs:
|
||||
admin_ping: true
|
||||
permissions:
|
||||
- changemap
|
||||
- balance
|
||||
@ -122,6 +126,8 @@ all:
|
||||
steam64: 76561198107367726
|
||||
|
||||
- name: JrAdmin
|
||||
squadjs:
|
||||
admin_ping: true
|
||||
permissions:
|
||||
- balance
|
||||
- chat
|
||||
|
@ -24,7 +24,7 @@
|
||||
"discord": "{{ server.secrets.squadjs_discord_token }}",
|
||||
"sqlite": {
|
||||
"dialect": "sqlite",
|
||||
"storage": "/home/steam/SquadJS/data/squadjs-data.sqlite"
|
||||
"storage": "/home/steam/SquadJS/data nd//squadjs-data.sqlite"
|
||||
}
|
||||
},
|
||||
"plugins": [
|
||||
@ -93,8 +93,14 @@
|
||||
"ignoreChats": [],
|
||||
"ignorePhrases": [],
|
||||
"command": "admin",
|
||||
{% set _pingable_groups = [] %}
|
||||
{% for group in server.groups %}
|
||||
{%- if group.squadjs.admin_ping is defined and group.squadjs.admin_ping is true -%} {{ _pingable_groups.append(group) }} {% endif %}
|
||||
{% endfor %}
|
||||
"pingGroups": [
|
||||
"Odin"
|
||||
{% for group in _pingable_groups %}
|
||||
"{{ group.name }}"{{ ", " if not loop.last else "" }}
|
||||
{% endfor %}
|
||||
],
|
||||
"pingDelay": 60000,
|
||||
"color": 16761867,
|
||||
|
Loading…
Reference in New Issue
Block a user