TimeKeeper
TimeKeeper
Version: v0.16 | last Version
[EN]
I had the problem that my Childs, spend to much time playing minecraft, so I decided to seach for a Plugin to restrict the amount of time. I found a Plugin, called Antiaddic, but this don't satisfied my needs. (I can't get it to work, cause the config was overwritten with an empty file) So I study the concept, change this to my efforts and wrote the Code by myself.
To be honest, I am not a Java Developer and only know PL/SQL, HTML or JavaScript. So I need one week to figure out how it works and to create a first version that works.
New Update
Never thought I could reach 2.000 downloads in 7 month, cause I mede this only for my personal use. Thanks to all users. Please leave a message and tell me in which projects or on which server you use this.
[DE]
Ich hatte das Problem, dass meine Kinder zu viel Zeit mit Minecraft verbrachten, also suchte ich ein Plugin das die Zeit beschänken kann. Ich habe dann das Plugin Antiaddict gefunden, welches aber nicht meinen Vorstellungen entsprach. (Ich bekam es einfach nicht zum laufen) Aus diesem Grund habe ich mit das Konzept angeschaut und für mich in neuem Code umgesetzt
Um ehrlich zu sein, ich bin kein Java-Entwickler und kenne ehre PL/SQL, HTML oder JavaScript. Daher brauchte ich erst mal eine Woche herauszufinden wie das alles funktioniert und um eine erste Version zu erstellen.
New Update
Ich hätte nicht gedacht das ich es mit diesem Plugin in 7 Monaten auf über 2.000 downloads bringen würde, weil ich es ja nur für den eingengebrauch programmiert habe. Danke an alle Nutzer. Schreibt mir doch in welchen Projekten oder auf was für Servern ihr es nutzt.
Features:
[EN]
- Watch the Time a User is on a Server
- Kicks a Player after a amount of Time
- Watches now time on weekly or daily Base
- Switch to set weekly, daily or both
- Checks the IP (configurable)
- Add unused amount of time to the next day (configurable)
- Posibility to disable TimeKepper per Player
- Full configurable Messages in many Languages
- Works with Multiworlds
- Add Reload Config Command: /timekeeper
- Add Reset Time Command: /resettime
[DE]
- Überwacht die Zeit die ein user auf dem Server eingeloggt ist
- Kickt den Spieler wenn die Zeit abgelaufen ist
- Zeitkonten sind jetzt auf Wochen- und auf Tagesbasis anlegbar
- Schalter um Zeitkonen auf Wochen-, Tagesbasis oder beidem zu benutzen
- Prüft die IP (Konfigurierbar)
- Fügt nicht verbrauchte spielzeit dem nächsten Tag hinzu (Konfigurierbar)
- TimeKeeper für einzelne Spieler abschaltbar
- Frei konfigurierbare Texte in viele Sprachen möglich
- Arbeitet auch mit Multiworld
- Kommando zum Neuladen der Konfiguration hinzugefügt: /timekeeper
- Kommando zum Zurückseten der Zeiten hinzugefügt: /resettime
Requests:
- change ListAll to CheckTime ->
will beis avaliable since v0.6
see org Request - create a new Plugin that schedules the give command -> need more details to do this.
see org Request - make Update check configurable -> is avaliable since v0.13
The reason for rejection of Version 0.12 is: It must be possible to disable any auto-updating or update checking that the plugin does. - change Logger Function -> is avaliable since v0.14 (but v0.14 is never deployed)
see org Request
Configuration:
[EN]
[DE]
Known Bugs:
- Texts are not updated, on Update
as a workaround, delete all Entries in your config under Messages and reload - Player will be kicked if PlayerName contains special character like !§$%&*+- - fixed in Version 0.12
- Version: 0.15 saves wrong Playertimes - fixed in Version 0.16
Changelog
Visit this Page / Auf dieser Seite
Install
[EN]
As Simple as other Plugins
- Copy TimeKeeper.jar to the Bukkit Plugin Folder
- Restart the Server: >reload
- Better to Stop and Start again and not to use the reload command
- Modify the config.yml in the TimeKeeper subfolder.
Set Lang to EN or DE or Create an other Language (Don't forget to Add the Texts under Messages).
Set TimeAccount to your wanted Time - Reload timekeeper: >timekeeper
if you update from lower Version, you will get errors until you restart again!!
[DE]
Genau wie bei allen anderen Plugins auch.
- Die TimeKeeper.jar Datei in den Bukkit Plugin-Ordner legen.
- Den Server durchstarten: >reload
- Besser den Server stoppen und komplett neu starten
- Die im Unterordner Timekeeper liegende Datei config.yml anpassen.
Lang auf EN oder DE oder noch eine weitere Sprache anlegen.
TimeAccount auf die gewünschten Minuten setzen - TimeKeeper neu laden: >timekeeper
Wenn du von einer älteren Version updatest gibt es Fehlermeldungen, wenn du nicht erneut einen Reload machst
Source
[DE] Hier ist der Quellcode von / [EN] View the source of
Keywords
player, time, restrict, per day, per week, servertime, account, blance, keep, translateable, multiworld
@ThisUsernameIsMine
Lol @ this comment
Now something that prevents parents/admins/ops from 'playing' too long xD
genius plugin. this is why dad's are great.
@Zankla
Yes, you pointed out my consideration.
And yes again, I save the players name in the config.yml file. See the following example:
@vatrixxx
That could be, but I don't know. If there are some plugins using the same commands there could be a problem.
I use this for example with essentials or dynmap and have no problems.
For me, your question is too common to give you a detailed answer.
Sorry
@xclucky
With cronjob I mean cron or crontab and this is pure unix/linux a far as I know.
This sounds like something I would be very interested in. As my son can only play on my PC and on my server I do keep a close watch on him as ALL parents should. But what a handy way to say you have one hour a day and then BAM they are kicked when the hour is up. no more nagging for him to get off and fighting with him. let him clearly understand he has one hour and to keep track so he is in a safe place when the hour is up.
If I do this to his friends as well my Son can't complain the his friends are doing more stuff on the server then he is, as they will ALL have the same time perimeters on this server.
I can not control what others kids do on other servers but with this I can make sure my son doesn't feel left behind on the only server he can play on.
Do you assign players name to a configuration?
Zankla the Old
Is that plugin incompatible with any other plugins?
@Herz08
Thank you, once I figure out why my tekkit server will not boot normally (I have to somehow bypass the automatically configured java, and conditional statements are crashing it) I will go ahead and try these. Although, they seem as though they completely shut down the server. I am wanting my server to automatically start up again at 8:00am, I assume I could just make the script sleep 50400 whenever the server shuts off then loop back to starting up again (already provided by the script), however, I think this would cause a little bit of lag. I do not know what /conjob is though :/ I am assuming it is a folder that runs certain scripts at certain times. Is it Linux compatible?
@xclucky
Intresting Idea, but what about shutdown and restart the server by script?
I found this: http://dev.bukkit.org/server-mods/scheduledshutdown/
and this: http://dev.bukkit.org/server-mods/autoshutdown/
Then you need only a script with a conjob/ scheduled task starting the server again.
The idea is interesting, however, not exactly what I am searching for. I need a plugin that will prevent access to all players from my server between the hours of 6pm (eastern us time) and 8am (eastern us time). Could this feature be added or could anyone refer me to a plugin such as this?
well,who downloaded it may not even have kids,as for example it can be used in internet cafe,so after thier time is over thiey just DC and so on.i dont really care,you can do what ever you want with your time and resources,i just sayin' my point of view on this matter.it may help or not :P
@Nibelton Lol again, you catch me! I download this myself again and again to push the counter!
Did you understand this irony?
If you don't raise kids yourself, you can't understand I think, but the other parents of my sons friends loving it.
For me it works!
lol,i dont see why anyone except you want this type of plugin on thier server :P PS: who prevent them from playing on another server ? so there is no point in it
Well, then ur kids are going to get off from ur server very soon.