RedirectorPlus
PluginLicenseRef-All-Rights-Reserved

RedirectorPlus

RedirectorPlus is a lightweight Paper plugin that allows server administrators to create and manage server connection information. Players can easily discover and connect to different servers through simple in-game commands.

38
Downloads
2
Followers
3 months ago
Updated
📦
1
Versions

📖About RedirectorPlus

RedirectorPlus

A standalone Paper 1.21.11 plugin that allows server administrators to create and manage server connection information.

Features

  • Create Connections: Define named server connections with IP and port
  • View Connection Info: Display server details to players
  • Manage Connections: List, delete, and manage all server configurations
  • Tab Completion: Full tab completion support for all commands
  • Persistent Storage: Connections are saved and loaded automatically
  • No Proxy Required: Works as a standalone plugin (no BungeeCord/Velocity needed)

Commands

Create Connection

Creates a new server connection configuration.

Usage: /rdplus create <name> <ip> [port]

  • <name>: Connection name (use quotes for names with spaces)
  • <ip>: Server IP address or hostname
  • [port]: Server port (default: 25565)

Example:

/rdplus create "Main Server" play.example.com
/rdplus create "Creative Server" 192.168.1.100 25566

View Connection

Displays connection information for the specified server to the executing player.

Usage: /rdplus redirect <name>

Players can manually add this server to their multiplayer list using the provided address.

Example:

/rdplus redirect "Main Server"

Output:

==== Server Connection Info ====
Server: Main Server
Address: play.example.com

To connect, add this server to your multiplayer list:
play.example.com

/rdplus list

Lists all configured server connections with their addresses.

/rdplus delete <name>

Deletes a server connection configuration.

Example:

/rdplus delete "Test Server"

/rdplus help

Shows help information with all available commands.

Permissions

  • redirectorplus.admin: Allows player to use RedirectorPlus commands (default: op)

Building

This is a Maven project. To build:

mvn clean package

The compiled plugin JAR will be in the target/ directory.

Installation

  1. Build the plugin using Maven
  2. Copy the JAR file to your Paper server's plugins/ directory
  3. Restart the server
  4. Configure connections using the /rdplus create command

Configuration

Connections are automatically saved to plugins/RedirectorPlus/connections.yml and loaded on server startup.

connections.yml Example

connections:
  Main Server:
    ip: play.example.com
    port: 25565
  Creative Server:
    ip: 192.168.1.100
    port: 25566

Requirements

  • Paper 1.21.11 or later
  • Java 17 or later

How It Works

This is a standalone plugin that doesn't require a proxy like BungeeCord or Velocity. It stores server connection information and displays it to players, allowing them to manually connect to other servers by adding them to their multiplayer list.

When a player uses /rdplus redirect [name], they receive formatted connection information they can use to connect to that server.