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/
@javoris767
Claps for what? And it should work on 1.3.1. R2
@McLuke300
Clap clap clap... P.S: Why you no make it 1.3.1-R2 >:[
Thanks for the update!
@MaMasToast
now it keeps changing to root, ot going to bother with mysql
Unlike some of the other loggers I have tried (like LogBlock), this worked from the moment it was installed. Not as fancy as some loggers claim to be, but it works with no effort. I love the fact that you can log on certain blocks aswell (very usful).
Thanks to the Dev's ;o)
I never knew that my plugin was on here aswell :D I'm glad that it has worked for you :D
@breezeyboy
Try doing MySQL: More Information Below Enabled: true Server: 127.0.0.1:3306 Database: minecraft User: root Password: ''
I host mysql database local and it dont have a password but when i remove the password in the config, it comes back with the default
@auskie
Very detailed thank you :D
@numanumajosh
My tester found that it will use about 9mb of memory on your server as quoted from the comment below.
@numanumajosh
In our limited testing on craftbukkit-1.3.1-R1.0.jar (linux), PlayerLogger has an average 9 megabyte resident memory footprint on our production server. There is negligible CPU utilization.
Disk IO is typically the most expensive resource hit with any plug-in which writes to disk, so actual performance would likely be related to the type and/or IO throughput of your hard disk and/or controllers.
We would love to hear about other real-world benchmarks, so post up!
Testing Update:
Tested v2.6 on craftbukkit-1.3.1-R1.0 using flat file logging and MySQL. Both standalone (as the only plug-in installed) and performed limited compatibility testing with the following plugins:
CraftIRC, WorldEdit, Towny, Glowjoin, AutoGamemode, PermissionsEx, ChunkVisualizer, TimedMessages, Questioner, SwornJail, HomeSpawnPlus, TownyChat, BOSEconomy, ShowCaseStandalone, and Register
@numanumajosh
I have made various performance tweaks to it through the updates but the real test is actually using it. So if you want give it ago and it if causes lag spikes then comment!
How much memory will this use?
I've tried CCLogger, and it caused
horrible lag spikes on my server.
Will this be different?
@jeffjones33
Confidant settings please and what is the problem. With chatmanager?
Is there any reason the this logs my ConsoleLog and not the players?
Looks like it had a problem with bChatmanager
@auskie
Really? Chat still works as in 1.3 I thought they changed it from playerchatevent to asyncplayerchatevent but maybe I'm wrong I will test in a few days :D
@McLuke300
Thank you, seems to work fine!
Also thought I would let you know PlayerLogger 2.4.1 seems to be working fine on the latest dev release of CraftBukkit 1.3.1-R0.1 - Will keep you posted. I will probably test 2.5 later tonight.
Thx again for your work on this plugin.
Aus
Added Ticket support at top and also a forum at the top if anyone wants to check it out.
@Enrux
I made a plugin called StaffLogger which only logs staff but I never released it but I am adding a config Log.LogOnlyStaff whcih when true Will only log staff on the file and/or MySQL