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