-
Notifications
You must be signed in to change notification settings - Fork 0
GettingStarted
KK edited this page Feb 20, 2022
·
5 revisions
- Connect to the WebSocket Server
- If you don't know how to do this please read This Wiki
- Once you have connected to the WebSocket Server, you will receive a message from the Server.
- If you receive a message from the Server, you will see one the following:
Authentication not required...Authentication needed... Send as "Bearer {Auth token}"
- If you received the 2nd message, you will need to authenticate with the Server.
- You will need to send the
Bearertoken to the Server. - The Server will send back a message with the
Authentication Status, you will see one of the following:Successfully Authenticated...Incorrect Authentication Bearer token supplied!
- If you received the 2nd message, your token that you sent was incorrect. Otherwise, you have successfully authenticated with the Server.
- You will need to send the
- You will now be able to send commands to the Server.
There are a few commands that you can send to the Server.
- Minecraft commands
- These commands are default commands that Minecraft has, and Plugin commands installed on the Server.
- These commands are sent as
Command {Command}- For example,
Command say Hello World- This will send the command
say Hello Worldto the Server, and will result inHello Worldwill be sent to all players.
- This will send the command
- For example,
- Event commands
- These commands allow your client to opt-in/out of events on the server
- These commands are sent as
Listen {Event}andIgnore {Event} - For more information on events, please see the Events page.
- These commands are sent as