An open API service indexing awesome lists of open source software.

https://github.com/emilkrebs/nitrado-bot

Nitrado-Bot: A Discord Bot to control your Nitrado Gameserver.
https://github.com/emilkrebs/nitrado-bot

ark discord discord-js gameserver nitrado nitrapi typescript

Last synced: 2 months ago
JSON representation

Nitrado-Bot: A Discord Bot to control your Nitrado Gameserver.

Awesome Lists containing this project

README

          



Nitrado-Bot Logo


Control your Nitrado Gameserver




[![Build](https://github.com/emilkrebs/Nitrado-Bot/actions/workflows/build.yml/badge.svg)](https://github.com/emilkrebs/Nitrado-Bot/actions/workflows/build.yml)
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/emilkrebs/Nitrado-Bot)


> [!WARNING]\
> This project needs a major rework and currently has many issues!
>
> - [ ] Update discord.js
> - [ ] Fix fatal issue https://github.com/emilkrebs/Nitrado-Bot/issues/3
> - [ ] move from colors to chalk
> - [ ] update node-fetch
> - [ ] update typescript

This Bot lets you and others start your Nitrado Gameserver from Discord.

I am using this Discord Bot to start an ARK Server.

# Getting started
- Install [node.js](https://nodejs.org/en/)
- If you don't already have a Discord Bot, create one [here](https://discord.com/developers/applications/)
- Get a nitrApi access token [here](https://server.nitrado.net/deu/developer/tokens)
- Clone the repository using `git clone https://github.com/emilkrebs/nitrado-bot.git`
- Create a `config.json` file that looks like this:
```json
{
"token":"your-bot-token",
"nitrado_token":"your-nitrApi-access-token",
"nitrado_id":"your-nitrado-serviceid"
}
```
- `npm i` to install all required dependencies
- `npm run start` to start the bot

![Showcase](https://user-images.githubusercontent.com/68400102/171502599-4e5b7572-e83a-4144-a17b-f25d1cc6b6cb.png)

# Commands
- `!start or !restart`: Restart or Start your Gameserver
- `!stop`: Stop your Gameserver

![Showcase 2](https://user-images.githubusercontent.com/68400102/171891996-ad32af6b-b7db-428d-a0ae-11fcea4cacbc.png)

## Known Issues

- **[FATAL]** Bot crashes when updating the status https://github.com/emilkrebs/Nitrado-Bot/issues/3

[Add Issue](https://github.com/emilkrebs/Nitrado-Bot/issues/new)