udu3324 / mcChatRelay

mcChatRelay is a java application that relays messages from a server to discord.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

icon

mcChatRelay

mcChatRelay

mcChatRelay is a java application that relays messages from a server to discord. Minecraft will be required to run a instance first, so the program can hook to its latest.log file. You can also parse messages sent in chat to send special messages to discord. For example, events, giveaways, alerts, and more. It is recommended to have some type of reconnect mod to keep the Minecraft instance online.

Pros

mcChatRelay can work on about every Minecraft version. It is as long as if there is a log fie it can hook up to and read off of.

Cons

The only downtime mcChatRelay would have is minecraft itself go offline or have an invalid session.

Dependencies

In the repository, dependencies are already installed and are in a package called ExternalLibraries. All you need is to have JDK 8 installed and have Intellij IDEA to build and run.

Dependencies/External Libraries Used

JDA 4.2.1
Apache Commons IO 2.8.0

Setup

1, Make sure you have JDK 8
2, Clone the repository and open it in Intellij IDEA
3, Open EditValuesHere.java (in src/pkg/Values)
4, Change the 6 variables (mcLogLocation, token, status, prefix, staffRoleID, and minecraftChatChannel)
5, Run Main.java (in src/pkg/Main)

After Setup

After you set up and ran mcChatRelay, you will need to do the session command in a channel or in the bot's DMs.

About

mcChatRelay is a java application that relays messages from a server to discord.

License:MIT License


Languages

Language:Java 100.0%