Online Time Logger
Note
Attention: Plugin Move
To allow for faster updates of this plugin, we have moved onto the spigot system for plugin development. This can be seen at http://www.spigotmc.org/resources/online-time-logger.338/
All future builds and updates will be posted there, and this will not be checked any further
Online Time Logger 1.1 MySQL support
Description
A simple online time logger, logs the players online time, you can set a 'backup' time ,and when it expires for a player , it will backup his/her stats, mostly the logged stats can be viewed in the 'config.yml' file and in the backup folder. Please do be aware that we do run plugin metrics so we can get a idea of how many people use this plugin!
Commands
/otl - /otl help >> Show help.
/otl stats <name> >> Show player online time stats.
Permissions
onlinetimelogger.admin >> Access commands.
Installation
Download latest file and put it to your 'plugins/' folder.
Then restart your server or load it with PlugMan or with other plugin manager.
This is a youtube video i have been given (Portuguese) so may be of help if you are struggling :) https://www.youtube.com/watch?v=pL6ruH-
Video Tutorial on the Plugin
https://www.youtube.com/watch?v=pL6ruH-dgqQ
Credits: (AbsintoJ/Online Time Logger)
@wesley023
It logs how long they have been online in total.
Does this log the times someone logged in or how long he is online in total?
@videosar64
Yea, its compiled in spigot 1.7.2. We will check for any bugs, but it should be cross version compatible anyway!
There is no Craftbukkit out now..
But Spigot :D http://ci.md-5.net/job/Spigot-1.7/
CraftBukkit 1.7.2? From where you downloaded it?
@vk222u
This should log it in either a YML or MySQL, and i think it only tells you how long someone has been online in hours...
I currently have a plugin request which I would like complete and this plugin is close to my idea, would you be able to add the stuff I need to use the plugin?
My request page: http://forums.bukkit.org/threads/hours-logger.135666/
Hello, can you add opportunity to command /otl stats <name>
Show stats for offline users?
What exactly does the Backup do?
Since its spamming:
28.08 18:03:05 [Server] INFO Backing up ikke1010
28.08 18:03:04 [Server] INFO Backing up Arunn
28.08 18:03:01 [Server] INFO Backing up michaeltje12
28.08 18:03:01 [Server] INFO Backing up NLGCemal
28.08 18:03:01 [Server] INFO Backing up lusanne11
28.08 18:03:01 [Server] INFO Backing up KarlHanse
28.08 18:03:01 [Server] INFO Backing up QsRxN30NzZ
28.08 18:03:01 [Server] INFO Backing up lie_damen
28.08 18:03:01 [Server] INFO Backing up kipopeenstokje
More and More ..
[Edit] It's also Backup up offline players
Overflow my SQL DB when User is not Online
Please Fix It so Only Online logged onlime >0
@AK139
I agree with this. It would be very nice.
@bloodless2010
Unless i am mistaken you will loose it, however i have only just taken over the project and i have yet to have a chance to actually look into the code properly.
Hi, i have a question. If this is already installed and has been working for awhile, and I decide to update it to MySQL, will it delete everyones progress? or will it inject everyones progress into the mysql database? Thanks!
very good plugin has as every hour online player to win an EXP?
I have a suggestion. I am using this plugin for my server but I am wondering if u could do these things, daily, weekly and monthly timing. Show when the player first joined the server.
Thanks, AK139
16:59:56 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin OnlineTimeLogger v1.2 generated an exception while executing task 1365 at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.NullPointerException: Nodes must be provided. at org.yaml.snakeyaml.nodes.NodeTuple.<init>(NodeTuple.java:29) at org.yaml.snakeyaml.representer.BaseRepresenter.representMapping(BaseRepresenter.java:171) at org.yaml.snakeyaml.representer.SafeRepresenter$RepresentMap.representData(SafeRepresenter.java:201) at org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepresenter.java:96) at org.yaml.snakeyaml.representer.BaseRepresenter.represent(BaseRepresenter.java:66) at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:270) at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:261) at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:233) at org.yaml.snakeyaml.Yaml.dump(Yaml.java:209) at org.bukkit.configuration.file.YamlConfiguration.saveToString(YamlConfiguration.java:38) at org.bukkit.configuration.file.FileConfiguration.save(FileConfiguration.java:54) at org.bukkit.plugin.java.JavaPlugin.saveConfig(JavaPlugin.java:129) at me.newboy.OnlineTimeLogger.UserManager.saveUsers(UserManager.java:23) at me.newboy.OnlineTimeLogger.UserManager.backUpIfNeeded(UserManager.java:35) at me.newboy.OnlineTimeLogger.OnlineTimeLogger$1.run(OnlineTimeLogger.java:74) at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
please add some option like top, monthly -time, weekly-time and day-time
Very good plugin!
Can user have access to this command? I only can use it in my bukkit terminal
my database host requires the Ip used by this plugin to access the database I am trying to connect to, I sent them my ip and it still wont connect to their database, I have done everything they have said to get it set up, and now I am hoping anyone here can help me.
-Vk