https://github.com/4k1d3v/timelimitplugin
A professional Minecraft plugin to limit player playtime.
https://github.com/4k1d3v/timelimitplugin
hardfork minecraft minecraft-plugin paper paper-api papermc
Last synced: about 1 month ago
JSON representation
A professional Minecraft plugin to limit player playtime.
- Host: GitHub
- URL: https://github.com/4k1d3v/timelimitplugin
- Owner: 4K1D3V
- License: mit
- Created: 2025-04-02T02:36:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-05T04:26:06.000Z (about 1 year ago)
- Last Synced: 2025-09-02T01:37:53.156Z (10 months ago)
- Topics: hardfork, minecraft, minecraft-plugin, paper, paper-api, papermc
- Language: Java
- Homepage: https://ks.akii.pro
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TimeLimitPlugin
A professional Minecraft plugin to limit player playtime.
## Features
- Configurable daily time limits
- Per-player overrides and exemptions
- Warning system with boss bar
- JSON-based persistence
- Full command suite with tab completion
- API for integration
- Localization support
## Commands
- `/timelimit info [player]` - Check remaining time (`timelimit.info`)
- `/timelimit exempt ` - Exempt a player (`timelimit.exempt`)
- `/timelimit unexempt ` - Remove exemption (`timelimit.unexempt`)
- `/timelimit set ` - Set custom limit (`timelimit.set`)
- `/timelimit reset ` - Reset playtime (`timelimit.reset`)
- `/timelimit reload` - Reload config (`timelimit.reload`)
## Permissions
- `timelimit.info` - View time info (default: true)
- `timelimit.exempt` - Exempt players (default: op)
- `timelimit.unexempt` - Remove exemptions (default: op)
- `timelimit.set` - Set custom time limits (default: op)
- `timelimit.reset` - Reset playtime (default: op)
- `timelimit.reload` - Reload config (default: op)
- `timelimit.admin` - Access all commands (default: op)
## Installation
1. Place the JAR in your `plugins` folder
2. Start the server to generate config files
3. Edit `config.json` and `messages.json` as needed
4. Reload with `/timelimit reload`
## API
```java
long remaining = TimeLimitAPI.getRemainingTime(player.getUniqueId());
boolean isExempt = TimeLimitAPI.isExempt(player.getUniqueId());---
```
# Credit
- Made by KiteGG: [Website](https://ks.akii.pro)
- Concept by gReach: [Discord](https://discord.com/users/800747697890918440)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.