This repository was archived by the owner on Jun 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
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
convertfolder inplugins/PiggyAuth. - Run
/convert simpleauth yml <directory>. Example:/convert simpleauth yml players
- Place your SimpleAuth database into the
convertfolder inplugins/PiggyAuth. - Run
/convert simpleauth sqlite3 <file> <table>. Example:convert simpleauth sqlite3 players.db playersINFO: The default file name isplayers.dband 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_playersINFO: The default table name issimpleauth_players. For this to work, make sure you have the mysql extension installed.
- Place your ServerAuth files into the
convertfolder inplugins/PiggyAuth. - Then you do
/convert serverauth yml <directory> <algorithm>. Example:/convert serverauth yml players sha256INFO: 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_serverauthdataThe default encryption algorithm is sha256. For this to work, make sure you have the mysql extension installed.