BlockLog [Timber API] icon

BlockLog [Timber API] -----

Powerful player action tracking plugin



LogBlock – Advanced Block Logging & Admin Tools

LogBlock is a lightweight and powerful Minecraft plugin that tracks every player action on your server. Designed for admins who want full control over block events, this plugin logs block placement, block breaking, and player interactions in real-time, while providing easy-to-use admin tools for monitoring and investigating activity.

Features
  • Comprehensive Block Tracking: Automatically logs block placements and breaks with player, location, type, and timestamp.
  • Admin Tools: Special "Log Stick" lets admins inspect blocks directly in-game.
  • Persistent Storage: Uses SQLite with HikariCP for fast, reliable data management.
  • Event Logging API: Easily extendable for custom logging or integration with other plugins.
  • Permission-Based Access: Only players with logblock.admin can use admin commands.
  • Minimal Performance Impact: Optimized database connections and asynchronous logging ensure smooth gameplay.

Commands
  • /logblock getstick – Gives an admin a special stick to inspect block logs.
Perfect for
  • Servers looking to prevent griefing or track player activity.
  • Admins who need a reliable, real-time logging solution.
  • Any Minecraft server wanting advanced, lightweight logging tools.

Using LogBlock as an API
LogBlock is not just a plugin—it also provides a fully accessible API for developers. You can integrate it into your own plugins or tools to access block logs, player actions, and history data in real-time.


Integration with Timber

LogBlock can be used alongside the Timber plugin to enhance tree logging and monitoring. When Timber is installed, LogBlock records detailed logs of block breaks caused by tree chopping, allowing server admins to:

  • Track which players are cutting trees.
  • Monitor large-scale logging events.
  • Investigate accidental or intentional griefing related to tree harvesting.
  • Integrate tree-cutting actions into custom analytics or administrative tools.
This integration ensures that all Timber actions are safely logged in real-time and can be accessed via LogBlock’s API, providing a full audit trail of forestry activities on your server.


Example Usage

Code (Text):
LogBlockApi api = LogBlock.getLogBlockApi();

// Get all log entries
List<LogEntry> logs = api.getLogEntry();

// Add a custom log
LogEntry customLog = new LogEntry(playerUUID, x, y, z, world, LogEntry.BlockAction.PLACE, Material.STONE, System.currentTimeMillis());
api.addLogEntry(customLog);

// Get the last action at a specific block
LogEntry last = api.getLastLogAtLocation("world", 100, 64, -200);
Resource Information
Author:
----------
Total Downloads: 8
First Release: Yesterday at 10:52 PM
Last Update: Yesterday at 10:52 PM
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings