Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[REMOVED] PurePerms

Comments in 'Plugin Releases' started by 64FF00, Dec 21, 2014.

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

    DovahDoVolom Active Member

    Joined:
    Nov 29, 2013
    Posts:
    76
    Minecraft User:
    DovahDoVolom
    Nice to see the plugin has gotten released!! Works great @64FF00 I'm finally back to work with MCPE instead of MCPC lol
    64FF00 likes this.
  2. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    Thanks a lot! This has been fixed in the latest commit.

    https://github.com/PurePlugins/PurePerms/commit/d6d87a4eb2c62caa6ef7cd98eb8529ab3f5cb27e
  3. b3builder
    Offline

    b3builder Active Member Plugin Developer

    Joined:
    Oct 6, 2014
    Posts:
    66
    Plugins:
    2
    Minecraft User:
    b3builder
  4. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    64FF00 updated PurePerms with a new update entry:

    PurePerms v1.0.2

    Read the rest of this update entry...
  5. b3builder
    Offline

    b3builder Active Member Plugin Developer

    Joined:
    Oct 6, 2014
    Posts:
    66
    Plugins:
    2
    Minecraft User:
    b3builder
    Thanks for the update! Great plugin!
    64FF00 likes this.
  6. creeperassassin
    Offline

    creeperassassin Active Member

    Joined:
    Oct 16, 2014
    Posts:
    27
    i like the multiworld support but can you have the perm used in all world like one like i want player to be able to do /gameode 1 and 0 in my plots world but not have to set a single perm for all worlds
    64FF00 likes this.
  7. b3builder
    Offline

    b3builder Active Member Plugin Developer

    Joined:
    Oct 6, 2014
    Posts:
    66
    Plugins:
    2
    Minecraft User:
    b3builder
    So, I'm having some problems. I haven't fully been able of debugging why this happens, but it is really weird to me. If I have BanItem I don't have permission to do /login, but if I remove BanItem I have permission to do /login. This doesn't make any sense.

    Here's a dump:

    [[email protected] 431]$ ./start.sh
    02:49:48 [INFO] Starting Minecraft: PE server version v0.10.4 alpha
    02:49:48 [INFO] Loading pocketmine.yml...
    02:49:48 [INFO] Loading server properties...
    02:49:49 [INFO] Starting Minecraft PE server on 0.0.0.0:11491
    sh: ifconfig: command not found
    02:49:49 [INFO] This server is running PocketMine-MP version 1.4.1dev-936 "絶好(Zekkou)ケーキ(Cake)" (API 1.11.0)
    02:49:49 [INFO] PocketMine-MP is distributed under the LGPL License
    02:49:49 [INFO] Loading BanItem v2.1
    02:49:49 [INFO] Loading essentialsTP v1.0.9
    02:49:49 [INFO] Loading PeacefulSpawn v2.4
    02:49:49 [INFO] Loading VIPSlots v0.0.2
    02:49:49 [INFO] Loading SimpleAuth v1.6.0
    02:49:49 [INFO] Loading TimeCommander v2
    02:49:49 [INFO] Loading PurePerms v1.0.2
    02:49:49 [INFO] Enabling VIPSlots v0.0.2
    02:49:49 [INFO] [VIPSlots] VIPSlots Enabled!
    02:49:49 [INFO] Enabling SimpleAuth v1.6.0
    02:49:49 [INFO] [SimpleAuth] Connected to MySQL server
    02:49:49 [INFO] [SimpleAuth] Everything loaded!
    02:49:49 [INFO] Enabling PurePerms v1.0.2
    02:49:49 [INFO] [PurePerms] Set data provider to YAML.
    02:49:49 [INFO] Preparing level "world"
    02:49:49 [INFO] Enabling BanItem v2.1
    02:49:49 [INFO] Enabling essentialsTP v1.0.9
    02:49:49 [INFO] [essentialsTP] essentialsTP+ loading...
    02:49:49 [INFO] [essentialsTP] [INFO] loading [config.yml]....
    02:49:49 [INFO] [essentialsTP] [INFO] loading [config.yml] DONE
    02:49:49 [INFO] [essentialsTP] essentialsTP+ loaded!
    02:49:49 [INFO] Enabling PeacefulSpawn v2.4
    02:49:49 [INFO] Enabling TimeCommander v2
    02:49:49 [WARNING] RuntimeException: "Invalid argument supplied for foreach()" (E_WARNING) in "/timecommander.phar/src/LDX/TimeCommander/Main" at line 17
    02:49:49 [INFO] Disabling TimeCommander v2
    02:49:49 [INFO] Starting GS4 status listener
    02:49:49 [INFO] Setting query port to 11491
    02:49:49 [INFO] Query running on 0.0.0.0:11491
    02:49:49 [INFO] Default game type: CREATIVE
    02:49:49 [INFO] Done (0.98s)! For help, type "help" or "?"
    02:49:52 [INFO] b3builder[/204.11.229.35:39338] logged in with entity id 1 at (world, 127.9043, 68, 127.8533)
    02:49:53 [INFO] b3builder joined the game
    stop
    02:50:03 [INFO] CONSOLE: Stopping the server...
    02:50:03 [INFO] Disabling BanItem v2.1
    02:50:03 [INFO] Disabling essentialsTP v1.0.9
    02:50:03 [INFO] [essentialsTP] essentialsTP+ Disabled (improved)
    02:50:03 [INFO] Disabling PeacefulSpawn v2.4
    02:50:03 [INFO] Disabling VIPSlots v0.0.2
    02:50:03 [INFO] [VIPSlots] VIPSlots Disabled!
    02:50:03 [INFO] Disabling SimpleAuth v1.6.0
    02:50:03 [INFO] Disabling PurePerms v1.0.2
    02:50:04 [INFO] b3builder has left the game
    02:50:04 [INFO] b3builder[/204.11.229.35:39338] logged out due to Server closed
    02:50:04 [INFO] Unloading level "world"
    02:50:04 [INFO] Stopping other threads
    zend_mm_heap corrupted
    [[email protected] 431]$ ls plugins/
    BanItem BanItem_v2.1.phar essentialsTP essentialsTP.phar PeacefulSpawn_v2.4.phar PureChat PurePerms pureperms.phar SimpleAuth simpleauth.phar TimeCommander timecommander.phar VIPSlots vipslots.phar
    [[email protected] 431]$ rm -rf plugins/BanItem*
    [[email protected] 431]$ ./start.sh
    02:50:17 [INFO] Starting Minecraft: PE server version v0.10.4 alpha
    02:50:17 [INFO] Loading pocketmine.yml...
    02:50:17 [INFO] Loading server properties...
    02:50:17 [INFO] Starting Minecraft PE server on 0.0.0.0:11491
    sh: ifconfig: command not found
    02:50:17 [INFO] This server is running PocketMine-MP version 1.4.1dev-936 "絶好(Zekkou)ケーキ(Cake)" (API 1.11.0)
    02:50:17 [INFO] PocketMine-MP is distributed under the LGPL License
    02:50:18 [INFO] Loading essentialsTP v1.0.9
    02:50:18 [INFO] Loading PeacefulSpawn v2.4
    02:50:18 [INFO] Loading VIPSlots v0.0.2
    02:50:18 [INFO] Loading SimpleAuth v1.6.0
    02:50:18 [INFO] Loading TimeCommander v2
    02:50:18 [INFO] Loading PurePerms v1.0.2
    02:50:18 [INFO] Enabling VIPSlots v0.0.2
    02:50:18 [INFO] [VIPSlots] VIPSlots Enabled!
    02:50:18 [INFO] Enabling SimpleAuth v1.6.0
    02:50:18 [INFO] [SimpleAuth] Connected to MySQL server
    02:50:18 [INFO] [SimpleAuth] Everything loaded!
    02:50:18 [INFO] Enabling PurePerms v1.0.2
    02:50:18 [INFO] [PurePerms] Set data provider to YAML.
    02:50:18 [INFO] Preparing level "world"
    02:50:18 [INFO] Enabling essentialsTP v1.0.9
    02:50:18 [INFO] [essentialsTP] essentialsTP+ loading...
    02:50:18 [INFO] [essentialsTP] [INFO] loading [config.yml]....
    02:50:18 [INFO] [essentialsTP] [INFO] loading [config.yml] DONE
    02:50:18 [INFO] [essentialsTP] essentialsTP+ loaded!
    02:50:18 [INFO] Enabling PeacefulSpawn v2.4
    02:50:18 [INFO] Enabling TimeCommander v2
    02:50:18 [WARNING] RuntimeException: "Invalid argument supplied for foreach()" (E_WARNING) in "/timecommander.phar/src/LDX/TimeCommander/Main" at line 17
    02:50:18 [INFO] Disabling TimeCommander v2
    02:50:18 [INFO] Starting GS4 status listener
    02:50:18 [INFO] Setting query port to 11491
    02:50:18 [INFO] Query running on 0.0.0.0:11491
    02:50:18 [INFO] Default game type: CREATIVE
    02:50:18 [INFO] Done (1.005s)! For help, type "help" or "?"
    02:50:21 [INFO] b3builder[/204.11.229.35:47846] logged in with entity id 1 at (world, 127.9043, 68, 127.8533)
    02:50:22 [INFO] b3builder joined the game
    02:50:34 [INFO] <b3builder> works
    stop
    02:50:37 [INFO] CONSOLE: Stopping the server...
    02:50:37 [INFO] Disabling essentialsTP v1.0.9
    02:50:37 [INFO] [essentialsTP] essentialsTP+ Disabled (improved)
    02:50:37 [INFO] Disabling PeacefulSpawn v2.4
    02:50:37 [INFO] Disabling VIPSlots v0.0.2
    02:50:37 [INFO] [VIPSlots] VIPSlots Disabled!
    02:50:37 [INFO] Disabling SimpleAuth v1.6.0
    02:50:37 [INFO] Disabling PurePerms v1.0.2
    02:50:37 [INFO] b3builder has left the game
    02:50:37 [INFO] b3builder[/204.11.229.35:47846] logged out due to Server closed
    02:50:37 [INFO] Unloading level "world"
    02:50:37 [INFO] Stopping other threads
    [[email protected] 431]$ cat plugins/PurePerms/groups.yml
    ---
    Guest:
    isDefault: true
    inheritance: []
    permissions:
    - -essentialstp.command.delwarp
    - -essentialstp.command.setspawn
    - -essentialstp.command.setwarp
    - -pocketmine.command.me
    - pocketmine.command.list
    - pperms.command.ppinfo
    worlds: []
    Member:
    inheritance:
    - Guest
    permissions: []
    worlds: []
    Builder:
    inheritance:
    - Guest
    permissions: []
    worlds: []
    Mod:
    inheritance:
    - Guest
    permissions: []
    worlds: []
    Admin:
    inheritance:
    - Guest
    permissions: []
    worlds: []
    CoOwner:
    inheritance:
    - Guest
    permissions: []
    worlds: []
    Owner:
    inheritance: []
    permissions:
    - essentialstp.command
    - pocketmine.command
    - pperms.command
    - simpleauth.command
    worlds: []
    ...
    64FF00 likes this.
  8. b3builder
    Offline

    b3builder Active Member Plugin Developer

    Joined:
    Oct 6, 2014
    Posts:
    66
    Plugins:
    2
    Minecraft User:
    b3builder
    In the first session I get permission error when using /login, and in the second session after removing BanItem I can use /login. I'm completely lost on why. The user b3builder is OP, if that matters.
    64FF00 likes this.
  9. b3builder
    Offline

    b3builder Active Member Plugin Developer

    Joined:
    Oct 6, 2014
    Posts:
    66
    Plugins:
    2
    Minecraft User:
    b3builder
    Some more data that possibly could be needed to help me track this down:

    [[email protected] 431]$ cat plugins/PurePerms/config.yml
    ---
    # Sets the data provider for PurePerms :3
    # - yaml, sqlite3
    data-provider: yaml

    # Setting this option will allow you to use per-world permissions
    # - true / false
    enable-multiworld-perms: false

    # Broadcasts this message when a player's group has been changed
    # - STRING
    msg-on-group-change: Your group has been changed into a / an %group%!

    # Gives all permissions to ops instead of giving their original group and user permissions
    # - true / false
    override-op-permissions: false
    ...


    [[email protected] 431]$ cat plugins/SimpleAuth/config.yml
    # Default config for SimpleAuth plugin

    #Sets the data provider (yaml, sqlite3, mysql, none).
    #Only use none when there is another plugin that will integrate its dataProvider with SimpleAuth
    #Be aware that data is not automatically moved between data providers.
    dataProvider: mysql

    #For MySQL:
    dataProviderSettings:
    host: XXX
    port: XXX
    user: XXX
    password: XXX
    database: XXX


    #If enabled, existing logged-in accounts won't be kicked if a new player joins with the same name
    forceSingleSession: true

    #Sets the minimum amount of characters to be used when registering a new account
    minPasswordLength: 2

    #If enabled, accounts that are using the same IP when logging in again will be automatically authenticated
    authenticateByLastIP: false

    #If enabled, will set all the permissions for simleauth.command.register to false
    disableRegister: false

    #If enabled, will set all the permissions for simleauth.command.login to false
    disableLogin: false

    #Number of seconds to wait for a player to be authenticated. If false, disables the timeout
    #TODO
    authenticateTimeout: 120


    [[email protected] 431]$ cat plugins/PureChat/config.yml
    ---
    # Allows you to use per-world chat formats
    # - true / false
    enable-multiworld-formats: false

    # A list of all PurePerms groups
    # If you have FactionsPro installed, add %faction% anywhere
    groups:
    Guest:
    default: "[Guest] %user_name% > %message%"
    worlds: []
    Member:
    default: "[Member] %user_name% > %message%"
    worlds: []
    Builder:
    default: "[Builder] %user_name% > %message%"
    worlds: []
    Mod:
    default: "[Mod] %user_name% > %message%"
    worlds: []
    Admin:
    default: "[Admin] %user_name% > %message%"
    worlds: []
    CoOwner:
    default: "[CoOwner] %user_name% > %message%"
    worlds: []
    Owner:
    default: "[Owner] %user_name% > %message%"
    worlds: []
    ...




    Please not that purechat.phar is missing intentionally. It has been removed to turn of PureChat.
    64FF00 likes this.
  10. b3builder
    Offline

    b3builder Active Member Plugin Developer

    Joined:
    Oct 6, 2014
    Posts:
    66
    Plugins:
    2
    Minecraft User:
    b3builder
    If I remove essentialsTP* it also works. Am I hitting some cap on how many plugins I can have...? Doesn't seem right...?
    64FF00 likes this.
  11. b3builder
    Offline

    b3builder Active Member Plugin Developer

    Joined:
    Oct 6, 2014
    Posts:
    66
    Plugins:
    2
    Minecraft User:
    b3builder
    So, I tar the whole server and move it to a different server. And then it works. No changes to anything. So then I figured it might be an error with the PHP build (the other server has different libc version) so I rebuild PHP for the original server, but nothing.

    So lost on this...
    64FF00 likes this.
  12. b3builder
    Offline

    b3builder Active Member Plugin Developer

    Joined:
    Oct 6, 2014
    Posts:
    66
    Plugins:
    2
    Minecraft User:
    b3builder
    So, then I install DevTools and extractplugin SimpleAuth to try to debug the error. Well, the unpacked version of SimpleAuth works :/
    64FF00 likes this.
  13. b3builder
    Offline

    b3builder Active Member Plugin Developer

    Joined:
    Oct 6, 2014
    Posts:
    66
    Plugins:
    2
    Minecraft User:
    b3builder
    Couldn't recreate the bug outside of that server. I'm giving up. I doubt anyone else will ever see this bug, but my "solution" is below:

    extractplugin SimpleAuth

    In SimpleAuth.php lin 122 uncomment "removePermissions" like this:

    public function deauthenticatePlayer(Player $player){
    if(!$this->isPlayerAuthenticated($player)){
    return true;
    }

    $this->getServer()->getPluginManager()->callEvent($ev = new PlayerDeauthenticateEvent($this, $player));
    if($ev->isCancelled()){
    return false;
    }

    $attachment = $player->addAttachment($this);
    # $this->removePermissions($attachment);
    $this->needAuth[spl_object_hash($player)] = $attachment;

    $this->sendAuthenticateMessage($player);

    return true;
    }


    Pretty crude fix, but I don't know what else to do... :/
    64FF00 likes this.
  14. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
  15. TonyDroidd
    Offline

    TonyDroidd Active Member

    Joined:
    Sep 6, 2014
    Posts:
    180
    Minecraft User:
    TonyDroidd
    Please, add the option to change the prefix of the groups :c like in xPermissions
    64FF00 likes this.
  16. Alcatraz_Du
    Offline

    Alcatraz_Du New Member Plugin Developer

    Joined:
    Dec 30, 2014
    Posts:
    16
    Plugins:
    2
    Player can use time set. and time stop
    I don't give him any permission,
    And a Player can use essentialSTP's setwarp,I don't give him permission
    64FF00 likes this.
  17. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    PureChat
  18. Alcatraz_Du
    Offline

    Alcatraz_Du New Member Plugin Developer

    Joined:
    Dec 30, 2014
    Posts:
    16
    Plugins:
    2
    When Start server player's permission is disabled,I need to setgroup again,
    Almost ,player's permission didn't load at all.
    Please fix this
  19. Alcatraz_Du
    Offline

    Alcatraz_Du New Member Plugin Developer

    Joined:
    Dec 30, 2014
    Posts:
    16
    Plugins:
    2
    After set xxx Admin ,Permissions didn't save into Player/xxx.yml
    Permissions[]

    So when I restart server,It's disabled.
    Hey guy please fix it
  20. TonyDroidd
    Offline

    TonyDroidd Active Member

    Joined:
    Sep 6, 2014
    Posts:
    180
    Minecraft User:
    TonyDroidd
    In purechat no is possible change the prefix for an group!
    64FF00 likes this.
Thread Status:
Not open for further replies.

Share This Page

Advertisement