Advertisement
TuperMario

Salt permission list

Dec 16th, 2016
621
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. permList = {
  2.         all: "*",
  3.         globalall: "global.*",
  4.         customall: "custom.*",
  5.         /* format:
  6.         command: "permission.node",
  7.         */
  8.         mute: "global.mute",
  9.         pmute: "global.pmute",
  10.         unmute: "global.unmute",
  11.         punmute: "global.unmute",
  12.         help: "global.help", //this one can't be negated
  13.         ban: "global.ban",
  14.         //unban: "global.unban",
  15.         kick: "global.kick",
  16.         avatar: "global.avatar",
  17.         info: {
  18.             all: "global.info.*",
  19.             channels: "global.info.channels",
  20.             roles: "global.info.roles",
  21.             members: "global.info.members",
  22.             server: "global.info.server",
  23.             amountusersonrole: "global.info.amountusersonrole",
  24.             amountusersonhighrole: "global.info.amush",
  25.             user: "global.info.user",
  26.             role: "global.info.role",
  27.             channel: "global.info.channel",
  28.             bot: "global.info.bot"
  29.             },
  30.         command: "global.command",
  31.         delcommand: "global.delcommand",
  32.         listcommands: "global.listcommands",
  33.         welcfarew: {
  34.             all: "global.welcfarew.*",
  35.             welcome: {
  36.                 all: "global.welcfarew.welcome.*",
  37.                 message: "global.welcfarew.welcome.message",
  38.                 channel: "global.welcfarew.welcome.channel",
  39.                 disable: "global.welcfarew.welcome.disable"
  40.             },
  41.             farewell: {
  42.                 all: "global.welcfarew.farewell.*",
  43.                 message: "global.welcfarew.farewell.message",
  44.                 channel: "global.welcfarew.farewell.channel",
  45.                 disable: "global.welcfarew.farewell.disable"
  46.             }
  47.         },
  48.         autorole: "global.autorole",
  49.         delautorole: "global.delautorole",
  50.         mutetime: "global.mutetime",
  51.         coinflip: "global.coinflip",
  52.         random: "global.random",
  53.         feedme: "global.feedme",
  54.         toggleinvites: "global.toggleinvites",
  55.         clear: {
  56.             all: "global.clear.*",
  57.             normal: "global.clear.normal",
  58.             user: "global.clear.user"
  59.         },
  60.         hooktalk: "global.hooktalk",
  61.         ping: "global.ping",
  62.         pong: "global.ping",
  63.         trigger: "global.trigger",
  64.         triggers: "global.triggers",
  65.         deltrigger: "global.deltrigger",
  66.         saltrole: "global.saltrole",
  67.         delsaltrole: "global.delsaltrole",
  68.         actionlogs: {
  69.             all: "global.actionlogs.*",
  70.             set: "global.actionlogs.set",
  71.             disable: "global.actionlogs.disable"
  72.         },
  73.         rip: "global.rip",
  74.         image: {
  75.             all: "global.image.*",
  76.             rotate: "global.image.rotate",
  77.             grayscale: "global.image.grayscale"
  78.         },
  79.         warn: "global.warn",
  80.         setwarns: {
  81.             all: "global.setwarns.*",
  82.             limit: {
  83.                 all: "global.setwarns.limit.*",
  84.                 set: "global.setwarns.limit.set",
  85.                 disable: "global.setwarns.limit.disable"
  86.             },
  87.             punishment: {
  88.                 all: "global.setwarns.punishment.*",
  89.                 kick: "global.setwarns.punishment.kick",
  90.                 ban: "global.setwarns.punishment.ban",
  91.                 mute: "global.setwarns.punishment.mute"
  92.             }
  93.         },
  94.         clearwarns: "global.clearwarns",
  95.         numupper: "global.numupper",
  96.         autoname: "global.autoname",
  97.         delautoname: "global.delautoname",
  98.         invite: "global.invite",
  99.         calc: "global.calc",
  100.         role: {
  101.             all: "global.role.*",
  102.             give: "global.role.add",
  103.             take: "global.role.remove"
  104.         },
  105.         addrole: "global.role.add",
  106.         removerole: "global.role.remove",
  107.         encrypt: "global.encrypt",
  108.         decrypt: "global.decrypt",
  109.         setkey: "global.setkey",
  110.         getkey: "global.getkey",
  111.         manageselfrole: {
  112.             all: "global.manageselfrole.*",
  113.             add: "global.manageselfrole.add",
  114.             remove: "global.manageselfrole.remove"
  115.         },
  116.         selfrole: "global.selfrole",
  117.         remind: "global.remind",
  118.         delremind: "global.delremind",
  119.         delreminder: "global.delremind",
  120.         contact: "global.contact", //can't be negated or disabled
  121.         emoji: "global.emoji",
  122.         forcedelete: "global.forcedelete",
  123.         logs: {
  124.             all: "global.logs.*",
  125.             set: "global.logs.set",
  126.             register: "global.logs.register",
  127.             disable: "global.logs.disable",
  128.             enable: "global.logs.enable",
  129.             rolenamelog: "global.logs.rolenamelog"
  130.         },
  131.         p: {
  132.             all: "global.p.*",
  133.             give: "global.p.add",
  134.             take: "global.p.remove",
  135.             enable: "global.p.enable",
  136.             disable: "global.p.disable", //Also counts for clone
  137.             clone: "global.p.disable"
  138.         },
  139.         listperms: "global.listperms",
  140.         listdisables: "global.listdisables",
  141.         bam: "global.bam"
  142.         quote: "global.quote",
  143.         perms: "global.perms",
  144.         selfroles: "global.selfroles",
  145.         rmembers: "global.rmembers"
  146.     };
  147.  
  148. this.defaultPerms = [ //List of default permissions. Default permissions are permissions that are always positive unless negated.
  149.   global.encrypt,
  150.   global.decrypt,
  151.   global.setkey,
  152.   global.getkey,
  153.   global.selfrole,
  154.   global.remind,
  155.   global.delremind,
  156.   global.contact,
  157.   global.emoji,
  158.   global.numupper,
  159.   global.invite,
  160.   global.calc,
  161.   global.ping,
  162.   global.hooktalk,
  163.   global.rip,
  164.   global.image.rotate,
  165.   global.image.grayscale,
  166.   global.random,
  167.   global.feedme,
  168.   global.coinflip,
  169.   global.mutetime,
  170.   global.listcommands,
  171.   global.selfroles,
  172.   global.triggers,
  173.   global.avatar,
  174.   global.listperms,
  175.   global.listdisables,
  176.   global.info.channels,
  177.   global.info.roles,
  178.   global.info.members,
  179.   global.info.server,
  180.   global.info.amountusersonrole,
  181.   global.info.amush,
  182.   global.info.user,
  183.   global.info.role,
  184.   global.info.channel,
  185.   global.info.bot,
  186.   global.bam,
  187.   global.quote,
  188.   global.perms,
  189.   global.selfroles,
  190.   global.rmembers ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement