BlazeSMP/src/main/resources/storage/protected_blocks.json
DaTTV d724d64334 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.
2025-02-16 18:35:41 +01:00

13 lines
No EOL
173 B
JSON

{
"blocks": [
{
"owner": "uuid",
"key": "uuid",
"location": {
"x": "blockx",
"y": "blocky",
"z": "blockz"
}
}
]
}