-
Notifications
You must be signed in to change notification settings - Fork 0
GettingStarted
KK edited this page Aug 15, 2022
·
5 revisions
- Create a new Minecraft server running a version of Spigot, it should work on all spigot servers v1.13.2+.
This has been tested, and confirmed working, on:
- v1.13:
- Paper v1.13.2
- v1.14:
- Paper v1.14.4
- v1.15:
- Paper v1.15.2
- v1.16:
- Paper v1.16.5
- v1.17:
- Paper v1.17.1
- v1.18:
- Paper v1.18.1
- Paper v1.18.2
- Magma v1.18.2
- v1.19:
- Paper v1.19
Note: versions, and distributions not listed may work, but have not been tested.
If you wish to a specific distro/version tested, please ask in the StreamerBot Discord Server.
- Put the Plugin in the server's plugins folder, and restart the server.
- Set up the config file in the server's plugins folder.
Host: The IP/Domain of the minecraft server
- All incoming connections will need to connect through this supplied host.
- Eg:
host: localhost,port: 8887, then to connect to the server, usews://localhost:8887Port: The Port that the WebSocket Server will run on- If this port is already in use, it will throw a
java.net.BindExceptionException. If this occurs, please change the port in the config, and restart the server. Debug: Toggle debug logs- If true, logs used to help debug will be printed in the server console. Log Failed Auth: Log when a client fails authentication
- If true, whenever a client attempts to connect, and fails to authenticate, a message will be logged in the server console. Auth: The authentication token used to verify clients
- When connecting, the client will be asked to authenticate, this token will need to be supplied as a response.
- If this is left blank (
auth:) then authentication will not be asked, or required. Blacklist: Commands that are not allowed to be ran by clients
- 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