Problem with Player IDs.

Discussion in 'Bukkit Help' started by slyswat, Jan 15, 2011.

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

    slyswat

    Alright, well. Since I made the switch from Hmod to Bukkit, I can't make people admins, due to the fact, I have no clue how to find player IDs. How would one go about doing such a thing?
    --- merged: Jan 16, 2011 5:23 AM ---
    Anybody? Please. I can't become an admin on my own server...
     
  2. Offline

    computerman_

    slyswat
    Go in the "console" and type "op <you player name>".
     
  3. Offline

    LHammonds

    Use a permission plugin such as PermissionsEx and assign the appropriate permission nodes.

    I don't use OP on my servers and even have them disabled.

    I grant rights purely through permission nodes.

    Here is an example of one such permission file (I just threw this together, it is untested). Staff ranks 1 through 4 are staff positions. Ranks 1 through 99 are player ranks and "rank99" is the rank players get when they 1st join. Player ranks are on the left of their name in chat and staff members have their position to the right of their name in chat.

    When you 1st start a server using PEX and this permission file, you type something like this at the server console:

    Code:
    pex user HammondsLegacy group set staff1
    pex user HammondsLegacy group add rank2
    
    The above would set the player "HammondsLegacy" to the owner staff position and the 2nd line add an additional group which is a player rank.

    <server folder>/plugins/PermissionsEx/permissions.yml
    Code:
    groups:
      staff1:
        inheritance:
        - default
        - ownerbukkit
        - owneressentials
        - ownerpermissions
        - ownervault
        - ownerworldborder
        - ownerworldedit
        - ownerworldguard
        - adminbukkit
        - adminessentials
        - adminserversigns
        - chatmodessentials
        - modbukkit
        - modessentials
        options:
          rank: '100'
          rank-ladder: Staff
        suffix: ' [&bOwner&r]'
      staff2:
        inheritance:
        - default
        - adminbukkit
        - adminessentials
        - adminserversigns
        - chatmodessentials
        - modbukkit
        - modessentials
        options:
          rank: '150'
          rank-ladder: Staff
        suffix: ' &3&l[Admin]&r&f'
      staff3:
        inheritance:
        - default
        - chatmodessentials
        - modbukkit
        - modessentials
        options:
          rank: '200'
          rank-ladder: Staff
        suffix: ' &3&l[Mod]&r&f'
      staff4:
        inheritance:
        - default
        - chatmodessentials
        options:
          rank: '250'
          rank-ladder: Staff
        suffix: ' &3&l[ChatMod]&r&f'
      rank1:
        inheritance:
        - default
        options:
          rank: '300'
          rank-ladder: Ranks
        prefix: '&d&l[Princess]&r&f '
      rank2:
        inheritance:
        - default
        options:
          rank: '350'
          rank-ladder: Ranks
        prefix: '&2&l[Knight]&r&f '
      rank3:
        inheritance:
        - default
        options:
          rank: '400'
          rank-ladder: Ranks
        prefix: '&6&l[Guard]&r&f '
      rank99:
        default: true
        inheritance:
        - userbukkit
        - useressentials
        - userserversigns
        options:
          rank: '999'
          rank-ladder: Ranks
        prefix: '&8&l[Greek]&r&f '
      adminbukkit:
        permissions:
        - bukkit.broadcast
        - bukkit.broadcast.admin
        - bukkit.command
        - bukkit.command.clear
        - bukkit.command.defaultgamemode
        - bukkit.command.difficulty
        - bukkit.command.gamemode
        - bukkit.command.gamerule
        - bukkit.command.give
        - bukkit.command.effect
        - bukkit.command.enchant
        - bukkit.command.help
        - bukkit.command.list
        - bukkit.command.me
        - -bukkit.command.op
        - -bukkit.command.op.give
        - -bukkit.command.op.take
        - bukkit.command.plugins
        - -bukkit.command.reload
        - 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.stop
        - bukkit.command.teleport
        - bukkit.command.timings
        - 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
      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
      owneressentials:
        permissions:
        - essentials.warps.staffking
        - essentials.backup
        - essentials.ban.exempt
        - essentials.bigtree
        - essentials.book
        - essentials.book.author
        - essentials.book.others
        - essentials.book.title
        - essentials.break
        - essentials.break.bedrock
        - essentials.burn
        - essentials.chat.magic
        - essentials.chat.question
        - essentials.chat.shout
        - essentials.chat.spy
        - essentials.deljail
        - essentials.delwarp
        - essentials.depth
        - essentials.eco
        - essentials.eco.loan
        - essentials.enchant
        - essentials.enchantments.*
        - essentials.enchant.allowunsafe
        - essentials.enderchest.modify
        - essentials.enderchest.others
        - essentials.essentials
        - essentials.exp
        - essentials.exp.give
        - essentials.exp.give.others
        - essentials.exp.set
        - essentials.exp.set.others
        - essentials.ext
        - essentials.feed
        - essentials.feed.others
        - essentials.fireball
        - essentials.firework
        - essentials.firework.fire
        - essentials.fly
        - essentials.fly.others
        - essentials.fly.safelogin
        - essentials.gamemode
        - essentials.gamemode.others
        - essentials.gc
        - essentials.geoip.hide
        - essentials.geoip.show
        - essentials.getpos
        - essentials.getpos.others
        - essentials.give
        - essentials.give.item-all
        - essentials.god
        - essentials.god.others
        - essentials.god.pvp
        - essentials.heal
        - essentials.heal.cooldown.bypass
        - essentials.heal.others
        - essentials.helpop.receive
        - essentials.home.others
        - essentials.item
        - essentials.itemdb
        - essentials.itemspawn.exempt
        - essentials.itemspawn.item-all
        - essentials.itemspawn.meta-author
        - essentials.itemspawn.meta-book
        - essentials.itemspawn.meta-firework
        - essentials.itemspawn.meta-head
        - essentials.itemspawn.meta-lore
        - essentials.itemspawn.meta-title
        - essentials.jail.exempt
        - essentials.joinfullserver
        - essentials.jump
        - essentials.keepxp
        - essentials.kill
        - essentials.killall
        - essentials.kickall
        - essentials.kit
        - essentials.kit.*
        - essentials.kit.others
        - essentials.lightning
        - essentials.list.hidden
        - essentials.me
        - essentials.more
        - essentials.msg.color
        - essentials.msg.format
        - essentials.msg.magic
        - essentials.near
        - essentials.nick
        - essentials.nick.color
        - essentials.nick.format
        - essentials.nick.magic
        - essentials.nick.others
        - essentials.nuke
        - essentials.oversizedstacks
        - essentials.ping
        - essentials.powertool
        - essentials.powertooltoggle
        - essentials.protect
        - essentials.protect.admin
        - essentials.protect.alerts
        - essentials.protect.damage.contact
        - essentials.protect.damage.creeper
        - essentials.protect.damage.disable
        - essentials.protect.damage.drowning
        - essentials.protect.damage.fall
        - essentials.protect.damage.fire
        - essentials.protect.damage.lava
        - essentials.protect.damage.lightning
        - essentials.protect.damage.projectiles
        - essentials.protect.damage.suffocation
        - essentials.protect.damage.tnt
        - essentials.protect.exemptplacement
        - essentials.protect.exemptusage
        - essentials.protect.ownerinfo
        - essentials.protect.pvp
        - essentials.realname
        - essentials.recipe
        - essentials.remove
        - essentials.repair
        - essentials.repair.all
        - essentials.repair.armor
        - essentials.repair.enchanted
        - essentials.seen.extra
        - essentials.seen.ipsearch
        - essentials.sethome.others
        - essentials.setjail
        - essentials.setspawn
        - essentials.setwarp
        - essentials.setworth
        - essentials.setxmpp
        - essentials.signs.break.balance
        - essentials.signs.break.buy
        - essentials.signs.break.disposal
        - essentials.signs.break.free
        - essentials.signs.break.heal
        - essentials.signs.break.mail
        - essentials.signs.break.protection
        - essentials.signs.break.sell
        - essentials.signs.break.time
        - essentials.signs.break.trade
        - essentials.signs.break.warp
        - essentials.signs.break.weather
        - essentials.signs.color
        - essentials.signs.create.balance
        - essentials.signs.create.buy
        - essentials.signs.create.disposal
        - essentials.signs.create.enchant
        - essentials.signs.create.free
        - essentials.signs.create.heal
        - essentials.signs.create.info
        - essentials.signs.create.mail
        - essentials.signs.create.protection
        - essentials.signs.create.repair
        - essentials.signs.create.sell
        - essentials.signs.create.time
        - essentials.signs.create.trade
        - essentials.signs.create.warp
        - essentials.signs.create.weather
        - essentials.signs.format
        - essentials.signs.magic
        - essentials.signs.protection.override
        - essentials.signs.trade.override
        - essentials.signs.use.disposal
        - essentials.signs.use.free
        - essentials.signs.use.protection
        - essentials.signs.use.repair
        - essentials.signs.use.time
        - essentials.signs.use.trade
        - essentials.signs.use.weather
        - essentials.spawn
        - essentials.spawner
        - essentials.spawnmob
        - essentials.spawnmob.*
        - essentials.speed
        - essentials.speed.bypass
        - essentials.speed.fly
        - essentials.speed.others
        - essentials.speed.walk
        - essentials.sudo
        - essentials.thunder
        - essentials.time
        - essentials.time.set
        - essentials.top
        - essentials.tree
        - essentials.unlimited
        - essentials.unlimited.item-all
        - essentials.unlimited.others
        - essentials.vanish.others
        - essentials.warp.*
        - essentials.warp.otherplayers
        - essentials.weather
        - essentials.whois
        - essentials.workbench
        - essentials.world
        - essentials.xmpp
        - essentials.xmppspy
      adminessentials:
        permissions:
        - essentials.warps.staffgeneral
        - essentials.helpop.receive
        - essentials.teleport.cooldown.bypass
        - essentials.teleport.timer.bypass
        - essentials.tp
        - essentials.tp.others
        - essentials.tpall
        - essentials.tphere
        - essentials.tpo
        - essentials.tpohere
        - essentials.tppos
        - essentials.tptoggle
        - essentials.unban
        - essentials.unbanip
        - essentials.vanish
        - essentials.vanish.see
      useressentials:
        permissions:
        - essentials.warps.archeryrange
        - essentials.warps.vote
        - -essentials.antioch
        - -essentials.clearinventory
        - -essentials.clearinventory.others
        - -essentials.compass
        - essentials.afk
        - essentials.back
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.chat.url
        - essentials.delhome
        - essentials.help
        - essentials.helpop
        - essentials.home
        - essentials.ignore
        - essentials.info
        - essentials.list
        - essentials.mail
        - essentials.mail.send
        - essentials.mail.sendall
        - essentials.msg
        - essentials.msg.url
        - essentials.motd
        - essentials.pay
        - essentials.rules
        - essentials.seen
        - essentials.seen.banreason
        - essentials.sell
        - essentials.sethome
        - essentials.signs.use.balance
        - essentials.signs.use.buy
        - essentials.signs.use.enchant
        - essentials.signs.use.heal
        - essentials.signs.use.mail
        - essentials.signs.use.repair
        - essentials.signs.use.sell
        - essentials.signs.use.warp
        - essentials.signs.use.info
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpahere
        - essentials.tpdeny
        - essentials.warp
        - essentials.warp.list
        - essentials.warps.battlelands
        - essentials.warps.desertarena
        - essentials.warps.donorinfo
        - essentials.warps.forestarena
        - essentials.warps.jobs
        - essentials.warps.junglearena
        - essentials.warps.netherarena
        - essentials.warps.plainsarena
        - essentials.warps.slots
        - essentials.warps.snowarena
        - essentials.warps.spawn
        - essentials.warps.trucelands
        - essentials.worth
      ownerpermissions:
        permissions:
        - permissions.manage
        - permissions.manage.*
        - permissions.debug
        - permissions.reload
        - permissions.config
        - permissions.backend
        - permissions.manage.membership.*
        - permissions.manage.users
        - permissions.manage.users.*
        - permissions.manage.users.cleanup
        - permissions.manage.users.permissions.*
        - permissions.manage.users.permissions.timed.*
        - permissions.manage.users.prefix.*
        - permissions.manage.users.suffix.*
        - permissions.manage.dump
        - permissions.manage.worlds
        - permissions.manage.worlds.inheritance
        - permissions.manage.groups.inheritance
        - permissions.manage.groups.inheritance.*
        - permissions.manage.groups.permissions.*
        - permissions.manage.groups.permissions.timed.*
        - permissions.manage.groups.list
        - permissions.manage.groups.prefix.*
        - permissions.manage.groups.suffix.*
        - permissions.manage.groups.create.*
        - permissions.manage.groups.remove.*
        - permissions.user.promote.*
        - permissions.user.demote.*
      adminserversigns:
        permissions:
        - serversigns.use.*
        - serversigns.admin
        - serversigns.updatenotification
      userserversigns:
        permissions:
        - serversigns.use.everyone
      ownervault:
        permissions:
        - vault.admin
        - vault.update
      ownerworldborder:
        permissions:
        - worldborder.bypasslist
        - worldborder.fillautosave
        - worldborder.bypass
        - worldborder.clear
        - worldborder.debug
        - worldborder.delay
        - worldborder.dynmap
        - worldborder.dynmapmsg
        - worldborder.fill
        - worldborder.getmsg
        - worldborder.help
        - worldborder.knockback
        - worldborder.list
        - worldborder.portal
        - worldborder.radius
        - worldborder.reload
        - worldborder.set
        - worldborder.setmsg
        - worldborder.shape
        - worldborder.trim
        - worldborder.whoosh
        - worldborder.wrap
        - worldborder.wshape
      ownerworldedit:
        permissions:
        - worldedit.*
      ownerworldguard:
        permissions:
        - worldguard.fire-toggle.*
        - worldguard.halt-activity.*
        - worldguard.locate
        - worldguard.region.addmember.*
        - worldguard.region.addmember.member.*
        - worldguard.region.addmember.own.*
        - worldguard.region.addowner.*
        - worldguard.region.addowner.member.*
        - worldguard.region.addowner.own.*
        - worldguard.region.bypass.*
        - worldguard.region.claim
        - worldguard.region.define
        - worldguard.region.flag.flags.*
        - worldguard.region.flag.regions.*
        - worldguard.region.flag.regions.own.*
        - worldguard.region.flag.regions.member.*
        - worldguard.region.info
        - worldguard.region.info.member
        - worldguard.region.info.own
        - worldguard.region.list
        - worldguard.region.list.own
        - worldguard.region.redefine
        - worldguard.region.redefine.member
        - worldguard.region.redefine.own
        - worldguard.region.remove.*
        - worldguard.region.remove.member.*
        - worldguard.region.remove.own.*
        - worldguard.region.removemember.*
        - worldguard.region.removemember.member.*
        - worldguard.region.removemember.own.*
        - worldguard.region.removeowner.*
        - worldguard.region.removeowner.member.*
        - worldguard.region.removeowner.own.*
        - worldguard.region.select.*
        - worldguard.region.select.member.*
        - worldguard.region.select.own.*
        - worldguard.region.setparent.*
        - worldguard.region.setparent.member.*
        - worldguard.region.setparent.own.*
        - worldguard.region.setpriority.*
        - worldguard.region.setpriority.member.*
        - worldguard.region.setpriority.own.*
        - worldguard.region.teleport.*
        - worldguard.region.teleport.member.*
        - worldguard.region.teleport.own.*
        - worldguard.region.wand
        - worldguard.reload
        - worldguard.report
        - worldguard.report.pastebin
        - worldguard.stack
        - worldguard.stack.damaged
        - worldguard.stack.illegitimate
    users:
      123456789-1234-1234-1234-a123b4c56de:
        group:
        - rank1
        options:
          name: HammondsLegacy
    
    In the above example, I have the permission nodes attached to groups based on who will be getting them. The staff/player ranks are all setup to inherit permission groups. These groups are the only ones actually containing permission nodes. To me, this makes it much easier to maintain over time and when you need to update a plugin that adds or removes a permission node.

    LHammonds
     
  4. Offline

    JaguarJo Retired Staff

    Anyone else notice that the original post was made in 2011? I think he's either figured this out by now or moved on.
     
    e-mitchell7 likes this.
  5. Offline

    LHammonds

    Frickin frak! No, sure didn't. ** walks away with head hung low **
     
    JaguarJo likes this.
Thread Status:
Not open for further replies.

Share This Page