InnateAlpaca / BedrockBridge

BedrockBridge provides Bedrock Dedicated Servers with connection to discord for chat and commands
https://bedrockbridge.esploratori.space
MIT License
36 stars 4 forks source link
bedrock-addons bedrock-dedicated-server discord discord-bot minecraft

BedrockBridge

BedrockBridge is a minecraft addon that connects your bedrock-server to your discord-server. This solution is intended especially for BDS (Bedrock Dedicated Server) but it can also be used on any bedrock server. All you need to do in order to use this bot is inviting the bot to your discord-server, and installing the addon in your bedrock-server. That's all you need to do. (check installation for more details about this procedure).

Official Discord Server Here you can get help and download the latest version of the pack, find a full installation tutorial, try the pack without installing it on our test-server. You can also contact us by email.

Is it up to date? So far supported versions are: 1.19.50, 1.19.60, 1.19.70, 1.19.80, 1.20.0, 1.20.10, 1.20.30, 1.20.40, 1.20.50, 1.20.60, 1.20.70, 1.20.80, 1.21.0, 1.21.2, 1.21.20, 1.21.30(latest), and minor following updates. You need to install the right addon version for each mc-version (check the tags for the right one).

Feel free also to check our FAQ and DOCS.

And if you want to donate you can do it here!

Installation

Short version (for expert users only) is this:

If you are not an expert user you may want to take a look at the following guide. More info about installing addons on servers (in general) can be found here. If you are having troubles setting up the addon you can also use the auto-installer tool!

Don't forget to check our YouTube tutorials: installation on hosted servers, and on Aternos!

Discord setup

  1. Invite BedrockBridge discord bot to your discord-server using this link
  2. Choose the channel you want to have bedrock-chat streamed to and run /setup in it.
  3. Request a new token by running /new-token. Keep it safe.

If the messages are not streamed and your server is connected, give the bot admin permissions, then run /setup. Successful setup is needed in order to stream chat. If you need help don't hesitate to contact staff on the official discord server.

Bedrock setup

  1. Download BedrockBridge addon.
  2. Install BedrockBridge addon on your world, making sure to enable experiments (beta API) and ignore console error logs[^1].
  3. Upload the world back to your server.
  4. Navigate to <main folder>/config/default and open permissions.json. Add the following line to the file "@minecraft/server-net" making sure that it respects JSON format[^2].
  5. Start your server, join the game, and run /scriptevent esploratori:setup. Now fill the form.

Note: If you are not op or if cheats are disabled, in order to open the setup form please run the following command in server-console while you are connected to the server: execute as <your username> run scriptevent esploratori:setup (e.g. execute as InnateAlpaca run scriptevent esploratori:setup). Now close the chat and fill the form. [^1]: The error is caused by usage of modules that are server-only and can't be used in single world. The world will have no issue when running on a server. [^2]: You can use this tool to verify if the modified file is valid, if it's invalid you are most surely missing some comma or quote.

Check the documents in order to see what commands you can run form discord, and enjoy!!

Aternos

New Installation for Aternos users (since bridge 1.3.0)

If you have problems you can refer to the new youtube tutorial, Part IV chapter.