How is it possible to realize the division of the player's rights permissions the worlds. That is, in every world the player has different permissions. And write all this in mysql database. I'm interested in the structure itself, the code can not give
Hello, I would give a rank to the player when he joins the server (in the only case when the player is new on the server) which I would then save in my MySQL database and then, I would define his permissions (with addAttachment and removeAttachment functions) according to his rank when the player changes world (https://github.com/pmmp/PocketMine-...tmine/event/entity/EntityLevelChangeEvent.php). Finally, you could also change the rank of the player with a command. Keep me informed.
Check out PurePerms, it might be quicker to fix the (broken) multiworld perms there instead of rewriting from scratch. And if you want to write your own anyway, you'll find lots of useful information in there to help you.