Advertisement
krazyito65

permissions.ini for music bot

Mar 25th, 2016
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.04 KB | None | 0 0
  1. ; DON'T OPEN THIS FILE WITH NOTEPAD. If you don't have a preferred text editor, use notepad++ or any other modern text editor.
  2. ;
  3. ; If you edit this file, Save-As permissions.ini
  4. ;
  5. ;
  6. ; Basics:
  7. ; - Semicolons are comment characters, any line that starts with one is ignored.
  8. ; - Sections headers are permissions groups, they're the lines that have a word in [Brackets]. You can add more for more permissions groups.
  9. ; - Options with a semicolon before them will be ignored.
  10. ; - Add whatever permissions you want, but always have at least one.
  11. ; - Never have an options without a value, i.e. "CommandBlacklist = "
  12. ; - [Default] is a special section. Any user that doesn't get assigned to a group via role or UserList gets assigned to this group.
  13. ;
  14. ;
  15. ; Option info:
  16. ;
  17. ; [Groupname]
  18. ; This is the section header. The word is the name of the group, just name it something appropriate for its permissions.
  19. ;
  20. ; CommandWhitelist = command1 command2
  21. ; List of commands users are allowed to use, separated by spaces. Don't include the prefix, i.e. ! Overrides CommandBlacklist if set.
  22. ;
  23. ; CommandBlacklist = command1 command2
  24. ; List if commands users are not allowed to use. You don't need to use both
  25. ; whitelist and blacklist since blacklist gets overridden. Just pick one.
  26. ;
  27. ; IgnoreNonVoice = command1 command2
  28. ; List of commands that the user is required to be in the same voice channel as the bot to use.
  29. ; For example, if you don't want the user to be able to voteskip songs while not in the voice channel, add skip to this option.
  30. ;
  31. ; GrantToRoles = 111222333444555 999888777000111
  32. ; List of ids to automatically grant this group to. To get the id of a role, use the listrole1s command.
  33. ;
  34. ; UserList = 21343341324 321432413214321
  35. ; List of user ids to grant this group to. This option overrides the role granted by the GrantToRoles option.
  36. ;
  37. ; MaxSongLength = 600
  38. ; Maximum length of a song in seconds. Note: This won't always work if the song data doesn't have duration listed.
  39. ; This doesn't happen often, but youtube, soundcloud, etc work fine though. This will be fixed in a future update.
  40. ; A value of 0 means unlimited.
  41. ;
  42. ; MaxSongs = 5
  43. ; Maximum number of songs a user is allowed to queue. A value of 0 means unlimited.
  44. ;
  45. ; AllowPlaylists = yes
  46. ; Whether of not the user is allowed to queue entire playlists.
  47. ;
  48. ; MaxPlaylistLength = 10
  49. ; Maximum number of songs a playlist is allowed to have to be queued. A value of 0 means unlimited.
  50. ;
  51. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  52.  
  53.  
  54. ; I've set some example groups, these should be fine. Just add your roles or users and you should be good to go.
  55.  
  56.  
  57. ; This is the fallback group for any users that don't get assigned to another group. Don't remove/rename this group.
  58. [Default]
  59. CommandWhitelist = play perms queue np skip search id help
  60. ; CommandBlacklist =
  61. IgnoreNonVoice = play skip search
  62. ; GrantToRoles =
  63. ; UserList =
  64. MaxSongLength = 1200
  65. MaxSongs = 0
  66. AllowPlaylists = yes
  67. ; MaxPlaylistLength = 20
  68.  
  69. ; This group has full permissions.
  70. [MusicMaster]
  71. GrantToRoles = 160173962918232064 ; Guild Master ID
  72. ; UserList =
  73. MaxSongLength = 0
  74. MaxSongs = 0
  75. MaxPlaylistLength = 0
  76. AllowPlaylists = yes
  77.  
  78. ; This group can't use the blacklist, whitelist, and listroles commands, but otherwise has full permissions.
  79. [DJ]
  80. CommandBlacklist = blacklist whitelist listroles
  81. GrantToRoles = 160825738319101952 163013255382433792 ; Officer ID and music DJ ID
  82. ; UserList =
  83. MaxSongLength = 0
  84. MaxSongs = 0
  85. MaxPlaylistLength = 0
  86. AllowPlaylists = yes
  87.  
  88. ; This group can only use the listed commands, can only use play/skip when in the bot's voice channel,
  89. ; can't request songs longer than 3 and a half minutes, and can only request a maximum of 8 songs at a time.
  90. [Limited]
  91. CommandWhitelist = play queue np perms help skip
  92. ; CommandBlacklist =
  93. IgnoreNonVoice = play skip
  94. ; GrantToRoles =
  95. MaxSongLength = 210
  96. MaxSongs = 8
  97. AllowPlaylists = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement