forked from TuxCoding/FastLogin
Update ProtocolSupport and use a maven repository for it now
This commit is contained in:
Binary file not shown.
@ -76,13 +76,12 @@
|
||||
<version>3.6.5</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>protcolsupport</groupId>
|
||||
<artifactId>ProtocolSupport</artifactId>
|
||||
<version>Build-337</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/ProtocolSupport b337.jar</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.ProtocolSupport</groupId>
|
||||
<artifactId>ProtocolSupport</artifactId>
|
||||
<!--4.25.dev-->
|
||||
<version>5554413b51</version>
|
||||
</dependency>
|
||||
|
||||
<!--Login Plugins-->
|
||||
<dependency>
|
||||
|
@ -9,5 +9,6 @@ import org.bukkit.entity.Player;
|
||||
@Deprecated
|
||||
public interface PasswordGenerator extends com.github.games647.fastlogin.core.hooks.PasswordGenerator<Player> {
|
||||
|
||||
@Override
|
||||
String getRandomPassword(Player player);
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
package com.github.games647.fastlogin.bukkit.commands;
|
||||
|
||||
import com.github.games647.fastlogin.bukkit.BukkitCore;
|
||||
import com.github.games647.fastlogin.bukkit.FastLoginBukkit;
|
||||
import com.github.games647.fastlogin.core.AuthStorage;
|
||||
import com.github.games647.fastlogin.core.shared.FastLoginCore;
|
||||
import com.github.games647.fastlogin.core.importer.ImportPlugin;
|
||||
import org.bukkit.ChatColor;
|
||||
|
||||
@ -71,7 +71,7 @@ public class ImportCommand implements CommandExecutor {
|
||||
password = args[5];
|
||||
}
|
||||
|
||||
FastLoginCore core = plugin.getCore();
|
||||
BukkitCore core = plugin.getCore();
|
||||
AuthStorage storage = core.getStorage();
|
||||
boolean success = core.importDatabase(importPlugin, true, storage, host, database, username, password);
|
||||
if (success) {
|
||||
|
@ -10,9 +10,12 @@ import org.bukkit.entity.Player;
|
||||
@Deprecated
|
||||
public interface BukkitAuthPlugin extends AuthPlugin<Player> {
|
||||
|
||||
@Override
|
||||
boolean forceLogin(Player player);
|
||||
|
||||
@Override
|
||||
boolean isRegistered(String playerName) throws Exception;
|
||||
|
||||
@Override
|
||||
boolean forceRegister(Player player, String password);
|
||||
}
|
||||
|
Reference in New Issue
Block a user