https://github.com/narazaka/craftopia-discord
CraftopiaのDiscord連携
https://github.com/narazaka/craftopia-discord
craftopia discord
Last synced: about 2 months ago
JSON representation
CraftopiaのDiscord連携
- Host: GitHub
- URL: https://github.com/narazaka/craftopia-discord
- Owner: Narazaka
- License: zlib
- Created: 2022-03-02T17:02:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-21T11:42:38.000Z (over 2 years ago)
- Last Synced: 2025-03-19T22:52:56.828Z (over 1 year ago)
- Topics: craftopia, discord
- Language: TypeScript
- Homepage:
- Size: 85 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# craftopia-discord
Craftopia Dedicated Server 用のDiscord無理矢理連携。
今鯖に何人居るかとかをチャンネルに投げたり、起動、停止、設定変更なんかをコマンドで出来るやつ。
## インストール
[Release](https://github.com/Narazaka/craftopia-discord/releases/latest)からダウンロードしててきとうなところにおく
## 使い方
1. https://discord.com/developers/applications からdiscord botを作る
2. config.jsonを以下のように設定して`craftopia-discord.exe`を叩く
3. discord側で`!help`コマンドを叩くと色々出来ることがわかる
```json
{
"token": "Discordのbotのtoken",
"botId": "DiscordのAPPLICATION ID",
"serverDirectory": "CraftopiaDedicatedServerのフォルダ",
"channelId": "Discordの対象チャンネルID(開発者モードでコピー出来るやつ)",
"log": "ログの場所。指定しなければログを書かない。",
"steamCmdDirectory": "steamcmd.exeのフォルダ(アップデート用)",
"autoStart": false
}
```
## build
denoをインストールしてcompile.batを叩くと`craftopia-discord.exe`ができる
## License
[Zlib License](LICENSE)