Closed 2kai2kai2 closed 3 years ago
working on database functions now
working on world group commands (definitely op-only)
World groups will be stored like this in the DB
Mongo Document:
"worldgroup_id": "Random UUID"
"worlds": ["world", "world_nether", "world_the_end"],
"claimable": ["world"],
"claims": {
"1uuid-uuid-uuid-uuid1": [{"x": 1, "z": 1, "world": "world"}, {"x": 1, "z": 2, "world": "world"}]
},
"teams": [
{"name": "thecoolteam", "members": ["uuidabcdefg", "uuid1234567", "uuidasdfghj"], "leader": "uuidabcdefg"}
]