Server Transfer Commands

Quick rating

Server Transfer Commands

No reviews yet

Adds proxy-style commands like /server and /send using the new transfer packet.

QoL & Tweaks
Player Transport
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
Server Transfer Commands v0.1.0
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Server Transfer Commands

This mod adds commands to transfer yourself or another player to a different server using the new transfer packet added in 24w03a. The commands and config are loosely based on BungeeCord, so they should be familiar if you've used it or a similar proxy before.

This mod does not expose an API for transferring players or setting/getting cookies; it just sends the packet. This is something that may be added in the near future, though.

Commands

Currently, the following commands are implemented:

  • /server <server>: Go to a configured server that isn't restricted or you have permission to access.
  • /send <players> <server>: Sends one or more players to a configured server. Restrictions are not considered.
  • /send-ip <players> <hostname> [<port>]: Sends one or more players to the specified hostname and port. If no port is specified, it defaults to 25565.

Commands that would query the servers like /glist and /find have not been added yet but are in progress.

Permissions

Permissions can be set with groups in the config file or with any mod that supports the Fabric Permissions API. If you would like to disable a command entirely, you can add it to the disabled_commands list in the config.

  • server-transfer-commands.command.server
  • server-transfer-commands.command.send
  • server-transfer-commands.command.send-ip
  • server-transfer-commands.server.<server>: Permission to use /server to go to a server that has restricted enabled. /send and /send-ip do not consider this.

Config

The commented default config is as follows:

# The list of servers that can be accessed with /server or /send.
# If "restricted" is true, the "server-transfer-commands.server.<server>" permission is required to access it with /server.
servers:
  lobby:
    address: localhost:25565
    restricted: false
  survival:
    address: localhost:25564
    restricted: false

# A server that should show "You are already connected to this server!" when you attempt to transfer to it.
this_server: lobby

# Commands that should not be registered.
disabled_commands:
  - disabledcommandhere

# Permission groups for assigning to players or permission levels.
permissions:
  default:
    - server-transfer-commands.command.server
  admin:
    - server-transfer-commands.command.send
    - server-transfer-commands.command.send-ip

# Permission groups assigned to specific players.
groups:
  4win:
    - admin

# Permission groups assigned to Minecraft permission levels, normally from 1 to 4.
# Level 3 is what allows use of multiplayer management commands such as /kick.
level_groups:
  3:
    - admin

Server Transfer Commands

This mod adds commands to transfer yourself or another player to a different server using the new transfer packet added in 24w03a. The commands and config are loosely based on BungeeCord, so they should be familiar if you've used it or a similar proxy before.

This mod does not expose an API for transferring players or setting/getting cookies; it just sends the packet. This is something that may be added in the near future, though.

Commands

Currently, the following commands are implemented:

  • /server <server>: Go to a configured server that isn't restricted or you have permission to access.
  • /send <players> <server>: Sends one or more players to a configured server. Restrictions are not considered.
  • /send-ip <players> <hostname> [<port>]: Sends one or more players to the specified hostname and port. If no port is specified, it defaults to 25565.

Commands that would query the servers like /glist and /find have not been added yet but are in progress.

Permissions

Permissions can be set with groups in the config file or with any mod that supports the Fabric Permissions API. If you would like to disable a command entirely, you can add it to the disabled_commands list in the config.

  • server-transfer-commands.command.server
  • server-transfer-commands.command.send
  • server-transfer-commands.command.send-ip
  • server-transfer-commands.server.<server>: Permission to use /server to go to a server that has restricted enabled. /send and /send-ip do not consider this.

Config

The commented default config is as follows:

# The list of servers that can be accessed with /server or /send.
# If "restricted" is true, the "server-transfer-commands.server.<server>" permission is required to access it with /server.
servers:
  lobby:
    address: localhost:25565
    restricted: false
  survival:
    address: localhost:25564
    restricted: false

# A server that should show "You are already connected to this server!" when you attempt to transfer to it.
this_server: lobby

# Commands that should not be registered.
disabled_commands:
  - disabledcommandhere

# Permission groups for assigning to players or permission levels.
permissions:
  default:
    - server-transfer-commands.command.server
  admin:
    - server-transfer-commands.command.send
    - server-transfer-commands.command.send-ip

# Permission groups assigned to specific players.
groups:
  4win:
    - admin

# Permission groups assigned to Minecraft permission levels, normally from 1 to 4.
# Level 3 is what allows use of multiplayer management commands such as /kick.
level_groups:
  3:
    - admin

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works