CrazyOnline
Version 7.1
Description
This plugin tracks players login/logouts and counts onlinetime.
Features
- Lightweighted.
- Five commands to get all information you need.
- Integrated Config, Flat and MySQL-Database support.
- Integrated Logging support.
- Integrated CrazyPipes support.
- PluginAPI available
Requirements
- CrazyCore (Version 10.7.1 or later)
Sub-Plugins
Config
Commands with their Permissions
Languages
- en_en (English)
- de_de (German - Deutsch)
- es_es (Spanish - Español, thanks to Sirikon)
- fi_fi (Finnish - Suomi, thanks to suomenlippis)
- nl_nl (Dutch - Nederlands, thanks to blipman17, jekeke123)
- pl_pl (Polish - polski, thanks to MegaManNT)
- ru_ru (Russian - русский, thanks to kilolife, SannyOK)
(Please post additional translations here, so i can share them to everybody!)
@TheOneMadHawk
I checked. The server crashes. when I installed crazylogin and / or (alternatively) crazyonline. This means that both plugins are something wrong. I checked it by removing the following plugins from the server and reset it every time.
The following plugin is not working. An error has occurred:
@Maluzis
Is this issue connected to the dev build of CrazyCore?
Try this build:
[Link outdated]
Are you sure this problem is connected to CrazyOnline?
15:03:56 [INFO] CONSOLE: Stopping the server..
15:03:56 [INFO] Stopping server
15:03:56 [INFO] [Factions] Disabling Factions v1.6.8
15:03:56 [INFO] [Factions v1.6.8] Disabled
15:03:56 [INFO] [CrazyOnline] Disabling CrazyOnline vC7.5_4.3
Plug blocks the server down. Stops on the information given above.
@suomenlippis
Ok thanks uploaded.
Finnish translate: http://dev.bukkit.org/paste/5624/
I hope you make more your awesome plugins!
@TheOneMadHawk
I wanted to have all the players at one table. :->
@Maluzis
Thanks! There's another bug. I am usigin mysql tables.
First of all:
Why are you using the same table for CrazyLogin and CrazyOnline?
I'll will update that.
@TheOneMadHawk
Thanks! There's another bug. I am usigin mysql tables. When i logging in console show this:
14:08:13 [SEVERE] java.sql.SQLException: Field 'crazy_FirstLogin' doesn't have a
default value 14:08:13 [SEVERE] at com.mysql.jdbc.SQLError.createSQLException(SQLError.j ava:1073) 14:08:13 [SEVERE] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java: 3593) 14:08:13 [SEVERE] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java: 3525) 14:08:13 [SEVERE] at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
14:08:13 [SEVERE] at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:21 40) 14:08:13 [SEVERE] at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl. java:2620) 14:08:13 [SEVERE] at com.mysql.jdbc.StatementImpl.executeUpdate(StatementI mpl.java:1662) 14:08:13 [SEVERE] at com.mysql.jdbc.StatementImpl.executeUpdate(StatementI mpl.java:1581) 14:08:13 [SEVERE] at de.st_ddt.crazylogin.LoginPlayerData.saveToMySQLDatab ase(LoginPlayerData.java:158) 14:08:13 [SEVERE] at de.st_ddt.crazyutil.databases.MySQLDatabase.save(MySQ LDatabase.java:302) 14:08:13 [SEVERE] at de.st_ddt.crazyutil.databases.MySQLDatabase.save(MySQ LDatabase.java:1) 14:08:13 [SEVERE] at de.st_ddt.crazyutil.databases.BasicDatabase.saveAll(B asicDatabase.java:57) 14:08:13 [SEVERE] at de.st_ddt.crazylogin.CrazyLogin.save(CrazyLogin.java: 276) 14:08:13 [SEVERE] at de.st_ddt.crazyplugin.CrazyPlugin.onDisable(CrazyPlug in.java:201) 14:08:13 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug in.java:217) 14:08:13 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin (JavaPluginLoader.java:363) 14:08:13 [SEVERE] at org.bukkit.plugin.SimplePluginManager.disablePlugin(S implePluginManager.java:400) 14:08:13 [SEVERE] at org.bukkit.plugin.SimplePluginManager.disablePlugins( SimplePluginManager.java:393) 14:08:13 [SEVERE] at org.bukkit.plugin.SimplePluginManager.clearPlugins(Si mplePluginManager.java:434) 14:08:13 [SEVERE] at org.bukkit.craftbukkit.CraftServer.reload(CraftServer .java:522) 14:08:13 [SEVERE] at org.bukkit.Bukkit.reload(Bukkit.java:182) 14:08:13 [SEVERE] at org.bukkit.command.defaults.ReloadCommand.execute(Rel oadCommand.java:22) 14:08:13 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo mmandMap.java:166) 14:08:13 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr aftServer.java:479) 14:08:13 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchServerComm and(CraftServer.java:475) 14:08:13 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServe r.java:612) 14:08:13 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServe r.java:581) 14:08:13 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer ver.java:459) 14:08:13 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour ceFile:492)
PS: It's the same with other tables. They don't updating selfs.
@Maluzis
Can you add an option to disable display of information in the chat when you log on? This plugin is great for displaying information on the site.
There is a permission for that
set in plugin yml
crazyonline.since.auto: false
or in your permissions plugin.
Maybe i will add an option for that.
EDIT: Added in v4.2
Can you add an option to disable display of information in the chat when you log on? This plugin is great for displaying information on the site.
PS: Respect for the work!
@kozzy68
does it tracks also successfull register and unregisters ?
its independent from CrazyLogin
Another idea if you could add export feature to log or export data CSV file ?
how about saveType flat? flat is already like csv (|=,) if you use mysql or config just change it to flat and then back to your old one.
event,username,ip,time
Currently i do no log any events like this i just count online time and first/last login and lastLogout
But i already thought about adding a join/quit log (CrazyLogin will get that feature soon too)
does it tracks also successfull register and unregisters ? Another idea if you could add export feature to log or export data CSV file ? you would not need to do any top 10 or other commands cos I can think of 100 kind of stats that I could make out of this. Insead people can do various stats temselfs simply by loading csv to excel or some db. Personaly Im using log parser and will load auth data into db or ms access and there I have lot of reports made by me. Problem is each time plugin changes or log formating changes I have to change parser. format could be like : event,username,ip,time
@TheOneMadHawk @TheOneMadHawk
That looks great, thank you very much (:
@dandelion02
Top10
will be added. Didn't thought about it yet.
Any preferences?
Nice plugin, very handy. Is there any chance of a "Top 10" style list? That would really improve is usefulness in my opinion.
Added auto unitshifting to player info
time>2 days =>days+hours
time>2 hours =>hours+minutes
else =>minutes
support for MySQL or Sqlite?
I currently don't know how to make this, but i'll read some tutorials.
May take some time to learn that
Does anybody know a good tutorial for that or an open source plugin using that?
EDIT: I change the plugins now to work with my databaseframework. After that the mysql implementation will be added!
This is exactly what were been looking for for a while!
but do all your plugins use plain text for logging? if not would you add support for MySQL or Sqlite?
About the question you had. Maybe use higher units so it wont be like 45997 minutes online playing time etc. maybe have it show two units at same time, or a larger unit.
Nice idea, I'll write this as soon as i can.
Done!
http://dev.bukkit.org/server-mods/crazypromoter/
This is perfect for my server. Any chance of seeing a CrazyPromoter that can work with this? So once a player has played for a certain amount of time they get promoted to a different group in permissions.
Yes, it is. Maybe i'll add the unit in the language files.
If you cannot wait:
CrazyOnline/lang/en_en.lang:
or shall i add other timeunits? Like Hours/days? automatic unit shifting?