Created
October 16, 2014 20:43
-
-
Save rbrick/90422f3e49911060d03f to your computer and use it in GitHub Desktop.
Team claim format. Contains two possible formats: One the claims are stored in the team file, the other it is stored in a separate file that stores a serialized TeamClaim object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"team_claims": [ | |
{ | |
"owning_team": "Xetha", | |
"maxX": 10, | |
"minX": -10, | |
"maxY": 256, | |
"minY": 0, | |
"maxZ": 10, | |
"minZ": -10, | |
"flags": [ | |
{ | |
"build": false | |
}, | |
{ | |
"open_chest": true | |
}, | |
{ | |
"open_doors": true | |
} | |
] | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"home": "0,90,0,0,0", | |
"name": "some_team", | |
"friendlyFire": "true", | |
"members": [ | |
"rbrick" | |
], | |
"managers": [ | |
"Dawhn" | |
], | |
"leader": "SasukeGabe", | |
"claims": [ | |
{ | |
"maxX": 10, | |
"minX": -10, | |
"maxY": 256, | |
"minY": 0, | |
"maxZ": 10, | |
"minZ": -10, | |
"flags": [ | |
{ | |
"build": false | |
}, | |
{ | |
"open_chest": true | |
}, | |
{ | |
"open_doors": true | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I feel the first one would be easier to load into memory. Then again the second one will allow for multiple claims(The first one should have something like "team_name" : { "claims" : [ {// information here. } ] } ) but I digress.