Welcome to my first plugin on
spigotmc.org
!
This plugin limits the playtime for your players!
Different times for premium / non-premium and unlimited players are possible.
Features:
- every single message configurable
- free choice of time for normal / premium players
- use a command to see your remaining time
- set/add/remove per command for any player the playtime
Commands:
Permissions:
Config:
Messages:
I hope it works for you,
have fun with this plugin!
If you find a bug or have any ideas for the future, please contact me!
This plugin limits the playtime for your players!
Different times for premium / non-premium and unlimited players are possible.
Features:
- every single message configurable
- free choice of time for normal / premium players
- use a command to see your remaining time
- set/add/remove per command for any player the playtime
Commands:
Code (Text):
/admintime <set/add/remove> <seconds> <minutes> <hours> <Player>
~ set/add/remove time from any player (temporal!)
/playtime [Player]
~ displays your (or from the specified player) remaining time
~ set/add/remove time from any player (temporal!)
/playtime [Player]
~ displays your (or from the specified player) remaining time
Code (Text):
playtime.admin - display and manage time from other players
playtime.unlimited - play without limits
playtime.premium - has in config for premium specified playtime
playtime.unlimited - play without limits
playtime.premium - has in config for premium specified playtime
Code (Text):
Example:
playtime:
hours: 0
minutes: 30
seconds: 0
premium_playtime:
hours: 1
minutes: 0
seconds: 0
playtime:
hours: 0
minutes: 30
seconds: 0
premium_playtime:
hours: 1
minutes: 0
seconds: 0
Spoiler: messages.yml
Variables: {Player}, {seconds}, {minutes}, {hours}, {total_seconds}, {total_minutes}, {total_hours}
kickMessage: '&cYour playtime ended for this day. Come back tomorrow!'
wrongUsageLine1: '&cWrong usage! Please use the command like this:'
wrongUsageLine2: '&7&O/playtime <&6set&7/&6add&7/&6remove&7> <&6seconds&7> <&6minutes&7> <&6hours&7> <&6Player&7>'
playtimeSetMessage: '&aThe time of &b{Player} &awas set to &7{hours} hour(s)&a, &7{minutes} minute(s) &aand &7{seconds} second(s)&a!'
playtimeAddMessage: '&aThe time of &b{Player} &awas increased by &7{hours} hour(s)&a, &7{minutes} minute(s) &aand &7{seconds} second(s) &aand is now &7{total_hours} hour(s)&a, &7{total_minutes} minute(s) &aand &7{total_seconds} second(s)&a!'
playtimeRemoveMessage: '&aThe time of &b{Player} &awas decreased by &7{hours} hour(s)&a, &7{minutes} minute(s) &aand &7{seconds} second(s) &aand is now &7{total_hours} hour(s)&a, &7{total_minutes} minute(s) &aand &7{total_seconds} second(s)&a!'
neverOnlineError: '&cThis player was not online yet!'
playtimeEnds: '&7Your playtime ends in &6{seconds} second(s)&7!'
leftTimeUnlimited: '&7You don''t have to care about time!'
leftTime: '&7You have &6{hours} hour(s)&7, &6{minutes} minute(s) &7and &6{seconds} second(s) &7left!'
leftTimeUnlimitedOther: '&6{Player} &7don''t have to care about time!'
leftTimeOther: '&6{Player} &7has &6{hours} hour(s)&7, &6{minutes} minute(s) &7and &6{seconds} second(s) &7left!'
Code (Text):
Variables: {Player}, {seconds}, {minutes}, {hours}, {total_seconds}, {total_minutes}, {total_hours}
kickMessage: '&cYour playtime ended for this day. Come back tomorrow!'
wrongUsageLine1: '&cWrong usage! Please use the command like this:'
wrongUsageLine2: '&7&O/playtime <&6set&7/&6add&7/&6remove&7> <&6seconds&7> <&6minutes&7> <&6hours&7> <&6Player&7>'
playtimeSetMessage: '&aThe time of &b{Player} &awas set to &7{hours} hour(s)&a, &7{minutes} minute(s) &aand &7{seconds} second(s)&a!'
playtimeAddMessage: '&aThe time of &b{Player} &awas increased by &7{hours} hour(s)&a, &7{minutes} minute(s) &aand &7{seconds} second(s) &aand is now &7{total_hours} hour(s)&a, &7{total_minutes} minute(s) &aand &7{total_seconds} second(s)&a!'
playtimeRemoveMessage: '&aThe time of &b{Player} &awas decreased by &7{hours} hour(s)&a, &7{minutes} minute(s) &aand &7{seconds} second(s) &aand is now &7{total_hours} hour(s)&a, &7{total_minutes} minute(s) &aand &7{total_seconds} second(s)&a!'
neverOnlineError: '&cThis player was not online yet!'
playtimeEnds: '&7Your playtime ends in &6{seconds} second(s)&7!'
leftTimeUnlimited: '&7You don''t have to care about time!'
leftTime: '&7You have &6{hours} hour(s)&7, &6{minutes} minute(s) &7and &6{seconds} second(s) &7left!'
leftTimeUnlimitedOther: '&6{Player} &7don''t have to care about time!'
leftTimeOther: '&6{Player} &7has &6{hours} hour(s)&7, &6{minutes} minute(s) &7and &6{seconds} second(s) &7left!'
I hope it works for you,
have fun with this plugin!
If you find a bug or have any ideas for the future, please contact me!
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
LimitedPlaytime is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11. Downloaded 3,747 times (via Spigot). Download it and open it directly in the game.