nikoskon2003 / WarpsPro

A simple warp plugin for PocketMine-MP
2 stars 5 forks source link

add #4

Closed mikeygio10 closed 5 years ago

mikeygio10 commented 5 years ago

add a way to set permissons for a warp

nikoskon2003 commented 5 years ago

Can you explain it further?

nikoskon2003 commented 5 years ago

I can intergrate permissions like this: check if Player has permission: warpspro.command.warp."warp name" every player should have the permission, unless it is removed from another plugin, like PurePerms. If you want a more complex system built-in the plugin, I could make it. Please share your thoughts, nikoskon

mikeygio10 commented 5 years ago

yes if you could i would be great

mikeygio10 commented 5 years ago

what i mean is. If i could set it so you can only teleport to a warp if you have the perm to do warpspro.command.warp. [Then the name of that warp] That would be awesome

nikoskon2003 commented 5 years ago

You can remove warp permission from a player with this command in PurePerms: /setuperm [username] -warpspro.command.warp[warpname] You can remove warp permission from a group with this command in PurePerms: /setgperm [groupname] -warpspro.command.warp[warpname] In addition, players without the permission to warp, will not see that specific warp in the "/warp" command.

I have submitted the update to poggit.pmmp.io and hopefully it will be accepted soon! Have a nice day, nikoskon

mikeygio10 commented 5 years ago

Thank you!