@@ -34,16 +34,19 @@ message S2CPlotInfo {
3434 MISCELLANEOUS = 12 ; // Plots that don't really fit the other categories!
3535 }
3636
37+ message Region {
38+ Location min = 1 ; // The minimum corner of the region.
39+ Location max = 2 ; // The maximum corner of the region.
40+ }
41+
3742 int32 id = 1 ; // The identifier of the plot.
3843 string name = 2 ; // The name of the plot as a serialized component in JSON format.
3944 string owner_name = 3 ; // The name of the owner of the plot.
4045 string owner_uuid = 4 ; // The UUID of the owner of the plot (36 characters including dashes).
4146 int32 plot_size = 5 ; // The size of the plot (1 = Basic, 2 = Large, 3 = Massive, 4 = Mega).
42- int32 plot_min_x = 6 ; // The minimum X coordinate of the plot.
43- int32 plot_min_z = 7 ; // The minimum Z coordinate of the plot.
44- double spawn_pos_x = 8 ; // The spawn X coordinate of the plot.
45- double spawn_pos_y = 9 ; // The spawn Y coordinate of the plot.
46- double spawn_pos_z = 10 ; // The spawn Z coordinate of the plot.
47+ Region build_region = 6 ; // The build region of the plot.
48+ Region code_region = 7 ; // The code region of the plot.
49+ Region spawn_pos = 8 ; // The spawn location of the plot.
4750 bool is_owner = 11 ; // Whether the player is the owner of the plot.
4851 bool is_developer = 12 ; // Whether the player has developer permissions on the plot, is an administrator, or is the support member in a session.
4952 bool is_builder = 13 ; // Whether the player has builder permissions on the plot, is an administrator, or is the support member in a session.
0 commit comments