Skip to content
Joseph Rooks edited this page Jul 19, 2020 · 19 revisions

All commands listed on this page are also usable through console with the exception of tool commands, 'tp' and 'hide'. Throughout this page the usage of params stands for a list of params. Additionally, arguments enclosed with square brackets ([]) are optional whilst arguments enclosed with 'pointy' brackets (<>) are required arguments. Furthermore, all commands that cannot be issued from console are denoted by a warning at the end of the description.

  • /lb help

    Prints help information.

  • /lb params

    Prints a full list of parameters.

  • /lb commands

    Prints a full list of commands.

  • /lb permissions

    Prints a list of the LogBlock permissions assigned to you.

  • /lb tool

    Gives the player the lookup tool which is specified in the configuration. Additionally, the 'command imitation' of the tool is also specified in the configuration. This is not usable from console.

  • /lb tool <on|off>

    Sets the enabled state of the lookup tool respective of parameter specified. This is not usable from console.

  • /lb tool <params>

    Sets the 'command imitation' of the tool to the specified params. These only affect you and are reset upon server reload or restart. This is not usable from console.

  • /lb toolblock (or tb)

    Gives the player the lookup toolblock which is specified in the configuration. Additionally, the 'command imitation' of the tool is also specified in the configuration. This is not usable from console.

  • /lb toolblock (or tb) <on|off>

    Sets the enabled state of the lookup toolblock respective of parameter specified. This is not usable from console.

  • /lb toolblock (or tb) <params>

    Sets the 'command imitation' of the toolblock to the specified params. These only affect you and are reset upon server reload or restart. This is not usable from console.

  • /lb savequeue

    Forces all changes currently waiting in the queue to save to the database (this is still done async [on its own thread]). This may be useful for rollbacks after forest fires.

  • /lb writelogfile <params>

    Writes result of query using params specified to a log file located at /plugins/LogBlock/log/*.log where * is replaced with a friendly title. Additionally prints location of file to the user.

  • /lb [lookup] <params>

    Prints result of query using params specified. The use of lookup in this command is not required.

  • /lb entities <params>

    Look up changes to entities. Completely separate from block lookups.

  • /lb rb entities <params>

    Roll back changes to entities. Completely separate from block rollbacks.

  • /lb tb entities <params>

    Switch the toolblock to entity mode; reset to normal with /lb tb default

  • /lb page <number>

    Prints information contained on the page specified in the arguments from the last lookup.

  • /lb <prev/next>

    Prints information contained on the previous or next page from the from the last lookup.

  • /lb tp <number>

    Teleports the player to the location of a block change in the last lookup or rollback error. In order to teleport to results, the param coords is required to have been used in the last lookup or rollback. This is not usable from console.

  • /lb tp <params>

    Teleports the player to the location of the last recorded result of parameters supplied. Ex: /lb tp player jamietech teleports you to the location of the last recorded result by player jamietech. This is not usable from console.

  • /lb rollback (or rb, undo) <params>

    Rolls back block changes, chest changes (if recorded), sign changes (if recorded) of the specified parameters. Will also print information about rollback after it is complete unless silent parameter is used.

  • /lb redo <params>

    Redoes block changes, chest changes (if recorded), sign changes (if recorded) of the specified parameters in backwards order. Will also print information about redo after it is complete unless silent parameter is used.

  • /lb clearlog <params>

    Deletes the log regarding the specified parameters. Cannot be undone unless dumpDeletedLog is enabled and the dump is imported. It's highly recommended to perform a lookup first and then use /lb clearlog last to avoid deleting the wrong log.

  • /lb hide

    Toggles the players hidden status. No actions from a hidden player will be logged from the point they are hidden t the point they are un-hidden. Be careful. This is not usable from console.

  • /lb me

    Shows you a 'statistical' view of your block changes. Shorthand for /lb player <you> sum blocks