Skip to content

Use perm issue #389

@HexedHero

Description

@HexedHero

PlayerVaultsX Version

Run /version playervaults and give us your output.
4.1.2

Server Version

Run /version and give us your output.
Paper-86 (1.14.2)

Logs

Give use your logs by going to logs/latest.log.
Not log related

Details

Please explain the problem.
"playervaults.commands.use"
doesn't work.

When you do /pv 1 for example and you have the permission for one vault but the use perm removed/negated, u can still open the vault when you shouldn't be open to because this is made for a signs only thing.

I looked into the code and I think when you do the command it skips the check for the perm.
the /pv command is meant to call
public static boolean openOwnVault(Player player, String arg, boolean isCommand)
because its run from a command but instead of calls and thus skips the use perm check
public static boolean openOwnVault(Player player, String arg)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions