PublicPlayerCount is a lightweight Minecraft plugin that allows server administrators to control the maximum player capacity and define bypass players who can join even when the server is full.
- Set a configurable maximum player capacity
- Define whitelist of players who can bypass the capacity limit
- Simple configuration
- Full Folia compatibility
- Integration with Quagmire Core
- Java 21 or higher
- Paper/Spigot 1.21+
- Quagmire Core
- Download the latest version of PublicPlayerCount
- Place the JAR file in your server's
plugins
folder - Restart your server
- Configure the plugin using the
players.yml
file
The plugin uses a simple configuration file players.yml
where you can define:
# Maximum number of players allowed on the server
capacity: 50
# List of players who can bypass the capacity limit
bypass-players:
- Quagmire
/playercount
- Base command for players/playercountadmin
- Base command for administrators/playercountadmin reload
- Reloads the plugin configuration
playercount.player
- Permission to use the plugin as a playerplayercount.admin
- Permission to use the plugin as an administratorplayercount.reload
- Permission to reload the plugin
For developers looking to integrate with PublicPlayerCount, you can access the plugin instance and player manager:
PlayerCountPlugin plugin = (PlayerCountPlugin) Bukkit.getPluginManager().getPlugin("PlayerCount");
PlayerManager playerManager = plugin.getPlayerManager();
If you encounter any issues or have questions, feel free to create an issue on our GitHub repository.
This project is licensed under the MIT License - see the LICENSE file for details.
We welcome contributions to the project! If you'd like to contribute:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -am 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Author: Quagmire ([email protected])