1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

PurePerms and PureChat not change

Discussion in 'Help' started by 112kutiko, Aug 5, 2017.

  1. 112kutiko

    112kutiko Spider

    Messages:
    14
    i use /setgroup 112kutiko Savininkas
    and then i write in chat test
    show
    [11:19:27] [Server thread/INFO]: [] [Naujokas] 112kutiko > hdhdhdh < show old group
    not show new

    player 112kutiko.yml
    ---
    userName: 112kutiko
    group: Savininkas
    permissions: -'*'
    worlds: []
    time: -1
    expTime: -1
    ...
    group.yml
    ---
    Naujokas:
    alias: gst
    isDefault: true
    inheritance: []
    permissions:
    - advancedkits.command.naujokas
    - economyapi.command.mymoney
    - economyapi.command.mystatus
    - economyapi.command.pay
    - economyapi.command.topmoney
    - economyauction.command.auction.bid
    - economyauction.command.auction.list
    - economycasino.command.casino.gamble
    - economycasino.command.casino.join
    - economycasino.command.casino.leave
    - economycasino.command.casino.list
    - economyshop.shop.buy
    - essentialstp.command.delhome
    - essentialstp.command.home
    - essentialstp.command.sethome
    - essentialstp.command.sign.spawn
    - essentialstp.command.sign.warp
    - essentialstp.command.spawn
    - essentialstp.command.tpa
    - essentialstp.command.tpaccept
    - essentialstp.command.tpdeny
    - essentialstp.command.warp
    - pchat.colored.format
    - pchat.colored.nametag
    worlds:
    world:
    isDefault: true
    permissions: []
    Vip:
    alias: adm
    inheritance:
    - Naujokas
    permissions:
    - advancedkits.command.vip
    - alias.*
    - economyauction.command.auction.stop
    - economyauction.command.auction.time
    - economycasino.command.casino.start
    - economycasino.command.casino.stop
    - economycasino.command.jackpot
    - essentialstp.command.back
    - essentialstp.command.wild
    - itemcloud.command.count
    - itemcloud.command.download
    - itemcloud.command.list
    - itemcloud.command.register
    - itemcloud.command.upload
    - pchat.coloredMessages
    - pocketmine.command.ban
    - pocketmine.command.kick
    - pperms.command.usrinfo
    - worlds.admin.teleport
    - worlds.list
    - xyz.command.xyz
    worlds:
    world:
    isDefault: false
    permissions: []
    youtuberis:
    alias: yout
    inheritance:
    - Vip
    permissions:
    - advancedkits.command.ytkit
    worlds:
    world:
    isDefault: false
    permissions: []
    Adminas:
    alias: owr
    inheritance:
    - Vip
    permissions:
    - advancedkits.admin
    - economyapi.command.givemoney
    - economyapi.command.seemoney
    - economyapi.command.takemoney
    - economyauction.auction.stop.others
    - economyauction.command.auction.start
    - essentialstp.*
    - iprotector.*
    - minereset.command.list
    - minereset.command.reset
    - minereset.command.resetall
    - pchat.command.setnametag
    - pchat.command.setprefix
    - pocketmine.command.ban
    - pocketmine.command.kick
    - pperms.command.ppreload
    - pperms.command.usrinfo
    - salus.*
    - worlds.admin.load
    - worlds.admin.set
    worlds:
    world:
    isDefault: false
    permissions: []
    Savininkas:
    alias: op
    inheritance: []
    permissions:
    - '*'
    worlds:
    world:
    isDefault: false
    permissions: []
    ...
    chat config.yml
    ---
    version: 1.4.0-BETA-04
    default-factions-plugin: FactionsPro
    enable-multiworld-chat: true
    groups:
    Naujokasworlds:
    world:
    nametag: '&f[{fac_name}] [Naujokas]&f&r {display_name}'
    chat: '&f[{fac_name}] [Naujokas]&f&r {display_name} &f> {msg}'
    Vipworlds:
    world:
    nametag: '&7&l{prefix}&7[{fac_name}] [Vip]&f&r {display_name}'
    chat: '&7&l{prefix}&7[{fac_name}] [Vip]&f&r {display_name} &f> {msg}'
    youtuberisworlds:
    world:
    nametag: '&7&l{prefix}&7[{fac_name}] [youtuberis]&f&r {display_name}'
    chat: '&7&l{prefix}&7[{fac_name}] [youtuberis]&f&r {display_name} &f> {msg}'
    Adminasworlds:
    world:
    nametag: '&a&l{prefix}&a[{fac_name}] [Adminas]&f&r {display_name}'
    chat: '&a&l{prefix}&a[{fac_name}] [Adminas]&f&r {display_name} &f> {msg}'
    Savininkasworlds:
    world:
    nametag: '&6&l{prefix}&6[{fac_name}] [Savininkas]&f&r&2 {display_name}'
    chat: '&6&l{prefix}&6[{fac_name}] [Savininkas]&f&r&2 {display_name} &f> {msg}'
    ...
     
  2. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    I'm not sure Multiworld works, try without to see if it still fails.
     
  3. 112kutiko

    112kutiko Spider

    Messages:
    14
    Another question is how to block a command because
    Pureperms is not recognized - or - -, such a prohibition on using a comma mark
     
    Last edited: Aug 5, 2017
  4. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    Negative permissions work fine using a minus prefixed to the permission, but again, I think it's only reliable with Multiworld disabled, for example:

    Code:
    Guest:
      alias: gst
      isDefault: true
      inheritance: []
      permissions:
      - -adminfun.command
      - -jail.command
      - -myplot.command.generate
      - -voteban.command
      - economyjob.command.*
      - economyshop.shop.buy
      - essentials.warp
      - myplot.command
      - pchat.colored.chat
      - pchat.colored.format
      - pchat.colored.nametag
      - pocketmine.command.list
      - simpleauth.command.login
      worlds: []
     
  5. 112kutiko

    112kutiko Spider

    Messages:
    14
    try but not work - - , i disabled multiworld

    my config pperms
    ---
    data-provider: yamlv1
    default-language: en
    disable-op: true
    enable-multiworld-perms: false
    enable-noeul-sixtyfour: false
    mysql-settings:
    host: PurePerms-FTW.loveyou.all
    port: 3306
    user: YourUsernameGoesHere
    password: YourPasswordGoesHere
    db: YourDBNameGoesHere
    noeul-minimum-pw-length: 6
    superadmin-ranks:
    - Savininkas
    ...
    my group file
    ---
    Naujokas:
    alias: gst
    isDefault: true
    inheritance: []
    permissions:
    - -advancedkits.command.vip
    - -advancedkits.command.ytkit
    - advancedkits.command.naujokas
    - economyapi.command.mymoney
    - economyapi.command.mystatus
    - economyapi.command.pay
    - economyapi.command.topmoney
    - economyauction.command.auction.bid
    - economyauction.command.auction.list
    - economycasino.command.casino.gamble
    - economycasino.command.casino.join
    - economycasino.command.casino.leave
    - economycasino.command.casino.list
    - economyshop.shop.buy
    - essentialstp.command.delhome
    - essentialstp.command.home
    - essentialstp.command.sethome
    - essentialstp.command.sign.spawn
    - essentialstp.command.sign.warp
    - essentialstp.command.spawn
    - essentialstp.command.tpa
    - essentialstp.command.tpaccept
    - essentialstp.command.tpdeny
    - essentialstp.command.warp
    - pchat.colored.format
    - pchat.colored.nametag
    - simpleauth.command.login
    - simpleauth.command.register
    - simpleauthhelper.command.logout
    worlds:
    world:
    isDefault: true
    permissions: []
    Vip:
    alias: adm
    inheritance:
    - Naujokas
    permissions:
    - advancedkits.command.vip
    - alias.*
    - economyauction.command.auction.stop
    - economyauction.command.auction.time
    - economycasino.command.casino.start
    - economycasino.command.casino.stop
    - economycasino.command.jackpot
    - essentialstp.command.back
    - essentialstp.command.wild
    - itemcloud.command.count
    - itemcloud.command.download
    - itemcloud.command.list
    - itemcloud.command.register
    - itemcloud.command.upload
    - pchat.coloredMessages
    - pocketmine.command.ban
    - pocketmine.command.kick
    - pperms.command.usrinfo
    - worlds.admin.teleport
    - worlds.list
    - xyz.command.xyz
    worlds:
    world:
    isDefault: false
    permissions: []
    youtuberis:
    alias: yout
    inheritance:
    - Vip
    permissions:
    - advancedkits.command.ytkit
    worlds:
    world:
    isDefault: false
    permissions: []
    Adminas:
    alias: owr
    inheritance:
    - Vip
    permissions:
    - advancedkits.admin
    - economyapi.command.givemoney
    - economyapi.command.seemoney
    - economyapi.command.takemoney
    - economyauction.auction.stop.others
    - economyauction.command.auction.start
    - essentialstp.*
    - iprotector.*
    - minereset.command.list
    - minereset.command.reset
    - minereset.command.resetall
    - pchat.command.setnametag
    - pchat.command.setprefix
    - pocketmine.command.ban
    - pocketmine.command.kick
    - pperms.command.ppreload
    - pperms.command.usrinfo
    - salus.*
    - worlds.admin.load
    - worlds.admin.set
    worlds:
    world:
    isDefault: false
    permissions: []
    Savininkas:
    alias: op
    inheritance: []
    permissions:
    - '*'
    worlds:
    world:
    isDefault: false
    permissions: []
    ...
    no show error
     
  6. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    Can you please edit and put the yaml in a code block? Both groups.yml and purechat config.yml are messed up from the look of things. I'd delete both, and start afresh without Multiworld.
     
  7. 112kutiko

    112kutiko Spider

    Messages:
    14
    Do not work those - -, I still do not know whether with all pl, yes or no but does not work AdvancedKits, ItemCloud.
     
  8. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    First, in groups.yml you need to replace every instance of this - both lines, at the end of each rank entry:
    Code:
    worlds:
    world:
    With:
    Code:
    worlds: []
    Also you have an extra isDefault entry for the first rank, and an extra empty permission node for every rank...

    Try reading up about how yaml works, and this will be easy to fix.
     
    Last edited: Aug 6, 2017
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.