Versions:
- 0.0.1-SNAPSHOT:
- 0.0.1:
- 0.0.2-SNAPSHOT:
- 0.0.2:
- 0.0.3-SNAPSHOT:
- 0.0.3:
- 0.0.4-SNAPSHOT:
- Put the BungeeCordAuthenticator JAR into your BungeeCords plugins folder.
- Open the `hikariconfig.properties` in the BungeeCordAuthenticatorBungee folder.
- Modify `jdbcUrl`, `username`, `password` and `dataSource.databaseName` to your sql login data.
- Optionally modify the config.yml and the message.yml in the BungeeCordAuthenticatorBungee folder.
- Put the BungeeCordAuthenticator JAR into your Spigots plugins folder.
- Open the `hikariconfig.properties` in the BungeeCordAuthenticatorBungee folder.
- Modify `jdbcUrl`, `username`, `password` and `dataSource.databaseName` to your sql login data.
- Optionally modify the config.yml and the message.yml in the BungeeCordAuthenticatorBungee folder.
- Repead step 5 to 8 for every Spigot server.
BungeeCord
# Weather the plugin should post debug information
debug: false
session:
# Weather sessions should be enabled.
enabled: false
# Amount of minutes a session should last.
length: 5
registration:
# Max accounts per IP.
maxaccountsperip: 5
# Min characters for the password.
mincharacters: 8
login:
# Max attempts for logins until the user gets kicked.
maxattempts: 3
protection:
# Weather serverswitching should be allowed.
allowserverswitch: false
# Weather sending messages should be allowed.
allowmessagesend: false
# Weather getting messages should be allowed.
allowmessagereceive: false
# List of allowed Commands.
allowedcommands:
- command1
- command2
unauthenticated:
kick:
# Weather unauthenticated users should be kicked after some minutes.
enabled: false
# Amount of minutes until a unauthenticated gets kicked.
length: 2
reminder:
# Weather unauthenticated users should get a message to login.
enabled: true
# Amount of seconds a message shozld get send.
interval: 10
Spigot
# Weather the plugin should post debug information
debug: false
protection:
# Weather serverswitching should be allowed.
allowserverswitch: false
# Weather sending messages should be allowed.
allowmessagesend: false
# Weather getting messages should be allowed.
allowmessagereceive: false
# List of allowed Commands.
allowedcommands:
- command1
- command2
# Weather movement should be allowed.
allowmovement: false
teleportation:
# Location for unauthenticated players.
unauthed:
# Weather unauthenticated players should get teleportet.
enable: false
location:
world: world
x: 0.0
y: 0.0
z: 0.0
yaw: 0.0
pitch: 0.0
# Location for authenticated players after authentication.
authed:
# Weather authenticated players should get teleportet after authentication.
enable: false
location:
world: world
x: 0.0
y: 0.0
z: 0.0
yaw: 0.0
pitch: 0.0
BungeeCord
public BungeeCordAuthenticatorBungeeAPI getBungeeCordAuthenticatorAPI() {
if (getProxy().getPluginManager().getPlugin("BungeeCordAuthenticatorBungee") != null) {
return BungeeCordAuthenticatorBungee.getInstance().getAPI();
}
else {
return null;
}
}
Bukkit
public BungeeCordAuthenticatorBukkitAPI getBungeeCordAuthenticatorAPI() {
if (getProxy().getPluginManager().getPlugin("BungeeCordAuthenticatorBukkit") != null) {
return BungeeCordAuthenticatorBukkit.getInstance().getAPI();
}
else {
return null;
}
}
<repositories>
<repository>
<id>spigotplugins-repo</id>
<url>https://maven.gamestrike.de/mvn/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>de.xxschrandxx.bca</groupId>
<artifactId>BungeeCordAuthenticator</artifactId>
<version>VERSION</version>
<scope>provided</scope>
</dependency>
</dependencies>