permissionsex internal error + null

Discussion in 'Spigot Help' started by armyboi7, Apr 1, 2020.

  1. i'm having trouble with permissionsex. all i did is add some new permissions and now it only says 'internal error' even if remove them or anything the error stays.

    here's my console
    https://pastebin.com/Hae0TruX

    https://pastebin.com/rijTc6ve

    here's my permissions.yml and the console just says 'null' i would appreciate an updated file if there is something wrong AND an explination. thank you.
     

  2. This should be the fixed one (that is if SpigotMC's formatting doesn't fail me), basically, permissions.yml is a YAML file, basically meaning a very sensitive language to follow through when you are trying to directly edit the file. Going through your permissions.yml, you had errors at some spots (missing spaces, unaligned values, unaligned options:). A single space can lead to the YAML being broken, and therefore causing the plugin to not start.
    next time, put your yaml files through a yaml parser. Something like this one:
    https://yaml-online-parser.appspot.com/
    Code (Text):

    groups:
      Owner:
        inheritance:
        - Member
        permissions:
        - '*'
        options:
          prefix: '&6[Owner]&6 &r'
        worlds:
          Armyyyyy:
            permissions: []
      member:
        options:
          weight: '900'
          rank: '900'
          default: true
          prefix: '&7Member&7 &r'
        permissions:
        - bukkit.command.list
        - essentials.balance
        - essentials.delhome
        - essentials.exp
        - essentials.help
        - essentials.helpop
        - essentials.home
        - essentials.ignore
        - essentials.info
        - essentials.kit
        - essentials.kits.guest
        - essentials.list
        - essentials.mail
        - essentials.mail.send
        - essentials.me
        - essentials.msg
        - essentials.pay
        - essentials.protect.pvp
        - essentials.realname
        - essentials.recipe
        - essentials.sell
        - essentials.sethome
        - essentials.signs.use.buy
        - essentials.signs.use.info
        - essentials.signs.use.warp
        - -essentials.socialspy
        - essentials.spawn
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpahere
        - essentials.tpdeny
        - essentials.warp
        - essentials.warp.list
        - essentials.worth
        - modifyworld.*
        - essentials.afk
        - essentials.back
        - essentials.chat.color
        - essentials.compass
        - essentials.ext
        - essentials.hat
        - essentials.jump
        - essentials.kit
        - essentials.kits.member
        - essentials.msg.color
        - essentials.sethome.multiple.member
        - essentials.time
        - essentials.workbench
        - citizenscmd.use
        - guibalance.use
      beta-tester:
        options:
          weight: '500'
          rank: '500'
          prefix: '&5beta-tester&5 &r'
        permissions:
        - essentials.sethome.multiple.beta-tester
        -  essentials.kits
      Administrator:
        options:
          weight: '3'
          rank: '3'
          prefix: '&cAdministrator&c &r'
        permissions:
        - '*'
      Moderator:
        options:
          weight: '4'
          rank: '4'
          prefix: '&1Moderator&1 &r'
        permissions:
        - -essentials.kill
        - -essentials.gamemode
        - -essentials.gamemode.creative
        - -essentials.give
        - essentials.speed
      helper:
        options:
          weight: '7'
          rank: '7'
          prefix: '&aHelper&a &r'
        permissions:
        - bukkit.command.banlist
        - bukkit.command.ban.list
        - essentials.ban.notify
        - essentials.chat.ignoreexempt
        - essentials.exp.others
        - essentials.fly
        - essentials.fly.safelogin
        - essentials.gc
        - essentials.helpop.receive
        - essentials.invsee
        - -essentials.invsee.preventmodify
        - essentials.jail
        - -essentials.jail.exempt
        - essentials.jails
        - essentials.jump
        - essentials.kick
        - essentials.kick.notify
        - essentials.mute
        - essentials.mute.notify
        - essentials.repair
        - essentials.repair.all
        - essentials.repair.armor
        - essentials.repair.enchanted
        - essentials.socialspy
        - essentials.tempban
        - -essentials.tempban.offline
        - essentials.togglejail
        - essentials.tpahere
        - -vanish.*
        - essentials.feed
        - essentials.heal
        - essentials.joinfullserver
        - bukkit.command.tps
        - guibalance.use
        - bukkit.command.list
        - essentials.balance
        - essentials.delhome
        - essentials.exp
        - essentials.help
        - essentials.helpop
        - essentials.home
        - essentials.ignore
        - essentials.info
        - essentials.kit
        - essentials.kits.guest
        - essentials.list
        - essentials.mail
        - essentials.mail.send
        - essentials.me
        - essentials.msg
        - essentials.pay
        - essentials.protect.pvp
        - essentials.realname
        - essentials.recipe
        - essentials.sell
        - essentials.sethome
        - essentials.signs.use.buy
        - essentials.signs.use.info
        - essentials.signs.use.warp
        - -essentials.socialspy
        - essentials.spawn
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpahere
        - essentials.tpdeny
        - essentials.warp
        - essentials.warp.list
        - essentials.worth
        - modifyworld.*
        - essentials.afk
        - essentials.back
        - essentials.chat.color
        - essentials.compass
        - essentials.ext
        - essentials.hat
        - essentials.jump
        - essentials.kit
        - essentials.kits.member
        - essentials.msg.color
        - essentials.sethome.multiple.member
        - essentials.time
        - essentials.workbench
        - citizenscmd.use
        - guibalance.use
      Co-Owner:
        options:
          weight: '2'
          rank: '2'
          prefix: '&4[Co-Owner]&4 &r'
        permissions:
        - '*'
      Builder:
        options:
          weight: '6'
          rank: '6'
          prefix: '&3Builder&3 &r'
        permissions:
        - worldedit.*
    schema-version: 1
     
     
  3. thanks man! good to know