This repository has been archived by the owner on Jun 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Converting
Mr. Piggy edited this page Apr 22, 2017
·
11 revisions
If you started using MySQL or SQLite3 for PiggyAuth before v3.0.0 and want to use the converter, please change the password length to 200 or more for your database.
- Place your SimpleAuth files into the
convert
folder inplugins/PiggyAuth
. - Run
/convert simpleauth yml <directory>
. Example:/convert simpleauth yml players
- Place your SimpleAuth database into the
convert
folder inplugins/PiggyAuth
. - Run
/convert simpleauth sqlite3 <file> <table>
. Example:convert simpleauth sqlite3 players.db players
INFO: The default file name isplayers.db
and the default table name isplayers
. For this to work, make sure you have the sqlite3 extension installed.
- Run
/convert simpleauth mysql <host> <user> <password> <name> <port> <table>
. Example:/convert simpleauth mysql localhost user password simpleauth 3306 simpleauth_players
INFO: The default table name issimpleauth_players
. For this to work, make sure you have the mysql extension installed.
- Place your ServerAuth files into the
convert
folder inplugins/PiggyAuth
. - Then you do
/convert serverauth yml <directory> <algorithm>
. Example:/convert serverauth yml players sha256
INFO: The default encryption algorithm is sha256.
- Run
/convert serverauth mysql <host> <user> <password> <name> <port> <table> <algorithm>
. Example:/convert serverauth mysql localhost user password serverauth 3306 players sha256
. INFO: The default table name issrvauth_serverauthdata
The default encryption algorithm is sha256. For this to work, make sure you have the mysql extension installed.