Hi everybody!
I've programmed for a few days on my Chestlogging plugin and it works very well right now. It logs the accessed chests by creating a file that is named with the exact location of the chest. Here's a little presentation what a chestlog file looks like with 2 clicks. The text with the // are only Comments and will not displayed in the real logfile.
// Filename:110,71,-110.log (X,Y,Z of the chest)
[CHESTCLICK]
Player: Steven1811
Time: 15:52:17
Date: 3.6.2011
Amount of Itemstacks: 1
Inventory Items:
CHEST,62,2 //Materialname,Amount of the stack,Position in chest (1 is the first position)
[CHESTCLICK]
Player: Steven1811
Time: 15:52:21
Date: 3.6.2011
Amount of Itemstacks: 2
Inventory Items:
CHEST,62,2
DIRT,3,24
Functionality:
What's planed?
Please post suggestions for the plugin. I'll put it up on Github and on the bukkit website some days or earlier later.
I've programmed for a few days on my Chestlogging plugin and it works very well right now. It logs the accessed chests by creating a file that is named with the exact location of the chest. Here's a little presentation what a chestlog file looks like with 2 clicks. The text with the // are only Comments and will not displayed in the real logfile.
// Filename:110,71,-110.log (X,Y,Z of the chest)
[CHESTCLICK]
Player: Steven1811
Time: 15:52:17
Date: 3.6.2011
Amount of Itemstacks: 1
Inventory Items:
CHEST,62,2 //Materialname,Amount of the stack,Position in chest (1 is the first position)
[CHESTCLICK]
Player: Steven1811
Time: 15:52:21
Date: 3.6.2011
Amount of Itemstacks: 2
Inventory Items:
CHEST,62,2
DIRT,3,24
Functionality:
- Creating log files of Chests
What's planed?
- Rollback the chest inventory to an earlier date
- Get access to the log files ingame with a specific item by using a command
- Performance improvements
- Autodelete old logfiles that is configured in the configuration file
- Store the data into an SQL database
Please post suggestions for the plugin. I'll put it up on Github and on the bukkit website some days or earlier later.
Last edited by Steven1811 on 2011-06-04, 02:58; edited 2 times in total (Reason for editing : New Idea)