.gitignore | ||
bun.lockb | ||
client.ts | ||
dotproto.ts | ||
index.ts | ||
inspect-dump.ts | ||
LICENSE | ||
package.json | ||
pianoverse.proto | ||
pianoverse_pb.ts | ||
README.md | ||
tsconfig.json |
pianoverse.net protodef's and client
This contains the protocol definitions for pianoverse.net. Reversed from using protobuf_inspector on the packets sent through server and client.
Requirements
Contact
Please contact me on Discord @fucksophie. I'm in the pianoverse discord. You can also find me elsewhere.
Example
The general API is styled after MPP clients, which Pianoverse has quite a lot of similarities with.
import { Client } from "pianoverse"
const client = new Client("https://pianoverse.net");
client.on("open", () => {
client.setRoom("Lobby")
client.setProfile("My Bot!")
})
client.on("message", (user, content) => {
if(content == "!help") {
client.message("Hi :P")
}
})