PatchBukkit/proto/patchbukkit/events/player_events.proto
Alexander Medvedev f347ddfdab some more stuff
2026-07-26 11:36:48 +02:00

34 lines
687 B
Protocol Buffer

syntax = "proto3";
package patchbukkit.events;
import "patchbukkit/common/types.proto";
option java_multiple_files = true;
option java_package = "patchbukkit.events";
message PlayerJoinEvent {
patchbukkit.common.UUID player_uuid = 1;
string join_message = 2;
}
message PlayerQuitEvent {
patchbukkit.common.UUID player_uuid = 1;
string quit_message = 2;
}
message PlayerInteractEvent {
patchbukkit.common.UUID player_uuid = 1;
string action = 2;
int32 clicked_x = 3;
int32 clicked_y = 4;
int32 clicked_z = 5;
string block_face = 6;
string hand = 7;
}
message PlayerGameModeChangeEvent {
patchbukkit.common.UUID player_uuid = 1;
string new_gamemode = 2;
}