Coder Social home page Coder Social logo

hone's Introduction

Hone

🦴 Minecraft Server Manager on Discord 🦴

Minecraft サーバを Discord の BOT を通じて起動・停止・コマンドの送信ができるクライアントアプリケーションです。

はじめる前に

Discord Developer Portal

Discord Developer Portal にて BOT の設定とアクセストークンの取得が必要です。

Privileged Gateway Intents

サーバで送信されるメッセージを取得するために、Message Content Intent 特権を有効にする必要があります。 アプリケーションの設定 > BOT > Privileged Gateway Intents から設定して下さい。

使い方

  1. 設定ファイル config.toml を作成して、必要な設定を行ってください。
  2. config.toml で設定した作業ディレクトリを作成して、そのディレクトリ内に Minecraft サーバ (.jar ファイル) を置いてください。
  3. MCSVHandlerDiscord.exe を実行してください。CLI (PowerShell, コマンドプロンプトなど) からの実行がおすすめです。
  4. 設定したチャンネルで !mcstart と入力するとサーバが開始します。
  5. 設定したチャンネルで !mcend と入力するとサーバが停止します。
  6. このアプリケーションを終了したい時は、Ctrl+c を入力もしくは設定したチャンネルで !mcsvend を入力してください。

コマンド

起動中のサーバでコマンドを実行するには、!mcc <コマンド名> を入力して下さい。

!mcc say hello

設定ファイル

config.example.toml をコピーして、 config.toml を実行ファイルと同じディレクトリに置いてください。

hone's People

Contributors

tunawasabi avatar

Watchers

 avatar

hone's Issues

リポジトリ名の変更

現在のリポジトリ名 mcsv-handler-discord が長すぎるので、より簡潔にした新しい名前に変更する

Show public IP Address and port number

サーバ起動時に起動メッセージと同時に、そのサーバへアクセスするためのグローバルIPアドレスとポート番号を表示する機能を追加する

  • config.tomlで表示するかどうかを制御することができる

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.