mirror of
https://github.com/Freezy-Studios/BlazeSMP.git
synced 2025-04-21 21:14:04 +02:00
Add JSON storage support for clans, homes, and protected blocks
- Implemented the **Clan** class to load, reload, and save clan data (including chunk locations and ownership) using Gson and the Paper API. - Added the **Homes** class to manage player home locations, converting JSON-stored coordinates into Bukkit `Location` objects. - Created **ProtectedBlocks** and **ProtectedBlock** classes to handle protected block data (owner, key, and block location) from JSON.
This commit is contained in:
parent
e7fc7f199f
commit
d724d64334
12 changed files with 500 additions and 6 deletions
5
.idea/modules/BlazeSMP.main.iml
generated
5
.idea/modules/BlazeSMP.main.iml
generated
|
@ -1,5 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="4">
|
||||
<component name="AdditionalModuleElements">
|
||||
<content url="file://$MODULE_DIR$/../../build/generated/sources/annotationProcessor/java/main">
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../build/generated/sources/annotationProcessor/java/main" isTestSource="false" generated="true" />
|
||||
</content>
|
||||
</component>
|
||||
<component name="FacetManager">
|
||||
<facet type="minecraft" name="Minecraft">
|
||||
<configuration>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue