Minecraft AccountAPI mod 2026 download
logo
minecraft mod AccountAPI

AccountAPI

Game Version: 1.8.1
Total Downloads: 570
Updated: Mar 17, 2016
Created: Feb 27, 2016
Download AccountAPIDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
AccountAPI Beta 0.2 beta 13.30 KB Mar 17, 2016 1.8.1 400 download AccountAPI AccountAPI Beta 0.2 betaDownload
AccountAPI Beta 0.1 beta 10.54 KB Feb 28, 2016 1.8.1 170 download AccountAPI AccountAPI Beta 0.1 betaDownload

Description

Share this:

Language: English | German

This is an API, it does almost nothing itself. It may be required by another plugin or you may want to create a plugin which requires AccountAPI.

The API creates a database table containing UUIDs, names and hashed passwords, and makes it easy to edit the table's content. Might be useful if you're creating a web service with registration and login.

The table looks like this:

uuid name pw
069a79f444e94726a5befca90e38aaf5 Notch some SHA-256 hash
853c80ef3c3749fdaa49938b674adae6 jeb_ some other SHA-256 hash

Requirements

  • MySQL database

Installation and Configuration

The plugin works on Bukkit/Spigot and BungeeCord.

To install the plugin, place the jar-file in your server's plugins folder and start the server. The plugin will show an error message:


[AccountAPI] Unable to connect to database. Edit connection data in config.yml
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'accountapi'
...

That means, your MySQL connection is not working. Edit config.yml in plugins/AccountAPI/. The file looks like this:

mysql:
  host: '127.0.0.1'
  port: 3306
  user: 'root'
  pw: ''
  db: 'AccountAPI'

check-connection: true
mysql
host Enter the domain/ip of your database host
port Enter your database port (default is 3306)
user Enter your database username
pw Enter your database password
db Enter the name of an already existing database
check-connection Set to true if you want the plugin to check the database connection on startup and disable itself if the connection fails. Otherwise, set to false.

API documentation

  • Including the API
  • Function list

Planned features

  • Feature to auto-create an account when a player joins the first time

Suggestions are welcome

Source Code (GitHub)

Plugins using this API

None so far, contact me if you want your plugin to be linked here.

Additional informaion

  • This plugin is still in BETA. It may contain bugs.
  • You are not allowed to use the plugin for commercial purposes, for example on servers selling ingame stuff for real money. License

Comments

Add a comment