跳到正文

Lan World Discord Integration

A lightweight mod that allows lan or singleplayer worlds to be connected to your discord server. Works on multiplayer servers too!

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Lan World Discord Integration

It is a mod that allows the user to link their singleplayer/lan world or a multiplayer server to a channel in a discord server, only the host should have this mod installed.

Installation Guide

Installing the mod

First, drag the mod file into your mod folder. Fabric api is required for all versions. Use fabric version v0.16.14 or above.

If you are using forge, install Sinytra Connector and Forgified fabric api.

image

Now run the game, a file with the name lan-world-discord-integration.toml should be generated in your config folder:

image

After this step, you can close Minecraft and start setting up the discord bot.

Discord Bot setup

  1. In discord developer portal, click new applications.

image

Then check the following permissions:

image
image
image

Now copy the link below and paste it in a new tab.

image
image

If you can’t add the bot to your discord server, it could be because you don’t have the Manage Server permission in your discord server.
After your bot is in your server, time to set it up in Minecraft.

Configuring the config file

Go to the bot page in developer portal and click Reset Token:

image

Then copy it.

image

Open lan-world-discord-integration.toml, paste the token in like this, make sure you save the file too.

image

Now go to your discord settings, in Advanced section, enable developer mode.

image

Go to your server and right click the channel you want the bot to be at, then click Copy Channel Id

image

Now paste the channel id in like this in lan-world-discord-integration.toml, make sure to save the file.

image

Now you can start Minecraft, once you enter a world, the bot should start automatically. I will add a command in game to allow the user to start and stop the bot in the future I promise.

This is what it should look like once it started running normally:

image
image

Now enjoy your simple Minecraft-Discord messenger!

-BackslashTrash, 2025-07-25

常见问题

Lan World Discord Integration 支持哪些 Minecraft 版本?

Lan World Discord Integration 支持 Minecraft Java 版 1.20.1–1.20.6,共 6 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Lan World Discord Integration 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

BackslashTrash 的其他作品

查看全部 →