1.0-SNAPSHOT
Compatibility
Changes
NetGoat
NetGoat is a Velocity plugin that redirects players to the best server based on their connection. It offers two methods for redirection: hostname-based and latency-based.
Features
- Hostname Redirection: Redirect players to specific servers based on the hostname they use to connect.
- Latency Redirection: Automatically sends players to the server with the lowest ping for the best connection.
Configuration
After the first run, a config.toml file will be generated in the plugins/netgoat directory.
Here is an overview of the configuration options:
default-server: The server a player will be sent to if no other rule matches.[regions]: A list of your server regions and their corresponding server names in Velocity.[hostnames]: A list of hostnames that map to specific regions.[ping-routing]: Configure the behavior of the latency-based redirection.timeout: How long to wait for pings to complete (in milliseconds).default-region: The fallback region if no server with a good ping is found.max-ping: The highest acceptable ping for a server to be considered.
Usage
- Place the plugin JAR file in your Velocity proxy's
pluginsdirectory. - Start your proxy to generate the
config.tomlfile. - Stop the proxy and edit the
config.tomlto match your network configuration. - Start the proxy again and the plugin will be active.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:V3fqAaiv:RRrPbX4r"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:V3fqAaiv:RRrPbX4r"
}

