Implements world-specific permissions

Accounts for world specifiers where necessary
Makes the reload command work?
Stores the world as part of temporary permissions
Fixes sign break protection
Allows sign interaction with both right- and left-click
Fixes temporary permissions sometimes colliding
Cleans the main class a bit
Adds a "star" permission
Adds missing check for the use permission
This commit is contained in:
2022-01-15 14:49:46 +01:00
parent 112fd0d53d
commit 67e967a264
11 changed files with 243 additions and 99 deletions

View File

@ -18,6 +18,12 @@ commands:
description: Used for all permission sign commands
usage: /<command> <about/create/cancel/reload> - Used for all permission sign commands
permissions:
permissionsigns.*:
description: Grants all PermissionSigns permissions
default: false
children:
permissionsigns.use: true
permissionsigns.admin: true
permissionsigns.use:
description: Allows players to use the permission signs
default: true