drtshock / PlayerVaults

Player vaults for player players.
GNU General Public License v3.0
87 stars 118 forks source link

Split sign creation permission. #408

Closed andrewkm closed 3 years ago

andrewkm commented 4 years ago

We want to allow our players to set playervaults self signs, however don't want them setting vault signs that open other people's vaults. Currently the only perm being checked is playervaults.signs.use

Please split this to playervaults.signs.use.admin so regular players can't make access signs for other users. (The good news is the signs check permissions and if another player currently makes a /pvsign [username] <#> they still can't use it to open that players vault.)

PS: this double '' in don''t isn't needed, and actually makes it say "don''t" in game :P https://github.com/drtshock/PlayerVaults/blob/1a0fb80aecdf504cc5567c915f6c2627e2f897a6/src/main/java/com/drtshock/playervaults/translations/Lang.java#L37 https://i.imgur.com/myqjIvq.png