mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-27 04:35:12 +01:00
Deprecated this method, V2 of verygames already include this
This commit is contained in:
parent
8b48e936fb
commit
f0eed86155
@ -744,6 +744,7 @@ public class AuthMe extends JavaPlugin {
|
||||
* @param Player
|
||||
* player
|
||||
*/
|
||||
@Deprecated
|
||||
public String getVeryGamesIP(Player player) {
|
||||
String realIP = player.getAddress().getAddress().getHostAddress();
|
||||
String sUrl = vgUrl;
|
||||
@ -788,8 +789,11 @@ public class AuthMe extends JavaPlugin {
|
||||
|
||||
if (Settings.getDataSource == DataSource.DataSourceType.FILE) {
|
||||
Converter converter = new ForceFlatToSqlite(database, this);
|
||||
Thread t = new Thread(converter);
|
||||
t.start();
|
||||
try {
|
||||
Thread t = new Thread(converter);
|
||||
t.start();
|
||||
} catch (Exception e) {
|
||||
}
|
||||
ConsoleLogger.showError("FlatFile backend as been detected and is now deprecated, next time server startup, it will be changed to SQLite... Conversion will be started Asynchronously, it will not drop down your performances !");
|
||||
ConsoleLogger.showError("If you want to keep FlatFile, set file again into config at backend, but this message and this change will appear again at the next restart");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user