How do I make a Moderator system??????

Discussion in 'Bukkit Help' started by Evster, Apr 23, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Evster

    I have tried making a moderator system using PermissionsEx and EssentialsGroupmanager and i just con fuse my self.

    Here is what I tried in EssentialsGroupmanager:

    # Group inheritance
    #
    # Any inherited groups prefixed with a g: are global groups
    # and are inherited from the GlobalGroups.yml.
    #
    # Groups without the g: prefix are groups local to this world
    # and are defined in the this groups.yml file.
    #
    # Local group inheritances define your promotion tree when using 'manpromote/mandemote'

    groups:
    Player:
    default: true
    permissions:
    - modifyworld
    - essentials.balance
    - essentials.balance.others
    - essentials.balancetop
    - essentials.pay
    - essentials.afk
    - essentials.help
    - essentials.ignore
    - essentials.list
    - essentials.msg
    - essentials.rules
    - essentials.delhome
    - essentials.home
    - essentials.sethome.multiple.[set name]
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpahere
    - essentials.tpdeny
    - essentials.warp
    - essentials.warp.list
    - essentials.warps
    - essentials.worlds.<worldname>
    - essentials.protect
    - essentials.protect.exemptplacement
    - essentials.protect.damage.contact
    - essentials.protect.damage.lava
    - essentials.protect.damage.tnt
    - essentials.protect.damage.creeper
    - essentials.protect.damage.projectiles
    - essentials.protect.damage.fall
    - essentials.protect.damage.suffocation
    - essentials.protect.damage.fire
    - essentials.protect.damage.drowning
    - essentials.protect.damage.lightning
    - essentials.signs.create.protection
    - essentials.signs.use.protection
    - essentials.signs.protection.override
    - essentials.signs.create.free
    - essentials.signs.use.free
    - essentials.signs.use.disposal
    - essentials.signs.use.heal
    - essentials.signs.use.trade
    - essentials.signs.use.warp
    - essentials.signs.use.buy
    - essentials.signs.use.sell
    - essentials.protect.exemptbreak
    - essentials.protect.entitytarget.bypass
    - essentials.protect.damage.fireball
    - essentials.joinfullserver
    - essentials.build
    - essentials.signs.use.kit
    - essentials.signs.use.enchant
    - essentials.signs.use.repair
    - essentials.build.pickup
    - essentials.build.drop
    - essentials.build.craft
    - essentials.build.break
    - essentials.build.place
    - essentials.build.interact
    - essentials.kits.starter
    - essentials.kit
    - trophyheads.drop
    - trophyheads.info
    - playerrider.ride
    - playerrider.beridden
    - playerrider.eject
    inheritance:
    info:
    prefix: '&8'
    build: true
    suffix: '&7'
    Moderator:
    default: false
    permissions:
    - essentials.workbench
    - essentials.hat
    - essentials.ban
    - essentials.enderchest
    - essentials.invsee
    - essentials.kick
    - essentials.killall
    - esseentials.tempban
    - essentials.togglejail
    - essentials.vanish
    - essentials.weather
    - essentials.tp
    - essentials.tpo
    - essentials.gamemode
    inheritance:
    - Player
    info:
    prefix: '&6'
    build: true
    suffix: ''
    Admin:
    default: false
    permissions:
    - '*'
    inheritance:
    info:
    prefix: '&c'
    build: true
    suffix: '&f'
    Owner:
    default: false
    permissions:
    - '*'
    inheritance:
    info:
    prefix: '&e'
    build: true
    suffix: '&f'
    and PermissionsEx just REALLY REALLY confused me.
    Plz plz plz help me!!!!!!!!!!!

    The problrem is that their is no command /mod

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  2. Offline

    Etsijä

    I'm not really sure what it is you're trying to do. Care to explain? We use PEX and it's been working quite well for us for several years now.
     
  3. Offline

    kungfuko

    /mod command does not exist with GM nor PEX
     
  4. Offline

    mack2540

  5. Offline

    LHammonds

    What makes a moderator or admin or owner or VIP or whatnot depends upon what permission nodes are granted to them. Permission nodes are typically associated to a command or group of commands.

    What you want to do is setup your ranks (e.g. groups) so that players belong to 1 particular rank for normal game permissions which typically come with prefix or suffix settings.

    Then add a set of groups that will be used in addition to your normal player ranks and name them mod, chatmod, admin, etc. so that your normal ranks that are also staff will have these extra groups.

    On my server, everyone has a specific rank...everyone. And the rank comes with a prefix which shows what rank you are. If you are staff, the additional staff groups comes with a suffix to help people identify staff easily.

    Here is an example of bukkit permissions (using PermissionsEx) that would accomplish this goal...but keep in mind you can configure it however you like in about a thousand different ways.

    Example using 1-level inheritance:
    Code:
    groups:
      owner:
        inheritance:
        - ownerbukkit
        - adminbukkit
        - modbukkit
        options:
          rank: '100'
        suffix: ' &b&l[Owner]'
      admin:
        inheritance:
        - adminbukkit
        - modbukkit
        options:
          rank: '150'
        suffix: ' &3&l[Admin]&r'
      mod:
        inheritance:
        - modbukkit
        options:
          rank: '200'
        suffix: ' &3&l[Mod]&r'
      citizen:
        default: true
        inheritance:
        - userbukkit
        options:
          rank: '700'
        prefix: '&8&lCitizen &r&f'
      ownerbukkit:
        permissions:
        - bukkit.command.gamemode
        - bukkit.command.gamerule
        - bukkit.command.op
        - bukkit.command.op.give
        - bukkit.command.op.take
        - bukkit.command.plugins
        - -bukkit.command.reload
        - bukkit.command.stop
        - bukkit.command.timings
      adminbukkit:
        permissions:
        - bukkit.broadcast
        - bukkit.broadcast.admin
        - bukkit.command
        - bukkit.command.clear
        - bukkit.command.defaultgamemode
        - bukkit.command.difficulty
        - bukkit.command.give
        - bukkit.command.effect
        - bukkit.command.enchant
        - bukkit.command.help
        - bukkit.command.list
        - bukkit.command.me
        - bukkit.command.save
        - bukkit.command.save.disable
        - bukkit.command.save.enable
        - bukkit.command.save.perform
        - bukkit.command.say
        - bukkit.command.seed
        - bukkit.command.spawnpoint
        - bukkit.command.teleport
        - bukkit.command.time
        - bukkit.command.toggledownfall
        - bukkit.command.unban
        - bukkit.command.unban.ip
        - bukkit.command.unban.player
        - bukkit.command.version
        - bukkit.command.weather
        - bukkit.command.whitelist
        - bukkit.command.whitelist.add
        - bukkit.command.whitelist.disable
        - bukkit.command.whitelist.enable
        - bukkit.command.whitelist.list
        - bukkit.command.whitelist.reload
        - bukkit.command.whitelist.remove
        - bukkit.command.xp
      modbukkit:
        permissions:
        - bukkit.command.ban
        - bukkit.command.ban.ip
        - bukkit.command.ban.player
        - bukkit.command.kick
        - bukkit.command.ban.list
        - bukkit.command.unban.player
        - bukkit.command.unban.ip
        - bukkit.command.teleport
        - bukkit.command.say
      userbukkit:
        permissions:
        - -bukkit.command.clear
        - -bukkit.command.help
        - -bukkit.command.me
        - -bukkit.command.plugins
        - -bukkit.command.version
        - bukkit.broadcast.user
        - bukkit.command.tell
        - bukkit.command.kill
    Same example but using multi-level inheritance (permissions cut out in favor of making example shorter):
    Code:
    groups:
      owner:
        inheritance:
        - ownerbukkit
        - admin
        options:
          rank: '100'
        suffix: ' &b&l[Owner]'
      admin:
        inheritance:
        - adminbukkit
        - mod
        options:
          rank: '150'
        suffix: ' &3&l[Admin]&r'
      mod:
        inheritance:
        - modbukkit
        options:
          rank: '200'
        suffix: ' &3&l[Mod]&r'
      citizen:
        default: true
        inheritance:
        - userbukkit
        options:
          rank: '700'
        prefix: '&8&lCitizen &r&f'
    In the 1st example, each group directly inherited a permission group.

    In the 2nd example, higher groups inherited the rights of lower-groups.

    But in both examples, normal users would only belong to the "Citizen" group. Staff members would have the Citizen group AND a one staff group (but no more than 1)

    EDIT: If you want, you can come onto my server and I'll show you my staff's command-n-control room that helps the various staff ranks learn their responsibilities. My IGN is HammondsLegacy and my server address is HammondsLegacy.com

    LHammonds
     
Thread Status:
Not open for further replies.

Share This Page