New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

bedrocklive

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bedrocklive

Turn your Minecraft streams into interactive TikTok experiences. Connect live stream events directly to your game world.

latest
Source
npmnpm
Version
1.2.3
Version published
Weekly downloads
3
-25%
Maintainers
1
Weekly downloads
 
Created
Source
BedrockLive Logo

BedrockLive

npm version npm downloads GitHub Downloads GitHub stars GitHub license Discord

Turn your Minecraft streams into interactive TikTok experiences. Connect live stream events directly to your game world.

BedrockLive transforms your Minecraft Bedrock streams into fully interactive experiences where your TikTok audience becomes part of the gameplay. Through real-time event binding, viewer actions like sending gifts, following, sharing, or chatting trigger immediate responses in your Minecraft world.

Built specifically for Minecraft Bedrock/Pocket Edition, The system operates through a local server that captures TikTok events and translates them into Minecraft commands, allowing for unlimited creative possibilities in viewer engagement.

Whether you're running building challenges, survival scenarios, or custom game modes, BedrockLive gives you the tools to create interactive content that keeps viewers engaged and encourages participation through the platform's gifting and social features.

🚀 Quick Start

📋 Requirements

  • Minecraft Bedrock/Pocket Edition (Mobile, Windows 10+, Xbox, etc.)
  • TikTok Account with live streaming capability
  • Node.js (LTS recommended) (For Desktop)
  • Termux if you are using Android

💻 Initial Setup

For Desktop Users (Windows/Mac/Linux)

  • Install Node.js

  • Open Terminal/Command Prompt

    • Windows: Press Win + R, type cmd, press Enter
    • Mac: Press Cmd + Space, type terminal, press Enter
    • Linux: Press Ctrl + Alt + T
  • Verify Installation

node --version
npm --version

You should see version numbers for both commands.

For Android Users (Termux)

  • Install Termux

    • Download from F-Droid (recommended)
    • Or from Google Play Store
  • Setup Termux Environment

pkg update && pkg upgrade
pkg install nodejs-lts
  • Verify Installation
node --version
npm --version

🛠️ Install BedrockLive

npm install -g bedrocklive
bedrocklive

Local Installation (No Global Install)

npx bedrocklive

From Source (For Developers)

git clone https://github.com/rqinix/BedrockLive.git
cd bedrocklive
npm install
npm start

Follow the interactive prompts:

  • Enter your TikTok username
  • Set the port (default: 3000)
  • Choose whether to wait until you're live
  • Select plugins to activate

Connect Minecraft

In your Minecraft:

Open Minecraft chat and type:

/connect localhost:3000

Start Your TikTok Live Stream

Your Minecraft world is now connected to your TikTok Live stream! 🎉

🚨 Troubleshooting

Connection Issues

Minecraft says "Could not connect":

  • Make sure websocket is enabled in your Minecraft settings
  • Check if BedrockLive is running and shows the correct port
  • Try using your computer's IP address instead of localhost
  • Ensure firewall isn't blocking the connection
  • On mobile, make sure you're on the same WiFi network

TikTok connection fails:

  • Verify your TikTok username is correct
  • Make sure you're currently live streaming
  • Check your internet connection
  • Try restarting BedrockLive

Finding Your IP Address

Windows:

ipconfig

Mac/Linux:

ifconfig

Look for your local IP (usually starts with 192.168.x.x)

🔌 Plugin System

Creating a Plugin

Create a file in plugins/my-plugin/main.ts:

import { BedrockLive } from "../../core/bedrocklive.js";
import { WebcastEvent } from "tiktok-live-connector";

// Plugin metadata - displayed in the plugin list
export const manifest = {
    name: "My Awesome Plugin",
    description: "Does amazing things with TikTok events",
    version: "1.0.0",
    author: "Your Name"
};

// Main plugin function - BedrockLive calls this when the plugin loads
export function plugin(bedrockLive: BedrockLive): void {
    const { tiktok, minecraft } = bedrockLive;

    // ...

}

🌐 TikTok Live Events

BedrockLive uses the TikTok Live Connector library to capture real-time events from TikTok streams. For a complete list of events, see TikTok Live Events.

Most Common Events
EventDescription
WebcastEvent.CHATChat messages
WebcastEvent.GIFTGifts sent to streamer
WebcastEvent.LIKEStream likes/hearts
WebcastEvent.FOLLOWNew followers
WebcastEvent.MEMBERViewers joining
WebcastEvent.ROOM_USERViewer count updates
🔧 Quick Example
export function plugin(bedrockLive: BedrockLive): void {
    const { tiktok, minecraft } = bedrockLive;

    // Basic event handling in a plugin
    tiktok.events.onEvent(WebcastEvent.CHAT, (data) => {
        if (data.comment.toLowerCase() === "tnt") {
            minecraft.requestCommand(`summon tnt ~ ~5 ~`);
        }
    });

    tiktok.events.onEvent(WebcastEvent.GIFT, (data) => {
        if (data.giftId === 5655) { // Rose gift
            minecraft.requestCommand(`summon tnt ~ ~5 ~`);
        }
    });

    // ...
}

When Minecraft connects to BedrockLive:

bedrockLive.minecraftWss.on('connection', () => {
    minecraft.requestCommand(`tellraw @a {"rawtext":[{"text":"§a§lMY PLUGIN§f §aplugin loaded§f!"}]}`);
    minecraft.requestCommand(`playsound random.levelup @a`);
});

🎯 Want to Share Your Plugin?

Created an awesome plugin for BedrockLive? We'd love to feature it!

Submit a pull request to add your plugin to our showcase, or share it in our Discord community. Help other streamers level up their content!

🤝 Contributing

We welcome contributions! Here's how to get started:

  • Fork the repository
  • Create a feature branch: git checkout -b feature/amazing-feature
  • Commit your changes: git commit -m 'Add amazing feature'
  • Push to the branch: git push origin feature/amazing-feature
  • Open a Pull Request

Development Setup

git clone https://github.com/rqinix/BedrockLive.git
cd bedrocklive
npm install
npm run dev

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

📞 Support

⭐ Star this repository if BedrockLive helped your stream! ⭐

Keywords

tiktok

FAQs

Package last updated on 04 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts