2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-04-08 16:10:26 +00:00

more changes

This commit is contained in:
2026-04-03 18:54:01 +04:00
parent 42e8a861a3
commit f58a212782
19 changed files with 226 additions and 73 deletions

View File

@@ -1,5 +1,4 @@
plugins {
`java-library`
`maven-publish`
}
@@ -10,10 +9,6 @@ dependencies {
description = "ValioBungee Velocity API"
java {
withJavadocJar()
withSourcesJar()
}
tasks {
withType<Javadoc> {
@@ -27,17 +22,6 @@ tasks {
val apiDocs = File(rootProject.projectDir, "api/build/docs/javadoc")
//options.linksOffline("https://ci.limework.net/ValioBungee/api/build/docs/javadoc", apiDocs.path)
}
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(21) // required by velocity
}
javadoc {
options.encoding = Charsets.UTF_8.name()
}
processResources {
filteringCharset = Charsets.UTF_8.name()
}
}
publishing {

View File

@@ -15,12 +15,21 @@
*/
package net.limework.valiobungee.velocity.api.entities;
import com.velocitypowered.api.proxy.Player;
import java.util.Optional;
import net.limework.valiobungee.api.entity.NetworkPlayer;
import net.limework.valiobungee.api.entity.UUIDPlayer;
/**
* Velocity Network player.
* Velocity Network player. hold specific stuff for velocity platform
*
* @author Ham1255
* @since 1.0.0
*/
public interface VelocityNetworkPlayer extends NetworkPlayer {}
public interface VelocityNetworkPlayer extends NetworkPlayer, UUIDPlayer {
/**
* @return an optional that contains a player if he is on the same proxy
*/
Optional<Player> getHandle();
}