ItemsLogger 1.1.0-SNAPSHOT A Minecraft plugin to systematically store and view player items and player info asynchronously. MySQL support.
Supported Minecraft Versions: 1.13 - 1.21.x
Player Data Logged:
Inventory
Cause of log
Coordinates
Experience
Date
Time
Log Events:
On Join
On Quit
On Death
On Server Restart
Commands:
/itemslogger reload - Reloads config
/itemslogger [player] <date> <cause> <index> - Returns latest list of logs of specified player. Can also specify date, cause and index.
/openitemslog [player] [view|open] [date] [time] - Returns player data of specific log or opens logged inventory depending on [view|open]. Use command through previous command's hover event for ease of use.
Permissions:
itemslogger.log - Only players with this permission will be logged.
itemslogger.search - Gives access to second command which retrieves the list of logs.
itemslogger.view - Gives access to /openitemslog.
itemslogger.reload - Gives access to reload command.
Code (Text):
debug: false
#Database config
mysql:
hostname: localhost
port: 3306
username: root
password:
database: 21C
daysToRetainLogs: 30 #deletes logs older than X days. Set to 0 to never delete.
logTypes:
death:
enabled: true #logs player when they die
restart:
enabled: true #logs all players when server restarts
join:
enabled: true #logs player when they join the server
quit:
enabled: true #logs player when they quit the server