Last active
December 9, 2018 02:54
-
-
Save Bluscream/c60f070f6d81d877e1c0b6ea689546b0 to your computer and use it in GitHub Desktop.
Splamy/TS3AudioBot rights.toml file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rights declaration file | |
# For more information about syntax and structure see here: | |
# https://github.com/Splamy/TS3AudioBot/wiki/Rights | |
"+" = [ | |
# Basic stuff | |
"cmd.help", | |
"cmd.pm", | |
"cmd.subscribe", | |
"cmd.unsubscribe", | |
"cmd.kickme.*", | |
"cmd.version", | |
# Getting song info | |
"cmd.song", | |
"cmd.repeat", | |
"cmd.random", | |
# Conditionals and basic scripting | |
"cmd.if", | |
"cmd.print", | |
"cmd.rng", | |
"cmd.eval", | |
"cmd.take", | |
"cmd.xecute", | |
"cmd.getmy.*", | |
"cmd.json.*", | |
"cmd.bot.use", | |
"cmd.rights.can", | |
] | |
# Admin rule | |
[[rule]] | |
# Set your admin Group Ids here | |
groupid = [ 0 ] | |
# And/Or your admin Client Uids here | |
useruid = [ "" ] | |
"+" = "*" | |
# Playing rights | |
[[rule]] | |
# Set Group Ids you want to allow here | |
groupid = [ 0 ] | |
# And/Or Client Uids here | |
useruid = [ "" ] | |
# Or remove groupid and useruid to allow for everyone | |
"+" = [ | |
# Play controls | |
"cmd.play", | |
"cmd.pause", | |
"cmd.stop", | |
"cmd.seek", | |
"cmd.volume", | |
# Playlist management | |
"cmd.list.*", | |
"cmd.add", | |
"cmd.clear", | |
"cmd.previous", | |
"cmd.next", | |
"cmd.random.*", | |
"cmd.repeat.*", | |
# History features | |
"cmd.history.add", | |
"cmd.history.from", | |
"cmd.history.id", | |
"cmd.history.last", | |
"cmd.history.play", | |
"cmd.history.till", | |
"cmd.history.title", | |
] | |
# Remove this if you want to allow users to save playlist locally | |
"-" = [ "cmd.list.save" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include = "$everyone" | |
[[rule]] | |
apitoken = "e3dvocUFTE1UWIvtW8qzulnWErI=:AsDhbG6lCc6HwSUM6KoFOsAuymHfUxxo" | |
useruid = [ "e3dvocUFTE1UWIvtW8qzulnWErI=", "IdLmZcQHNIpmXxKwQPmT0pgiDoc=", "FM0pqntCDqZrKoRgJhnDjpMm3H0="] | |
include = "$owner" | |
[[rule]] | |
visibility = "Private" | |
include = "$noprivate" | |
[[rule]] | |
bot = "alphakevin" | |
[[rule.rule]] | |
useruid = "BnOoI1/YoLpF5jOBxQXxRYc+a28=" | |
include = "$admin" | |
[[rule.rule]] | |
useruid = [] | |
include = "$mod" | |
[[rule.rule]] | |
useruid = [ "Y9qmYOOUjhwdOJ0u09zFnFJCOH0=" ] | |
include = "$channelmod" | |
[[rule.rule]] | |
useruid = [] | |
include = "$webinterface" | |
[[rule.rule]] | |
groupid = [2] | |
include = "$user" | |
["$owner"] | |
"+" = "*" | |
["$admin"] | |
include = "$mod" | |
["$mod"] | |
include = ["$channelmod", "$user"] | |
["$channelmod"] | |
"+" = [ | |
"cmd.id", | |
"cmd.pw", "cmd.tp", "cmd.ce.*" | |
] | |
["$webinterface"] | |
include = "$user" | |
"+" = [ "cmd.bot.use" ] | |
["$user"] | |
"+" = [ | |
"cmd.play", "cmd.pause", "cmd.stop", "cmd.seek", "cmd.volume", | |
"cmd.list.*", "cmd.add", "cmd.clear", "cmd.previous", "cmd.next", "cmd.random.*", "cmd.repeat.*", | |
"cmd.history.add", "cmd.history.from", "cmd.history.id", "cmd.history.last", "cmd.history.play", "cmd.history.till", "cmd.history.title" | |
] | |
"-" = [ "cmd.list.save" ] | |
["$everyone"] | |
"+" = [ | |
"cmd.json.api", | |
"cmd.subscribe", "cmd.unsubscribe", | |
"cmd.help", "cmd.pm", "cmd.kickme", "cmd.song", | |
"cmd.repeat", "cmd.random", | |
"cmd.rights.reload" | |
] | |
["$noprivate"] | |
"-" = [ | |
"cmd.play", "cmd.pause", "cmd.stop", "cmd.seek", | |
"cmd.volume", | |
"cmd.history.play", "cmd.history.last", "cmd.list.play", | |
"cmd.kickme", | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment