Utility - PlayerNguyen/OptEcoPrime GitHub Wiki
Move from OptEco to OptEcoPrime
OptEcoPrime already supports moving your data from OptEco with only a few steps. First, you will need to determine your storage type from Config.yml of OptEco.
SQLite
If your storage type is SQLite, please follow those steps
- Step 1: Open config.yml in folder OptEco, then determine a current account table name via
Settings.SQL.Table.Accounts
Ensure that you remember your Accounts:
section
- Step 2: Turn on a development (
Debug
) mode in OptEcoPrime (Settings/Settings.yml
), then using/p reload
to reload the OptEcoPrime plugin.
- Step 3: Switch to console, then type a command
/p prime sqlite {Accounts}
which is configured inStep 1
.
In this case, I use /p prime sqlite opteco
. It will take a while for OptEcoPrime to process. Whenever succeeded, you will see a message.
**Remember to turn off Debug mode **
MySQL
With MySQL, it is better to rename your table as the same as configured table name in Setting/Setting.yml.