Compatibility
Minecraft: Java Edition
1.20.1
Platforms
Creators
Details
Licensed MIT
Published 2 years ago
Updated 2 years ago
MinimumPlayers Minecraft Plugin
A simple Minecraft plugin that restricts player movement until a specified number of players are online.
Features
- Configurable minimum number of players required to allow movement.
- Notifies all players about the current online count and whether the server is locked or unlocked upon a player joining or leaving.
Setup
- Place
minimumplayers-0.x.x.jarin your server'spluginsfolder. - Start your server. This will generate a default
config.ymlfor the plugin. - If desired, modify
config.ymlto change things like the minimum player count.
Configuration
config.yml parameters:
minimumNumberOfPlayers: The minimum number of players required for movement to be unlocked. Default value is 3.allowGracePeriod: Whether to allow a grace period (i.e. allow players to move for X minutes after the playercount dropped below minimum).gracePeriodMinutes: The number of minutes to allow movement after the playercount dropped below minimum. Default value is 5 minutes.sendMessageWhenFrozen: Whether to send a message when a player tries to move while the server is frozen.frozenMessageIntervalSeconds: The number of seconds to wait before sending another message to a player who is trying to move while the server is frozen. Default value is 5 seconds. Increase the number if you don't want to spam players.
Contributing
Contributions, issues, and feature requests are welcome!
License
This project is distributed under the MIT license.
Change Log
- V1.0.0: Plugin released.
- V1.1.0: Added grace period feature, and made everything configurable.



