1

Custom Logging - BUKKIT PLUGIN REQUEST

hatten33 6/24/13 12:12 am
319
6/25/2013 12:33 pm
Hello. Today I am requesting a custom plugin which takes events that happen on the server (Commands, chat, joins, etc) and then puts them in a separate log file so they may be accessed more easily. This would be useful to keep an eye on your staff, find suspicious activity from your donators, and log chat and commands separately in a convienent location. I have example files and configs and whatnot down below. The config is structured as to how I'd prefer to have it. If I've structured something blatantly wrong, fix it please, unless it's not that big of an issue. Successful completion of the plugin will result in a reward of some sort to be discussed when necessary.
Thanks in advance.

THIS IS A BUKKIT PLUGIN.

config.yml

reset: 7
#In days ^
log:
chat: true
commands: true
combined: true
players:
hatten33:
chat:
log: true
commands:
logall: false
custom:
- ban
- kick
- mute
joins:
log: false
IP:
log: true
ryan25251:
chat:
log: true
commands:
logall: true
custom:
joins:
log: true
IP:
log: true
Example File

commands.txt
[06/20/13 (23:18:39)] ryan25251: /ban hatten33 Banhammered!
[06/20/13 (23:18:56)] ryan25251: /spawn
[06/20/13 (23:19:40)] ryan25251: /op Im_A_Griefer
#[MM/DD/YY (Hour:Min:Sec)]
#Because this is ryan25251's commands.txt, and the config specifies to log all of his commands, all commands are logged. If this were hatten33's file, only the commands specified would be logged.

Example File system
#All logs are renamed to chat.mm.dd.yy etc after set amount of time. Date is the date that the file was replaced.
./plugins/CustomLogger/logs/combined.txt
./commands.txt
./chat.txt
./plugins/CustomLogger/players/hatten33/chat.txt
./joins.txt
./IP.txt
./commands.txt
./players/ryan25251/chat.txt
./joins.txt
./IP.txt
./commands.txt
Posted by
hatten33
Level 28 : Expert Architect
20

  Have something to say?

JoinSign in

4

hatten33
06/25/2013 12:33 pm
Level 28 : Expert Architect
Add me on Skype- jentagh.syos please
1
hatten33
06/24/2013 11:55 am
Level 28 : Expert Architect
Can you read? " Successful completion of the plugin will result in a reward of some sort to be discussed when necessary.". Are you interested?
1
nickfromgreece
06/24/2013 1:20 pm
Level 54 : Grandmaster Programmer
Ah sorry i misunderstood, yes i am interested
1
nickfromgreece
06/24/2013 9:14 am
Level 54 : Grandmaster Programmer
And why should someone make that for nothing?
1

Welcome