5 Commits

Author SHA1 Message Date
9500327613 Adds nullability annotations 2024-01-03 19:21:40 +01:00
67e967a264 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
2022-01-15 14:49:46 +01:00
112fd0d53d Makes temporary permissions work
Saves and loads temporary permissions to/from disk as necessary
Gives players their temporary permissions when joining
Adds an un-used config file
Changes an english string in strings.yml
2022-01-14 20:33:08 +01:00
339aedf2e9 Makes temporary permissions expire as intended
Fixes the sign prefix used on the first line
Makes TemporaryPermission comparable
Replaces some usage of OfflinePlayer with Player
Only removes a permissions if owned by the player
Adds a new thread that looks for expired temporary permissions
2022-01-14 17:53:16 +01:00
52b033c005 Adds Vault integration
Adds the EconomyManager class for handling Vault payments
Adds the unfinished PermissionManager class for granting permissions through Vault
Adds the GPLv3 license
Fixes dependencies
Adds some code for withdrawing money and granting permissions when a sign is clicked
Changes cost to a double to be compliant with Vault
2022-01-14 10:30:44 +01:00