Vault

Vault

7M Downloads

get all permissions a player has

nitnelave opened this issue ยท 7 comments

commented

Hello!
Unless I missed it, there is no method to get the list of permissions a player has. Would it be possible to add this please?

commented

nope, it's not implemented thoughout enough of the permissions systems. You might be able to do something directly in bukkit, but it's going to be slow (and if I tried to do it in bukkit it would be just as slow).

commented

And would there be a way to have metadata? like, trap.max = 5? Because that was what I was trying to achieve.

commented

uh Vault doesn't handle metadata at all.

commented

So there is absolutely no way to have a number permission with Vault? Even a slow way, like checking every permission a player has?

On 1 mai 2012, at 05:27, Nick [email protected] wrote:

uh Vault doesn't handle metadata at all.


Reply to this email directly or view it on GitHub:
#178 (comment)

commented

That's not what permissions are for. You should be using the chat manager (info nodes), or metadata (built into bukkit)

commented

Is there a metadat built in bukkit that would allow me to do this? How does
it work (roughly, I'll get more information later)?

On Tue, May 1, 2012 at 10:24 PM, Nick Minkler <
[email protected]

wrote:

That's not what permissions are for. You should be using the chat manager
(info nodes), or metadata (built into bukkit)


Reply to this email directly or view it on GitHub:
#178 (comment)

commented

I haven't used it, I think it was added in a recent update. I'd check the bukkit docs to get more information about it.