PlayerLogger
PlayerLogger

Version: 2.9.1
CraftBukkit Build 1.5.1-R0.1 [Not Tested]
Info
Info This plugin lets you store every block place, block break, chat msg, command, enchant, kill, sign text etc. So, if you need proof of something just look them up! You can turn on and off what you actually want or don't want to log, in the main configuration file! The main developer is Kuuichi. I am just continuing and adding stuff. I am obligated to continue this plugin. The forum is http://forums.bukkit.org/threads/admn-playerlogger-v0-7-logs-of-your-players-1-2-5-r0-1.58959/ and has been accepted.

Video
Great video made by Brandon Hopkins
Features:
- Chat Logging
- IP Logging ( Implemented by Mcluke300 )
- Join Logging
- Quit Logging ( Implemented by Mcluke300 )
- Command Logging
- Death Logging
- Console Logging ( Implemented by Mcluke300 )
- Blacklist Block Logging ( Implemented by Mcluke300 )
- Sign Text Logging ( Implemented by Mcluke300 )
- Pvp Logging ( Implemented by Mcluke300 )
- Enchantment Loggin ( Implemented by Mcluke300 )
- Commands not to log ( Implemented by Mcluke300 )
- Bucket Logging ( Implemented by Mcluke300 )
- Metrics
- MySQL support
Log Example
[World One]McLuke300 joined: 192.168.1.101 (-27 64 220) (06-26-2012 20:03:48)
[World One]McLuke300 Killed TestyWestie (-18 64 220) (06-26-2012 19:37:30)
[World One]McLuke300 said: Example chat (-21 64 220) (06-26-2012 20:02:06)
[World One]McLuke300 command: /home (-20 64 219) (06-26-2012 20:02:08)
[World One]McLuke300 Sign: [McLukes][Home][][] (-22 64 222) (06-26-2012 20:02:22)
[World One]McLuke300 command: /give McLuke300 46 1 (-22 64 223) (06-26-2012 20:02:26)
[World One]McLuke300 Placed: TNT (-26 64 218) (06-26-2012 20:02:28)
[World One]McLuke300 Placed: TNT (-26 64 219) (06-26-2012 20:02:29)
[World One]McLuke300 command: /god (-32 64 212) (06-26-2012 20:02:36)
[World One]McLuke300 command: /suicide (-26 64 216) (06-26-2012 20:02:39)
[World One]McLuke300 Died. (-26 64 216) (06-26-2012 20:02:40)
[World One]06-26-2012 20:03:21 [McLuke300]ItemStack{STONE_SWORD x 1} {Enchantment[16, DAMAGE_ALL]=1} Xp Cost:3
[World One]McLuke300 Emptied Bucket of Water (-26 63 224) (06-26-2012 20:08:53)
[World One]McLuke300 Emptied Bucket of Lava (-26 63 221) (06-26-2012 20:08:54)
[World One]McLuke300 quit: 06-26-2012 20:03:45)
[Console]kick McLuke300 05-27 03:46:42
Config
File: LogToFiles: true //False if you want to use just mysql Log: //Log Joins PlayerJoins: true // Log Player quitting PlayerQuit: true //Log Chat PlayerChat: true //Log all Player commands PlayerCommands: true //Log Player deaths PlayerDeaths: true //Log enchantments PlayerEnchants: true //Log Pvp Pvp: true //Log Buckets Placed PlayerBucketPlace: true //Log Console commands ConsoleCommands: true //Log Player sign text PlayerSignText: true //A reload of server is required for this to take effect http://docs.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html DateFormat: MM-dd-yyy HH:mm:ss //If this is true it will make the folder Playerlogger/Staff and all players with the Playerlogger.staff permission will be in there not Users SeparateFolderforStaff: true //False by default- Useful for offline servers where players can change capitalization in name and have a different file. All file names are in lowercase PlayerNamestoLowerCase: false //When true it will only log the players with the playerlogger.staff permissions LogOnlyStaff: false BlackList: LogBlackListedBlocks: true //Enables logging of blacklisted blocks Blocks: - '7' //Bedrock Block id - '46' - '57' - '*' //This will log all block place and breaks Commands: BlackListCommands: true //Enables Command Blacklisting (eg.wont log) BlackListCommandsForMySQL: true If this is true and blacklistcommands false it will blacklist commands for mysql and not files. CommandsToBlock: - /login //Wont log /login - /changepassword - /register MySQL: //More Information Below Enabled: true Server: 127.0.0.1:3306 Database: minecraft User: root Password: '0000'
MySQL
For a full guide on how to use MySQL with playerlogger look at the page for it. http://dev.bukkit.org/server-mods/playerlogger/pages/mys-ql/
-
View User Profile
-
Send Message
Posted Jul 25, 2012@Strahan201
Would the coordinates I used be ok or should I put them in separate x y z columns.
-
View User Profile
-
Send Message
Posted Jul 25, 2012@McLuke300
lol, I should've read _all_ your replies before posting my last msg, heh. Yea, something like that would be fine. Unix time wouldn't bother me one bit. I'd just add world as well and don't forget you need an indexed field too, like a generic "id" that auto incs.
-
View User Profile
-
Send Message
Posted Jul 25, 2012@McLuke300
Well, I'd probably do it like this. I'd make a table "logdata" or something and break it down as follows (field name, data type):
id, int (auto inc, indexed)
userid, text
action, int
when, datetime
x, int
y, int
z, int
world, text
data, text
Action would be some sort of identifier to show what was done like 0 = login, 1 = logout, 2 = chat message, 3 = pvp, etc. Data would be something that relates to the action; like if action was 2 for a chat message, data would = what was said. If it was PVP, data would = whom was killed. The rest of the records are self-explanatory.
-
View User Profile
-
Send Message
Posted Jul 25, 2012@Strahan201
I'm planning on adding this with the fields Playername type time location data
For example Mcluke300 chat 27262617 20/87/-74 "can I have op please"
The time will be in unix for ease of use.
Would this be what you want? What would be a better way to store the location? And what wold I store if there isn't a location eg.login.
@berti2k
-
View User Profile
-
Send Message
Posted Jul 24, 2012@zombiegun71
Thanks :D
-
View User Profile
-
Send Message
Posted Jul 24, 2012@fredghostkyle1
Thanks
-
View User Profile
-
Send Message
Posted Jul 24, 2012@srakath
Did you set up the config correctly? Are there any errors in console? What Actually happens? Does it make a file and leave it blank, Do no files appear, Is there no PlayerLogger Folder?
Make a ticket with all the information if the problem persists.
-
View User Profile
-
Send Message
Posted Jul 24, 2012@Strahan201
@berti2k
Im new to MySql Would you want the whole line in one row thingy or would you want them all separated eg row for name, time, world, the command used etc.
-
View User Profile
-
Send Message
Posted Jul 24, 2012@Hans6666
Cool, I never knew it logged npcs from the Plugin, But I suppose according to bukkit the npcs are players aswell :D
-
View User Profile
-
Send Message
Posted Jul 23, 2012For some reason it is ONLY logging op and console.
-
View User Profile
-
Send Message
Posted Jul 22, 2012+1 to the request for MySQL support. Like berti2k I am a web dev and I'd faaaar, faaaar prefer to write a SQL query than to have to parse a text file for my site to see logins/logouts.
Thanks!
-
View User Profile
-
Send Message
Posted Jul 22, 2012playerlogger does log NPC´s (Citizens)..lol quite funny i have a npc in pvp and in the log he got killed 400 times :D
-
View User Profile
-
Send Message
Posted Jul 18, 2012Hi there, i like this mod but think a support for MySQL could be usefull. I write a management website for my server so the other mods/admin can read things like home points and such a thing. If there's a support for MySQL you could use simple SQL statments to search for a lot of thinks and use it on websites.
-
View User Profile
-
Send Message
Posted Jul 17, 2012good plugin :)
-
View User Profile
-
Send Message
Posted Jul 17, 2012cool plugin, i like how it is Flat File. thanks!
-
View User Profile
-
Send Message
Posted Jul 12, 2012This project is now mcluke's! Have fun -_-
-
View User Profile
-
Send Message
Posted Jul 9, 2012@KelvinKam
The * should work
-
View User Profile
-
Send Message
Posted Jul 9, 2012I already set my blacklist to this:
but it still won't log all blocks, so i do this...
then it can log all blocks now, but do you have better solution? and why i can't use that '*' ? thank you very much
Sorry for my english, i'm hong kong
-
View User Profile
-
Send Message
Posted Jul 8, 2012@KelvinKam
Thanks bro :P
-
View User Profile
-
Send Message
Posted Jul 8, 2012@KelvinKam
Thanks! :D