BlockTrack

BlockTrack 1.0.2

Compatible API Versions
1.0.9
Sourcecode
https://github.com/NoahBPeterson/BlockTrack
BlockTrack

A block tracking plugin for NukkitX which uses the DbLib plugin. Gives operators or anyone with the given permission the ability to check how many blocks and of what kind particular players have broken, as well as the ability to check individual blocks for information on when they were broken, and by whom.

Commands

CommandUsagePermission
blocktrack/blocktrack <player>blocktrack.track
blocktrack/blocktrack <player> <blockType>blocktrack.track
blocktrack/blocktrack <player> total [placed/destroyed]blocktrack.track
blockhistory/blockhistoryblocktrack.history
/blocktrack <player> - Shows the number and type of blocks placed and destroyed by a given player, sorted by number of blocks destroyed.


/blocktrack <player> <blockType> - Shows the entry for the given blocktype.

/blocktrack <player> total <placed/destroyed> - Shows the total number of blocks created or destroyed by the given player.

/blockhistory - Shows the history of the blocks, including who altered them, when they did so, and what they altered. You must place or break a block after using the command to input the position to get the history.


This plugin requires DbLib.

Warning: If you started on 1.0.0 or 1.0.1, you must use 1.0.3 and break or place a block to upgrade your database, and immediately replace it with 1.0.2 or there will be errors. An easier fix is to delete your database, but this may not be an option if other plugins use the same database file.
Author
nbpe
Downloads
3,142
Views
4,596
First release
Last update
Rating
4.75 star(s) 4 ratings

More resources from nbpe

  • AutoInventory
    AutoInventory
    Automatically place mined blocks into inventory.
  • SpawnerTiers
    SpawnerTiers
    Adds a mechanic for increasing mob spawner speeds.

Latest updates

  1. 1.0.3 Was giving errors- Reverting to 1.0.2

    Only use 1.0.3 to convert the database.
  2. Upgrading Database for Those Who Used Older Version

    I added new database columns in 1.0.2 for block sub types. However, there was no code to add...
  3. Block Subtypes, Bucket Events, Asynchronous DB Calls

    Support for block subtypes are now added. The different kinds of wood will show up separately in...

Latest reviews

It works good but its missing tracking for blocks that can be opened like chest, this is used on most servers that have public shops without protection. It would be nice to have that feature
Fantastic plugin and super useful. I have just one question. If a world got griefed by a player, the /blockhistory command was run after the grief to find the player and the player was banned, My question is if a world restore was present after the grief, Would the logs saved in the database be updated or still be there causing problems?
N
nbpe
The data in the database is dependent upon the world's name, so it should still show the data from the grief.
The plugin is excellent, thanks for listening to users
It would be great if you added a rollback function! !
Top