Sueta

LastPosition

1.0

Saves the Last Position of a player

·Plugin

A simple AddOn which saves the last world position of a player in MySQL and loads it whenever the player joins the server again (so the player can procede at the same coordinates in the world where he left off instead of re-appearing at the spawn)

Required:

  • A MySQL database

THIS ADDON WORKS ONLY PER SERVER NOT PER WORLD!

# MySQL

#The IP adress of your MySQL database
dbHost: 127.0.0.1
#The port of your MySQL database
dbPort: 3306
#The database name of your MySQL database
dbName: testDB
#The user name of your MySQL database
dbUser: testUser
#The password of your MySQL database
dbPass: testPW
#Do you wanna use SSL? true / false
dbSSL: true
#The table name of the new table whitch whould be created
tableName: LastPosition
#The name of the group, (all servers with this group name should have the same name)
groupName: testGroup

How to install:

  1. Download the Plugin
  2. Copy / Move it to your Spigot plugins folder
  3. Restart / Reload the server.
  4. A folder named 'LastPosition' whould be created in your plugins folder. Inside the folder, is a 'config.yml' file.
  5. Fill in your MySQL data and the group name
  6. Restart / Reload the server.
  7. Finish!

Similar projects

Plugin →