Commit Graph

5 Commits

Author SHA1 Message Date
Teriuihi ff05856494 Fixed key storage access in KeyStorage.java
Fix the retrieval and saving of keys by updating the path format used in config.getInt and config.set methods.
2024-10-04 21:35:43 +02:00
Teriuihi 5a7b9859cd Fix NPE in key configuration, fixed tab completion
Added missing key mapping to prevent NullPointerException when no UUIDs are present in KeyStorage. Also adjusted tab completion logic in Key.java to handle cases with more than one argument.
2024-10-04 21:24:49 +02:00
Teriuihi d43f269c22 Fix NPE in key configuration, fixed tab completion
Added missing key mapping to prevent NullPointerException when no UUIDs are present in KeyStorage. Also adjusted tab completion logic in Key.java to handle cases with more than one argument.
2024-10-04 21:19:53 +02:00
Teriuihi ad9a3491eb Rename config file in KeyStorage constructor
Changed the configuration file from "messages.yml" to "key_storage.yml". This update fixes a bug where it was writing to the wrong file.
2024-10-04 21:15:02 +02:00
Teriuihi 3c34707944 Add system to track keys given and related command for players
Introduces `KeyStorage` for handling keys and their persistence. Added `Key` subcommand to allow players to receive their keys. Updated configuration files and messages to support the new feature.
2024-10-04 20:53:54 +02:00