Git Product home page Git Product logo

sn_discord-bdsx's Introduction

Discord-BDSX

日本語

DiscordとBDSXをつなぐプラグインです。
git cloneして、フォルダ全体をbdsxルートフォルダ直下のpluginsフォルダに入れてください。
bdsx/plugins/Discord-BDSX/ファイルごちゃごちゃ
となるように

config.jsonを編集し、ボットトークンと送受信するチャンネルID、使用する言語(おそらく"ja")を書き込んでください。

コマンド

マインクラフトにおけるOPコマンド:

/dbchat がメインコマンドです。

引数説明
・reload
config.jsonの設定を再読み込みします。

Discordの指定のチャンネルにおけるコマンド実行:
  • .eval
    先述の、OPロールIDを持っている人は、Discordにおいて、デフォルトでは
    「.eval 実行コマンド」を送信することでコマンドを実行できます。

Warning
「.eval stop」などもエラーを吐かずに実行でき、非常に危険な権限であるため慎重にロールを指定してください。

  • .userinfo
    先述の、OPロールIDを持っている人は、Discordにおいて、デフォルトでは
    「.userinfo ユーザー名」を送信することで過去にログインしたことのあるプレイヤーの情報(XUID及びデバイスの種類)を取得できます。
    また、プライバシーを考慮し、IPアドレスに関しては、./database/userinfo.jsonを直接覗くことでのみ取得できます。

  • .list
    一般の権限のない人物でも、デフォルトでは「.list」を実行することで現在サーバーにログインしている人物一覧を取得できます。

  • .ping
    サーバーがオンラインかどうかを確かめます。

  • .info
    プラグインのバージョン及び開発者の名前を表示します。


English

This is a plugin to connect Discord and BDSX.
Please git clone and put the whole folder into the plugins folder directly under the bdsx root folder.
bdsx/plugins/Discord-BDSX/files (e.g. index.js, etc.) so that

Edit config.json and write the bot token, the channel ID to send/receive, and the language to use (probably "en").

Commands

OP Commands in Minecraft:

/dbchat is the main command.

Argument Description
・reload
Reloads the configuration in config.json.

Execution of a command on a specified channel of Discord:
  • .eval
    The aforementioned, those who have an OP role ID can, by default, in Discord, execute commands by sending
    You can execute the command by sending ".eval execute command".

Warning
Please specify the role carefully, as ".eval stop" etc. can also be executed without throwing an error, and is a very dangerous privilege.

  • .userinfo
    If you have an OP role ID, as mentioned above, you can retrieve information (XUID and device type) about players who have logged in in the past by sending ".userinfo username" by default in Discord.
    In addition, for privacy reasons, for IP addresses, we will use . /database/userinfo.json directly.

  • .list
    Even unauthorized persons can, by default, obtain a list of persons currently logged in to the server by executing ".list".

  • .ping
    Verify if the server is online.

  • .info
    Displays the version of the plug-in and the name of the developer.


Warning
Kaito02020424, who wrote the README, is Japanese, and the translation is based on DeepL translation, so there may be inaccuracies. Please be aware of this.

sn_discord-bdsx's People

Contributors

kaito02020424 avatar runekaito avatar

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.