Platforms
Every stream site is one block in config.yml. Kick, Twitch and YouTube ship enabled.
config.yml
platforms:
kick:
domain: "kick.com"
permission: "aqualive.kick"
cooldown: 120
twitch:
domain: "twitch.tv"
permission: "aqualive.twitch"
cooldown: 60
youtube:
domain: "youtube.com"
permission: "aqualive.youtube"
cooldown: 300| Key | What it does |
|---|---|
domain | Matched against the URL the player sends |
permission | Node needed to announce there. Delete the line to allow everyone |
cooldown | Seconds between uses. Bypassed by aqualive.bypass |
Adding one
A platform needs the same id in three files.
Miss one file and the platform is skipped. Miss the domain line and /live answers with the
syntax message as if the platform did not exist.
1. config.yml
config.yml
platforms:
facebook:
domain: "facebook.com"
permission: "aqualive.facebook"
cooldown: 3002. platforms.yml copy an existing block under advertisement, rename it facebook and change
the colors. Add a matching button under buttons:
platforms.yml
buttons:
facebook:
text: "ݕF2[ WATCH ON FACEBOOK ]"
hover:
- "&fOpen the live stream"
- "ݕF2Facebook &7» &f%url%"
click:
type: "url"
value: "%url%"3. webhook.yml copy a block under platforms and rename it.
Then run /aqualive reload and check /aqualive platforms.
All three files ship with a commented facebook example. Uncomment it to see the shape.
Server settings
config.yml
server-name: "ServerName"
preload-skins: true
permissions:
bypass-cooldown: "aqualive.bypass"| Key | Default | What it does |
|---|---|---|
server-name | ServerName | Shown as %server%. Leave "" to detect it automatically |
preload-skins | true | Caches the head on join so a <hd> broadcast shows instantly |
permissions.bypass-cooldown | aqualive.bypass | Node that skips every cooldown |