Skip to content

LucernaSancta/Custom-Server-Teleport

Repository files navigation

Custom Server Teleport

GitHub release (latest by date) Custom-Server-Teleport GitHub License Custom-Server-Teleport

Download and views badges are referred to the Velocity Hangar

A simple Minecraft Velocity plugin that registers custom commands to access servers replacing the need to use the /server command.

This plugin also adds custom permissions for the commands used to access the servers

Important

This plugin is still in development, bugs are expected, please report them at github.com/LucernaSancta/Custom-Server-Teleport/issues


Config

You can configure the plugin after the first run in the config.yml

# Default config
servers:
  #- example:
  #    commands: ["example","ex"]
  #    permission: "customcommand.example"
  #    send_message: "<aqua>sending <green>%playername%</green> to </aqua><green>%servername%</green>"
  - hub:
      commands: ["hub","lobby","l"]
      permission: "customcommand.hub"
      send_message: "" # Leave empty to disable the message

Placeholders

There are currently only two supported placeholders for the send_message config:

  • %playername% replaced with the name of the player executing the command
  • %servername% replaced with the name of the target server

Reloading while running

Use the /customserverteleport reload (or the alias /cst reload) command to reload the config file mid game

Notify updates

Updates will be notified in the console at the start of the server or to any player having the customcommand.notify_update permission when they enter the server

Code utilization

Some code in this repository comes from the PterodactylPowerAction plugin made by Quozul

About

A simple Velocity plugin to set custom commands and permission to switch server

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages