8000 GitHub - Nat3z/mc-discord-bot
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Nat3z/mc-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft Discord Bot (Starter)

Hello, world! This is Discord Bot is primarily used for admin purposes, specifically for managing a Minecraft server.

Features

  • /start - Allows anyone on your Discord server to start it.
  • /stop - Stops your Minecraft server.
  • /world (set/add/remove/list) - Manages world information and lets the admin switch the world.
  • /server (setup/select/remove) - Manages server information and lets the admin switch the server.
  • /mod (add/remove/list) - Manages mods/plugins on the server and lets the admin add/remove mods/plugins.

Planned Features

  • Modpack import
  • Better configurations
  • Docker Support

Installation/Setup

  1. Clone the repo
$ git clone https://github.com/Nat3z/mc-discord-bot.git
  1. Install bun
$ npm install -g bun
  1. Install dependencies
$ bun install
  1. Copy the .env.example in the parent directory and rename to .env.
  2. Enable Discord Developer Mode Guide
  3. Go to the Developer Portal and create a new application.
  4. Go to the "Bot" section of your app and create a new bot.
  5. Click "Reset Token" and copy paste the token to the .env file.
  6. Go to your Discord Server of choice and right click the server on the sidebar. Click "Copy Server ID" and paste into the "GUILD_ID" field.
  7. Go to the main channel where the bot will operate and right click the channel. Click "Copy Channel ID" and paste into the "GENERAL_CHANNEL_ID" field in .env
  8. Right Click on your name and click "Copy User ID." Paste that into the "ADMIN_ID" field in .env
  9. Select a number for how long you want it to take before the server shuts down if no one is online and insert that into the "MINUTES_BEFORE_SHUTDOWN_INACTIVE" field in .env
  10. Run this command in the parent directory to start the Discord Bot.
$ bun run app.ts
  1. Profit!

THIS DISCORD BOT IS STILL IN DEVELOPMENT. MANY FEATURES WILL CHANGE AND INITIAL SETUP WILL SIMPLIFY.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0