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
Ok und gibt es ein anderes plugin welches diesen zweck auch erfüllen würde mit einer wochenbeschränkung
@Herby00711
Hallo, grundsätzlich hat der Timekeeper auch für mehrere Spieler funktioniert. Wie du sehen kannst wurde diese Version aber über 2 Jahre nicht mehr gepflegt und es ist möglich das sich die Api geändert hat und darum die ursprüngliche Funktion nicht mehr vorhanden ist.
Gruß Herz08
gibt es eine Möglichkeit dieses plugin für mehrere spieler zu benutzen. Bei mir wird die zeit immer von einem account abgezogen und es gibt auch nur einen account (der von mir) in der config.
@dude22072
No, this is not possible and was not in focus. Sorry for that.
Is it possible to limit time in one world, after which it kicks them to another world?
Anyone know if this is working with 1.6.4? I'll certainly try it but I'm interested in other's experiences.
[EDIT]: Well there wasn't much activity reflected in the thread so I decided to go ahead and try it. It appears to work fine although I've come up with a list of suggestions/feature requests and am wondering if the dev is still around and updating this?
[EDIT #2]: At what time does the plug-in grant the user another day worth of time credit and if carry over is enabled, tack that on? I assumed it would be midnight but 40 minutes later I am still waiting for something to happen. :-(
Are there in-game commands for this plug in? I can't seem to see anything about them. Also, how do you set different players to different time limits, or no limit at all?
Before I install the plugin I need to know this.
It may be what I'm looking for to limit children's time on a family server. I tried Anti Addict, but it was complex and bugged.
@rfry11
Hi rfry11,
New Version is submitted, waiting for approve. So have fun with the plugin an leave a message if it works fine for you.
Best Regards Herz08
@rfry11
Hi, thank you for your Information. I will submit a new Version in the next days Regards Herz08
Loaded this up on my server running the latest version of bukkit, and no dice. Doesn't appear to load.
EDIT:
Noticed that the license is public domain and that the developer hasn't logged in since November 2012, so I took a look at my server's logs and noticed that there were a ton of errors being thrown up by getLogger, a method that I believe has been changed in a recent update to bukkit. After commenting anything related to getLogger out and rebuilding the jar, the plugin now works on the latest stable build of Bukkit.
I've uploaded both the Jar file and a zip file containing the new .java files to my Google Drive.
Link to Download Jar
Link to Download Source
Keep in mind that if the original developer comes forward and updates this plugin, my update may not work correctly with his auto update system, etc, etc. I have no idea how it may act in the future. I also do not claim any technical support for this plugin, I did not change any of its programming or features in any noticeable way and all of the developer's documentation should work just fine for this plugin.
Also, huge thanks to triarry, without whom this wouldn't have been possible.
Wow, echt cool :D !
PS:
Zu deinem Update: Deine Söhne können sich nur mit einem anderem Namen einloggen, wenn sie einen anderen Account haben, ODER in den server.properties online-mode=false ist. Denn dann können sie sich mit "cracked"-minecraft einloggen ;)
After trying your test and doing some more testing it appears that the issue is when a user disconnects it resets the enable flag to true. I would hope that this is not an expected behavior? I would expect the enable flag to retain its setting. Also I think it would make better sense to have resettime only affect the time part of the config file and have a separate command timeenable say that would toggle the enable / disable flag and or have a timekeeper.bypass permission that would bypass the time limits.
@MoonPie2000
Hi Moon,
I checked the reset and the reload command and it works as it should. Can you please doublecheck?
I made these Steps:
then alternative log in player 1 and follow the other steps.
still everything was fine
So please list your steps, so that I can follow.
Best Regards Herz08
Just a small niggle - in the log when booting the plugin report version 0.1 and it says that a newer version of 0.10 is available.
Love the plugin. :D Have .10 working on a 131 R2.0 server however I am having an issue with the settings being reset in the config.yml file also I have a few suggestions.
When I edit the config.yml file, specifically the enabled=false option, then do a reload or reset it converts back to true (have not tried all variations but can include specific combinations if needed). Other settings also will not stay such as timeacount settings for any group including default. It is like the config.yml file gets rewritten with default settings instead of just timeaccount and join time settings in case of reset and in the case of the reload the config.yml should only be copied to memory and not modified at all.
Also a few suggestions - - Can you provide a '.bypass' permission so groups, i.e admins, are not affected by time limits instead of having to edit config for each group member?
-Can you add an option to individually control daily, weekly, weekend limits for groups? For instance I would like to limit my Sons to 1 hour of play each week day but allow them 4 hours on weekends while allowing general players 4 hours everyday and allowing another group no weekday access but unlimited weekend access. The first variation, my Sons group, is of most interest to me.
Will this be compatible with 1.3.2 Rx.x release when becomes RB?
Don't teach them to un-install plugins :)
I am assuming english isn't your first language.
@Herz08
Well of course it is the check IP setting that makes perfect sense and probably why I failed to do so
Again, Thanks for you quick reply, and keep up the good work
Zankla the DUH
@Zankla This is the Check of the Ip-Adress. If more than one User will use the same Computer you must disable this Feature
CheckIP: false
in the config.yml and if you using v0.8 just use the command /timekeepeer
One issue I am having is because my son will sometimes use my computer. when I go to log on I will get a message that says something to the effect. I see {my sons username} you are logging in on a different account. and wont let me on. I know you have thought of this and I just need to know what I am missing in the config