Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devgocri/lobbyplayerlimit
An automatic player transfer throughout multiple lobbies with a player limit for each lobby.
https://github.com/devgocri/lobbyplayerlimit
pmmp pmmp-plugin pocketmine
Last synced: 1 day ago
JSON representation
An automatic player transfer throughout multiple lobbies with a player limit for each lobby.
- Host: GitHub
- URL: https://github.com/devgocri/lobbyplayerlimit
- Owner: devgocri
- License: mit
- Created: 2021-05-06T06:48:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-12T01:36:57.000Z (about 3 years ago)
- Last Synced: 2024-10-13T07:20:50.672Z (3 months ago)
- Topics: pmmp, pmmp-plugin, pocketmine
- Language: PHP
- Homepage: https://poggit.pmmp.io/p/LobbyPlayerLimit
- Size: 161 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
LobbyPlayerLimit
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
## Downloads
- [Public Releases](https://poggit.pmmp.io/p/LobbyPlayerLimit)
- [Developer Builds](https://poggit.pmmp.io/ci/BestCodrEver/LobbyPlayerLimit)## How to setup?
Drop the plugin into your server and start-and-stop it. Navigate to your `plugin_data` folder and find `lobbies.yml`.
Now, add the names of the worlds of your lobbies after `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!
Example:
```yaml
lobbies:
- "world"
- "worldone"
```Then, add your fallback lobby world after `fallback:"`. Check the comments in the config if you don’t know what a fallback lobby is.
Example:
```yaml
fallback: "fallbackworld"
```After that, replace `limit: 0` with `limit: AMOUNT OF PLAYERS PER LOBBY`.
Add your “lobby full” message after `lobbyfullmsg:`.
Now, restart the server and you're all done!
## Make yourself immune to the system
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`## Commands
`/lobby` - Teleport to a lobby (LobbyPlayerLimit main command)
## Permissions
`lobbyplayerlimit.lobby` - Ability to run /lobby and be teleported to a lobby automatically on join.
## Report a bug/leave a suggestion!
Feel free to tell me [here](https://github.com/BestCodrEver/LobbyPlayerLimit/issues/new)!
This plugin was made with ❤️ by BestCodrEver for Pumpedpixel