Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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, ex: [ 13, 42 ]
- groupid = [ 15 ]
- # And/Or Client Uids here, ex
- useruid = [ "D7TDP31ptvWew/x5CGH1c4WK8oo=", "C+v+qsYc9AYFc0jM7sq+2kHt510=" ]
- # By default treat requests from localhost as admin
- ip = [ "127.0.0.1", "::1" ]
- "+" = "*"
- # Playing rights
- [[rule]]
- # Set Group Ids you want to allow here, ex: [ 13, 42 ]
- groupid = [ 15 ]
- # And/Or Client Uids here, ex [ "C+v+qsYc9AYFc0jM7sq+2kHt510=", "C+v+qsYc9AYFc0jM7sq+2kHt510=" ]
- useruid = [ "D7TDP31ptvWew/x5CGH1c4WK8oo=", "C+v+qsYc9AYFc0jM7sq+2kHt510=" ]
- # 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" ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement