This plugin already exists. It is programmed by Grooohm . I have extend the plugin minimally so all error were eliminated in my console. I hope I was able to help all the people who also had problems with this plugin.
JaniDJ
Name: BackToLobby
Description: Small plugin which offers a command to teleport you to a (in the config) defined server.
License: Public Domain - unlicense.org
Commands:
- /lobby - teleports you to the lobby server.
Config: plugins/Lobby/config.ini
lobbyServer=servername
commandName=lobby
alreadyThere=You are already on the lobby server
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta