@@ -86,15 +86,27 @@ message S2CMultiCodeOperationsResult {
8686 repeated S2CCodeOperationResult results = 1 ; // The results of all operations requested.
8787}
8888
89- // Sent when the player joins a plot or when the line starters change,
89+ // Represents a code line starter in the plot.
90+ message CodeLineStarter {
91+ WorldLocation location = 1 ; // The location of the line starter.
92+ optional S2CChestReference chest = 2 ; // The action reference.
93+ }
94+
95+ // Sent when the player joins a plot,
9096// requires the player to have developer permissions on the plot.
9197message S2CPlotLineStarters {
92- message CodeLineStarter {
93- WorldLocation location = 1 ;
94- optional S2CChestReference chest = 2 ;
95- }
98+ repeated CodeLineStarter line_starter = 1 ; // The line starters on the plot.
99+ }
96100
97- repeated CodeLineStarter line_starter = 1 ;
101+ // Sent when a line starter is added or removed from the plot,
102+ // requires the player to have developer permissions on the plot.
103+ message S2CPlotLineStarterUpdate {
104+ enum Action {
105+ ADD = 0 ; // A line starter was added.
106+ REMOVE = 1 ; // A line starter was removed.
107+ }
108+ CodeLineStarter line_starter = 1 ; // The line starter that was added or removed.
109+ Action action = 2 ; // The action performed.
98110}
99111
100112// Sent when the plot finishes a lag measurement,
0 commit comments