mirror of
https://github.com/Freezy-Studios/BlazeSMP.git
synced 2025-04-21 17:34:04 +02:00

- 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.
13 lines
No EOL
173 B
JSON
13 lines
No EOL
173 B
JSON
{
|
|
"blocks": [
|
|
{
|
|
"owner": "uuid",
|
|
"key": "uuid",
|
|
"location": {
|
|
"x": "blockx",
|
|
"y": "blocky",
|
|
"z": "blockz"
|
|
}
|
|
}
|
|
]
|
|
} |