(4.0.0 - 4.21.1) 1.2.0 (3.0.0 - 3.25.6) 1.1.1 (3.0.0 - 3.25.6) 1.1 (3.0.0 - 3.25.6) 1.0.2 (3.0.0 - 3.25.6) 1.0.1
45
Read more on poggitLobbyPlayerLimit is a plugin which adds an automatic player transfer throughout multiple lobbies when you do /lobby with a player limit for each lobby
If you didn’t know, a lobby is where people spawn and they can join minigames, teleport to places etc. It is the starting point of a server as players spawn there for the first time. It’s practically a hub :D
Drop the plugin into your server and start-and-stop it.
Navigate to your plugin_data
folder and find lobbies.yml
.
Now, replace - "dummy1"
and - "dummy1"
the names of the worlds of your lobbies. You can add as many as you want as long as they follow the - "Example"
format. Make sure they have the same amount of indentation!
Then, replace fallback: "dummeh"
with fallback: "YOUR FALLBACK LOBBY WORLD NAME HERE"
.
After that, replace limit: 20
with limit: AMOUNT OF PLAYERS PER LOBBY
Replace lobbyfullmsg: "Sorry, but all of our lobbies are full. Don't worry, you have been teleported to a fallback lobby, and we'll keep trying to send you to a lobby."
with lobbyfullmsg: YOUR LOBBY FULL MESSAGE HERE
if you are not happy with the default.
Now, restart the server and you're all done!
Whenever you join the server, you will immediately be joined to a lobby with an amount of players less than your limit. If you want to disable this, you have to remove the lobbyplayerlimit.lobby
permission from yourself.
Assuming you have PurePerms installed and the server is online, run this command in console or in game:
/unsetuperm PLAYERNAME lobbyplayerlimit.lobby
Note: Doing this also disables your ability to run /lobby
.
Now you will be immune to the system!
To add yourself back to the system, assuming you have PurePerms installed and the server is online, run this command in console or in game:
/setuperm PLAYERNAME lobbyplayerlimit.lobby
lobbyplayerlimit.lobby
- Ability to run /lobby and be teleported to a lobby automatically on join.
/lobby
- Teleport to a lobby (LobbyPlayerLimit main command)
Create an issue through GitHub here