Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Latest commit

 

History

History
37 lines (32 loc) · 1.69 KB

README.md

File metadata and controls

37 lines (32 loc) · 1.69 KB

Nitrapi-Minecraft

This plugin enables the players with the minenitrapi.nitrapi permission
to use /nitrapi commands.
The documentation of the Nitrapi is located on https://doc.nitrado.net

Build the plugin

To build the plugin all you need is to run "mvn compile assembly:single"

Authorize the Plugin

Please visit https://server.nitrado.net/deu/developer/index
Click the plus button to create a new application.
Insert name, website, email and a description(of your choice)
The redirect URL has to be http://***YOUR_SERVER_IP***:8080/Callback

After saving, you can click your application to get the APP ID and the APP SECRET.
You need the values in the next step

Fill your config

On first run, the plugin will create its config file.
Alternatively you can create the config and insert the values before you start, to save one restart.
The location has to be plugins/Nitrapi-Minecraft/config.yml
APP_ID: Enter APP_ID here
APP_SECRET: Enter APP_SECRET here
IP: Enter IP here
PORT: 8080
SCOPES: user_info service service_order ssh_keys
CREDENTIALS_PATH: /ftproot/minecraftbukkit/plugins/Nitrapi-Minecraft/

Insert APP ID, APP Secret and your Server IP in the config file of the plugin.
If you don't do this. the plugin will disable at start.

First Auth

To authenticate you have to start the server, join the server and
execute /nitrapi auth. Click the link and enter your Nitrado Account Credentials.
If you don't do this, the server will die.

Have fun

Current commands you can see if you execute just /nitrapi.