Last active
August 11, 2024 01:04
-
-
Save jocopa3/5f718f4198f1ea91a37e3a9da468675c to your computer and use it in GitHub Desktop.
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
// To subscribe to an event, pass this JSON text to the client through the WebSocket: | |
{ | |
"body": { | |
"eventName": "NameOfEvent" // Replace with an event name listed below | |
}, | |
"header": { | |
"requestId": "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxx", // UUID | |
"messagePurpose": "subscribe", | |
"version": 1, // Protocol version (currently 1 as-of 1.0.2) | |
"messageType": "commandRequest" | |
} | |
} |
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
====== Event Names ====== | |
Note: I haven't tested many of these. Most seem to work, but a few may not. | |
AdditionalContentLoaded | |
AgentCommand | |
AgentCreated | |
ApiInit | |
AppPaused | |
AppResumed | |
AppSuspended | |
AwardAchievement | |
BlockBroken | |
BlockPlaced | |
BoardTextUpdated | |
BossKilled | |
CameraUsed | |
CauldronUsed | |
ChunkChanged - Does not work in 1.0.2 | |
ChunkLoaded - Does not work in 1.0.2 | |
ChunkUnloaded - Does not work in 1.0.2 | |
ConfigurationChanged | |
ConnectionFailed | |
CraftingSessionCompleted | |
EndOfDay | |
EntitySpawned | |
FileTransmissionCancelled | |
FileTransmissionCompleted | |
FileTransmissionStarted | |
FirstTimeClientOpen | |
FocusGained | |
FocusLost | |
GameSessionComplete | |
GameSessionStart | |
HardwareInfo | |
HasNewContent | |
ItemAcquired | |
ItemCrafted | |
ItemDestroyed | |
ItemDropped | |
ItemEnchanted | |
ItemSmelted | |
ItemUsed | |
JoinCanceled | |
JukeboxUsed | |
LicenseCensus | |
MascotCreated | |
MenuShown | |
MobInteracted | |
MobKilled | |
MultiplayerConnectionStateChanged | |
MultiplayerRoundEnd | |
MultiplayerRoundStart | |
NpcPropertiesUpdated | |
OptionsUpdated | |
performanceMetrics | |
PackImportStage | |
PlayerBounced | |
PlayerDied | |
PlayerJoin | |
PlayerLeave | |
PlayerMessage | |
PlayerTeleported | |
PlayerTransform | |
PlayerTravelled | |
PortalBuilt | |
PortalUsed | |
PortfolioExported | |
PotionBrewed | |
PurchaseAttempt | |
PurchaseResolved | |
RegionalPopup | |
RespondedToAcceptContent | |
ScreenChanged | |
ScreenHeartbeat | |
SignInToEdu | |
SignInToXboxLive | |
SignOutOfXboxLive | |
SpecialMobBuilt | |
StartClient | |
StartWorld | |
TextToSpeechToggled | |
UgcDownloadCompleted | |
UgcDownloadStarted | |
UploadSkin | |
VehicleExited | |
WorldExported | |
WorldFilesListed | |
WorldGenerated | |
WorldLoaded | |
WorldUnloaded |
How do i subscribe to every eventnames?, i want to debug my event listener
You have to subscribe one by one.
How did you find these event names? Is it in the install directory or something (Windows 10)?
How did you find these event names? Is it in the install directory or something (Windows 10)?
i think it's a packet dump
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do i subscribe to every eventnames?, i want to debug my event listener