Jobs

Permissions

Player Permissions

By default, Jobs should grant the appropriate permissions to users out of the box.

You may also disable jobs in specific worlds with jobs.world.worldname: false, or disallow certain jobs with jobs.join.jobname: false

  jobs.*:
    description: Grants access to all Jobs commands
    children:
      jobs.admin.*: true
      jobs.use: true
  jobs.use:
    description: Grants ability to use this plugin
    default: true
  jobs.admin.*:
    description: Grants player access to all admin commands
    children:
      jobs.admin.info: true
      jobs.admin.fire: true
      jobs.admin.employ: true
      jobs.admin.promote: true
      jobs.admin.demote: true
      jobs.admin.grantxp: true
      jobs.admin.removexp: true
      jobs.admin.transfer: true
      jobs.admin.reload: true
  jobs.admin.info:
    description: Grants access to the admininfo command
    default: op
  jobs.admin.fire:
    description: Grants access to the fire command
    default: op
  jobs.admin.employ:
    description: Grants access to the employ command
    default: op
  jobs.admin.promote:
    description: Grants access to the promote command
    default: op
  jobs.admin.demote:
    description: Grants access to the demote command
    default: op
  jobs.admin.grantxp:
    description: Grants access to the grantxp command
    default: op
  jobs.admin.removexp:
    description: Grants access to the removexp command
    default: op
  jobs.admin.transfer:
    description: Grants access to the transfer command
    default: op
  jobs.admin.reload:
    description: Grants access to the reload command
    default: op

Custom Permissions

Jobs can grant permissions to players like any SuperPerms compatible plugin (PermissionsBukkit, PEX, bPermissions, etc). You can customize each job to grant specific permissions to players when they join a particular job in the "permissions:" section of a job.

Jobs:
  ...
  Miner:
    fullname: Miner
    shortname: M
    ...
    // Grant permissions to miners
    permissions:
      # grant this permission to all miners
      myplugin.mypermission:
        value: true
        level: 0
      # grant this permission to all miners who reach level 10
      myplugin.myotherpermission:
        value: true
        level: 10
      # revoke this permission for all miners
      myplugin.myrevokedpermission:
        value: false
        level: 0
    ...

Facts

Date created
Dec 25, 2011
Last updated
May 02, 2012

Author