Advertisement
Rengele

Untitled

Feb 5th, 2020
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. # Rights declaration file
  2. # For more information about syntax and structure see here:
  3. # https://github.com/Splamy/TS3AudioBot/wiki/Rights
  4.  
  5. "+" = [
  6. # Basic stuff
  7. "cmd.help.*",
  8. "cmd.pm",
  9. "cmd.subscribe",
  10. "cmd.unsubscribe",
  11. "cmd.kickme.*",
  12. "cmd.version",
  13.  
  14. # Getting song info
  15. "cmd.song",
  16. "cmd.repeat",
  17. "cmd.random",
  18.  
  19. # Conditionals and basic scripting
  20. "cmd.if",
  21. "cmd.print",
  22. "cmd.rng",
  23. "cmd.eval",
  24. "cmd.take",
  25. "cmd.xecute",
  26. "cmd.getmy.*",
  27. "cmd.json.*",
  28. "cmd.bot.use",
  29. "cmd.rights.can",
  30. ]
  31.  
  32. # Admin rule
  33. [[rule]]
  34. # Set your admin Group Ids here, ex: [ 13, 42 ]
  35. groupid = [ 15 ]
  36. # And/Or Client Uids here, ex
  37. useruid = [ "D7TDP31ptvWew/x5CGH1c4WK8oo=", "C+v+qsYc9AYFc0jM7sq+2kHt510=" ]
  38. # By default treat requests from localhost as admin
  39. ip = [ "127.0.0.1", "::1" ]
  40.  
  41. "+" = "*"
  42.  
  43. # Playing rights
  44. [[rule]]
  45. # Set Group Ids you want to allow here, ex: [ 13, 42 ]
  46. groupid = [ 15 ]
  47. # And/Or Client Uids here, ex [ "C+v+qsYc9AYFc0jM7sq+2kHt510=", "C+v+qsYc9AYFc0jM7sq+2kHt510=" ]
  48. useruid = [ "D7TDP31ptvWew/x5CGH1c4WK8oo=", "C+v+qsYc9AYFc0jM7sq+2kHt510=" ]
  49. # Or remove groupid and useruid to allow for everyone
  50.  
  51. "+" = [
  52. # Play controls
  53. "cmd.play",
  54. "cmd.pause",
  55. "cmd.stop",
  56. "cmd.seek",
  57. "cmd.volume",
  58.  
  59. # Playlist management
  60. "cmd.list.*",
  61. "cmd.add",
  62. "cmd.clear",
  63. "cmd.previous",
  64. "cmd.next",
  65. "cmd.random.*",
  66. "cmd.repeat.*",
  67.  
  68. # History features
  69. "cmd.history.add",
  70. "cmd.history.from",
  71. "cmd.history.id",
  72. "cmd.history.last",
  73. "cmd.history.play",
  74. "cmd.history.till",
  75. "cmd.history.title",
  76. ]
  77.  
  78. # Remove this if you want to allow users to save playlist locally
  79. "-" = [ "cmd.list.save" ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement