Solved [bperms] How to not use per-world perms

Discussion in 'Bukkit Help' started by mmorton89, Oct 8, 2012.

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

    mmorton89

    Ok, so I am switching from PEX to BPermissions and I can't figure out how to get the prefixes to work properly. I also can't seem to get it to not use per-world permissions.

    Here is my groups.yml
    Show Spoiler
    default: peasant
    groups:
    admin:
    permissions:
    - bukkit.command.plugins
    - essentials.ban
    - essentials.banip
    - essentials.broadcast
    - essentials.gamemode
    - essentials.unban
    - essentials.unbanip
    - towny.wild.*
    - worldedit.analysis.count
    - worldedit.analysis.distr
    - worldedit.chunkinfo
    - worldedit.clipboard.copy
    - worldedit.clipboard.cut
    - worldedit.clipboard.flip
    - worldedit.clipboard.paste
    - worldedit.clipboard.rotate
    - worldedit.generation.cylinder
    - worldedit.generation.forest
    - worldedit.generation.pumpkins
    - worldedit.generation.pyramid
    - worldedit.generation.shape
    - worldedit.generation.sphere
    - worldedit.history.redo
    - worldedit.history.undo
    - worldedit.listchunks
    - worldedit.navigation.ascend
    - worldedit.navigation.descend
    - worldedit.navigation.unstuck
    - worldedit.region.deform
    - worldedit.region.faces
    - worldedit.region.overlay
    - worldedit.region.regen
    - worldedit.region.replace
    - worldedit.region.set
    - worldedit.region.smooth
    - worldedit.region.stack
    - worldedit.region.walls
    - worldedit.regions.hollow
    - worldedit.selection.chunk
    - worldedit.selection.expand
    - worldedit.selection.hops
    - worldedit.selection.outset
    - worldedit.selection.pos
    - worldedit.selection.size
    - worldedit.wand
    - worldedit.wand.toggle
    groups:
    - mod
    meta:
    priority: '100'
    prefix: '&c[Admin] '
    mod:
    permissions:
    - essentials.back
    - essentials.backondeath
    - essentials.ban.notify
    - essentials.helpop.recieve
    - essentials.jails
    - essentials.kick
    - essentials.realname
    - essentials.seen.*
    - essentials.tempban
    - essentials.togglejail
    - essentials.tp
    - essentials.weather
    - essentials.whois
    - logblock.lookup
    - logblock.me
    - logblock.spawntools
    - logblock.tools.tool
    - logblock.tools.toolblock
    - nocheatplus.admin.info
    - nocheatplus.admin.notify
    - towny.chat.mod
    - vanish.standard
    groups:
    - legend
    meta:
    priority: '75'
    prefix: '&6[Mod] '
    legend:
    permissions:
    - ^modifyworld.mobtarget.monster.creeper
    groups:
    - king
    meta:
    priority: '50'
    prefix: '&8[Legend] '
    king:
    permissions:
    - essentials.tpa
    - essentials.tpahere
    groups:
    - noble
    meta:
    priority: '45'
    prefix: '&7[King] '
    noble:
    permissions:
    - towny.toggle.*
    - towny.town.*
    groups:
    - knight
    meta:
    priority: '40'
    prefix: '&9[Noble] '
    knight:
    permissions:
    - ^modifyworld.mobtarget.monster.creeper
    groups:
    - squire
    meta:
    priority: '35'
    prefix: '&3[Knight] '
    squire:
    permissions:
    - chestshop.shop.create
    groups:
    - peasant
    meta:
    priority: '30'
    prefix: '&b[Squire] '
    peasant:
    permissions:
    - buttoncommands.chat
    - buttoncommands.use.alias
    - buttoncommands.use.normal
    - chestshop.shop.buy
    - chestshop.shop.sell
    - essentials.compass
    - essentials.delhome
    - essentials.depth
    - essentials.getpos
    - essentials.help
    - essentials.helpop
    - essentials.home
    - essentials.ignore
    - essentials.kit
    - essentials.kit.starter
    - essentials.list
    - essentials.mail
    - essentials.mail.send
    - essentials.me
    - essentials.motd
    - essentials.msg
    - essentials.rules
    - essentials.sethome
    - essentials.spawn
    - essentials.time
    - essentials.tpaccept
    - essentials.tpdeny
    - essentials.warp
    - essentials.warp.new
    - essentials.warp.wild1
    - essentials.warp.wild2
    - essentials.warp.wild3
    - essentials.warp.wild4
    - heroes.bind
    - heroes.classes.gladiator
    - heroes.classes.hunter
    - heroes.classes.knight
    - heroes.classes.mage
    - heroes.classes.monk
    - heroes.classes.paladin
    - heroes.classes.priest
    - heroes.classes.rogue
    - heroes.classes.warlock
    - heroes.reset
    - iConomy.access
    - iConomy.help
    - iConomy.holdings
    - iConomy.list
    - iConomy.payment
    - iConomy.rank
    - jobs.use
    - lwc.protect
    - lwc.shownotices
    - ontime.me
    - ontime.online
    - ontime.other
    - ontime.rewards.receive
    - ontime.top
    - pvpreward.getreward
    - pvpreward.givereward
    - scavenger.exp
    - scavenger.level
    - scavenger.scavenge
    - simplespleef.announce
    - simplespleef.arenas
    - simplespleef.back
    - simplespleef.countdown
    - simplespleef.delete
    - simplespleef.help
    - simplespleef.info
    - simplespleef.join
    - simplespleef.leave
    - simplespleef.list
    - simplespleef.ready
    - simplespleef.start
    - simplespleef.stop
    - simplespleef.team
    - simplespleef.watch
    - towny.chat.general
    - towny.chat.local
    - towny.chat.nation
    - towny.chat.town
    - towny.toggle.explosions
    - towny.toggle.fire
    - towny.toggle.mobs
    - towny.toggle.pvp
    - towny.top
    - towny.town.plot.*
    - towny.town.resident
    - towny.town.spawn.*
    - towny.wild.*
    - ^bukkit.command.plugins
    - ^essentials.help.anticheat
    - ^essentials.help.buttoncommands
    - ^essentials.help.essentialsspawn
    - ^essentials.help.multiverse-core
    - ^essentials.help.multiverse-netherportal
    - ^essentials.help.permissionsex
    - ^essentials.help.questioner
    - ^essentials.help.vault
    - ^essentials.help.voxelsniper
    - ^essentials.help.worldborder
    groups: []
    meta:
    priority: '25'
    prefix: '&7[Peasant] '


    In my chat, say for me admin, this is how it comes out.
    [Admin][Peasant] admin playername: message

    The first part, [Admin], is from my global groups.
    The second part, [Peasant], is from the world groups
    The third part, admin, well I have no clue where that comes from. >_>

    I have set Use-Global-Files: true in the config.yml and it still seems to be using the groups from the world folders.

    I just want a simple [RANK] PlayerName: Message
    but I can't get it work.

    Thanks for any help.
     
  2. Offline

    TnT

    Remove the .yml files from the worlds if you do not wish to use them at all (back them up, obviously, in case you wish to reference them later).
     
    mmorton89 likes this.
  3. Offline

    mmorton89

    I removed them, but it is still acting up. Here is a screenshot to help you understand what is wrong.
    Show Spoiler
    [​IMG]


    You can see when I use the /promote command it has different ranks. You can also see how it posts "peasant" twice. It is also showing 2 prefixes from different ranks.

    It regenerates the files in the world folders when I start the server and when I used /promote it put me in different ranks. 1 rank in the groups.yml in the main folder (squire) and another rank in the groups.yml in the world folder (peasant).

    I am so confused. >_>
     
  4. Offline

    TnT

    What chat plugin are you using? :confused:
     
  5. Offline

    mmorton89

    TownyChat

    It seems like no matter what I do, it wants to use different permissions and groups per world. If I go into the nether I am a different rank than I am when I am in the regular world.
     
  6. Offline

    RZeroX

  7. Offline

    mmorton89

    Will it help me fix this permissions per world problem?

    I am not having any issues with prefixes and making groups, I am having issues setting it to use 1 global group and not have different groups per world.

    I also can't figure out why it keeps adding its own prefixes. In the screen shot you can see the 2nd "peasant" in blue text. That was not put there by me and I can not get it to go away.
     
  8. Offline

    RZeroX

    it should fix the permissions per world probelm
    and here's the picture of it being used [​IMG]
     
    mmorton89 likes this.
  9. Offline

    mmorton89

    Ok, I will give a try after work. I don't have enough time to set it up tonight, but do you have any clue why it keeps putting it its own prefixes?

    Like in the screen shot I have not put anywhere in any .yml files to add the 2nd "peasant", yet for some reason it does it anyway. Is this like something bperms does on it's own? Any way to disable it?
     
  10. Offline

    RZeroX

    Did you make it that your not in the default group that might be why its causing you to be in peasant i don't really know.
     
  11. Offline

    mmorton89

    Herp a Derp

    TownyChat was formatted for {permprefix}{group}{player}:{msg}

    I also fixed the problem with the double ranking by, disabling use-global-files and using the mirror list from my main world.

    I guess I don't understand what the config option use-global-files: true is used for but when I had it set to true, it would generate default files for groups.yml and users.yml in the world folders.

    thanks.
     
Thread Status:
Not open for further replies.

Share This Page