Implementation Guide

uuidAPI Implementation

Help Forums

  • Any questions on implement uuidAPI can be answered on the help forums.
  • The help forums also contain some simple code examples to show off the functionality of uuidAPI
  • Help Forums

How to implement uuidAPI into your plugin

1. First start by downloading the .jar file for the uuidAPI plugin and add it to your project's libraries. Eclipse: (Click on the "Add External JARs") tut

2. Import the API's package over:

import info.dyndns.thetaco.uuid.api.Main

3. In your plugin.yml, be sure to add a dependency.

  • On a new line, print:
depend: uuidAPI

4. Use the methods within the class:

JavaDocs located here

Simple Example

  • In this example I just created a simple method for fetching the players UUID (in string form).

Code example


Comments

Posts Quoted:
Reply
Clear All Quotes