Seen
THIS PLUGIN IS 1.1-R5 COMPATIBLE.
Ever wanted to know when someone was last playing? With seen, you can find out when the person was last on the server, specifically their last logout time, down to the minute. Anyone can use it to find out if their friend had just gotten off, or when the server admin was last online. If you want to find out when a player's first connection to the server was, that info is also available via /seen.
Server admins can also use this plugin to find any players that might have quit playing on the server, and delete any info, files, locks, or anything that is taking up space that is associated with the player.
If your a complete nerd, you can see how long you have spent on the specific server by using /playtime.
Features:
- Instant updating of player's last seen times
- Down to the minute reports
- Get the first login time of any player on the server, including yourself.
Commands:
- /seen <username>
- /playtime
Installation: Click here for installation.
Examples:
Command input: /seen thepenguinstrike
Output:
Command input: /seen greener13
Output:
Command input: /seen notch
Output:
Command input: /playtime
Output:
Contributors:
Plugin Testing:
Vector
Wrkz
Changelog:
Version 1.1
- Now displays a FIRST LOGIN time for the player on /seen.
- Added the command /playtime, which tells you how long ago you first connected to the server.
Version 1.0
- Did an entire revamp of the way time works in Seen. NOTE: YOU WILL NEED TO DELETE YOUR CONFIG FILE IN Plugins/Seen/Config.yml FOR THIS TO WORK. IF YOU DON'T, PLAYERS WILL GET SERVER ERRORS WHEN ATTEMPTING A /SEEN ON A PERSON THAT IS IN AN OLD CONFIG FILE.
- Server now tells you how long ago they were on, which can be anything from Minutes to Days.
- Optimized a lot of the code and debugged.
- Pushed to a 1.0 release. (Don't really know why I didn't do that before)
Version 0.2
- Fixed various issues with the clock and the way it gets the time. I'm still not 100% if the method I'm using will work on every server which could lead to a complete revision of that soon.
- Added an online statement, so that if a player is online it wont tell the person the last time they logged out, but rather say "[USERNAME] is online now! Say hey!
- Fixed the plugin to work with chat-formatting plugins. It now only gets the true user name, not the display name.
Version 0.1
- First Release!
This appears broken with 1.7.x, hung my server at startup once and then throws when doing /playtime. Bummer.
@yopugiscool
You're not doing anything wrong, however this plugin was created so that the sender is supposed to be a player, and the author did not add code to send the console a certain message if the sender is not a player, so the plugin just gives you the error code.
Is it possible for you to add console support? This is one of the best plugins out there, except it gives me this error when I try to run the command via console.
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchServerCommand(CraftServer.java:512) at net.minecraft.server.v1_6_R2.DedicatedServer.ar(DedicatedServer.java:262) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:227) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_6_R2.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at net.h31ix.assistant.Assistant$1.onCommand(Assistant.java:48) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more
If I'm doing something wrong please let me know, I believe though, I have it set to auto update so I believe that I am up-to-date. Thanks, yopugiscool
@daboross
This plugin should override other plugins with that command or function. I'm guessing that you have essentials installed? For me, this plugin overrided it.
When you do the new Version for minecraft 1.5.2?
Could you please add alias? Those 2 commands are taken by other plugins I have... Could you add things like /sseen and /splayertime that do the same thing as /seen and /playertime
This works with 1.4.5! Could you please add compatibility for command via console?
@Woodstok
The + is the first login, and this was my first plugin so it was a pretty crappy job at storage. And no, it's stored in the current system time, so it really cant be edited unless you know what you're doing.
I can see how this is coded using one of the player classes and doesn't seem too complicated, anyhow great job i really like the concept and was playing with the idea myself.
Great plugin! Works perfectly and installed faultlessly but I just have one or two questions for you. In the config.yml file where each player is listed with two lines ie:
username: 12345678 username+: 12345678
Firstly, which is the 'first seen' and which is the 'last seen' value? And secondly, I have had my server running for a considerable amount of time before finding this plugin and thus, the 'first seen' values do not correctly represent when we were first on the server. I understand this would be impossible for the plugin to know since it was only recently installed and therein lies my question. Is there a way of converting the values to real dates or vise verse so I can adjust them accordingly?
Cheers.
@gravity_low
Thanks a lot, great plugin! :)
@Beaupedia
Have you tried it on yourself? It should return a witty remark about how you are trying to find yourself, I just tested it and it shouuuldd be working, there's nowhere in the plugin that uses the built-in usage system, so I'm guessing its something on your end.
Also, please make sure you are using the latest build (v1.3) and try restarting your server or deleting your folder and the restarting.
No matter what I type in all I get is a reply of "/seen username".
I am typing in /seen and a username, but nothing. Any suggestions?
@ThisUsernameIsMine
@Lukeski14
Just pushed a fix for this to BukkitDev. It will be online soon in Seen v1.3
@ThisUsernameIsMine
I am getting the same error.
Hmm, i'm getting the following: SEVERE Error occurred while enabling Seen v1.0 (Is it up to date?): The embedded resource 'config.yml' cannot be found in plugins\Seen-1.2.jar
There's only a plugin.yml inside the jar and it says version 1.0 :S
(tested under RB 1.1-R4)
:D Great plugin :D