Skip to content

A custom-built & very simple API for the NoSkillWorld minecraft server

License

Notifications You must be signed in to change notification settings

NoSkillWorld/NSWAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NSW API

Introduction:

The NSWAPI is a database management & utility api for our Minecraft server.
The API provides a database manager, the HonorRanks & rewards handlers, the report system & other utility stuff for our services.

Getting started:

Add those to your pom.xml

The repository:

<repositories>
    <repository>
        <id>NSW</id>
        <url>https://nexus.noskillworld.fr/repository/NSWAPI/</url>
    </repository>
    ...
</repositories>

The dependency:

<dependencies>
    <dependency>
        <groupId>fr.noskillworld.api</groupId>
        <artifactId>nswapi</artifactId>
        <version>0.6.1</version>
        <scope>compile</scope>
    </dependency>
    ...
</dependencies>

Using the API:

To use the api, simply call the create() method just like so:

String user = "User"; //The user of the database
String password = "Pass"; //The password of the database
String name = "Name"; //The name of the database

Credentials credentials = new Credentials(user, password, name); //Creates credentials
NSWAPI api = NSWAPI.create(credentials); //Creates an instance of the API

About

A custom-built & very simple API for the NoSkillWorld minecraft server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages