Giter Site home page Giter Site logo

lillyschramm / minecord Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 78 KB

A Spigot Plugin that connects your server chat with a discord channel.

License: MIT License

Java 100.00%
minecraft minecraft-plugin discord dicord-bot spigot spigot-plugin papermc papermc-plugin minecraft-server

minecord's Introduction

Minecord

A Spigot Plugin that connects your server chat with a discord channel.

Features

  • Connects your in game chat with a channel on your discord server.
    img
  • Displays the current player count.
    img
  • Link your in-game username to your discord account.

Requirements

  • A minecraft spigot/paper server with the version 1.18+
  • A discord bot token. (How to get one is described in the next section)
  • A discord server that you have admin access to

Installation

Getting the Bot Token

  • Open the discord developer portal at https://discord.com/developers/applications
  • Click on 'New Application'
  • Give it a name you like. The name of the application does set the bots' name so just chose one you like.
  • Take note of the Application ID shown. It looks like this: 95997070327569420.
  • Then navigate to 'Bot' and click 'Add Bot'.
  • Click Reset Token. Take note of the generated token as this will be the one you need for the plugin to work.
  • Scroll down and toggle Message Content Intent to be active.
  • Now visit https://discord.com/api/oauth2/authorize?client_id=<YOUR APPLICATION ID>&scope=bot&permissions=2048.
  • There you just chose the server the bot should get added too.
  • DONE! Now you should see your bot as an Offline user.

Plugin Setup

  • Download the latest release
  • Put it in your servers plugins/ folder
  • Start your server one. The plugin should crash because it has no token.
  • Edit the generated config.yml in the plugins/Minecord folder.
  • Replace 'aToken' with your discord bot token.
  • You may also change the channel_name keep in mind that a text channel with the set name must exist on your server.
  • Restart the server.
  • DONE! Now your bot should be online, and it should mirror the contents of your servers.

Updating

Just replace the minecord-x.x.x.jar file with the latest one

Commands

  • /clearDiscordBotCache Clears the Discord bot cache. Intended to be used in case of some odd desyncs.
  • /linkDiscord Link your discord account to your minecraft name.
  • /unlinkDiscord Remove the link to your discord account.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.