LogBlock tutorial: Difference between revisions

From RetroMC
Jump to navigation Jump to search
mNo edit summary
Tag: Reverted
No edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== Only [[Ranks#[Mystic]|Mystic & above]] have access to LogBlock. ===
[[Category:Guides]]
[[Category:Server internals]]
{{notice|Only [[Ranks#Trial_Helper|Trial Helpers]] and above have access to LogBlock parameters, while [[Ranks#Mystic|Mystic]] has access to the LogBlock tool, without any parameters.}}
LogBlock is the tool used for identifying who placed blocks, and undo/redo player placements; main application for this is repairing griefs.
For the full parameters list, run <code>/lb params</code> (see [[LogBlock parameters]] for more info), and <code>/lb commands</code> for the command list.


== LogBlock commands ==
=== Querying block logs ===
For the full parameters list do:<code>/lb params</code><br />
& for commands:
<code>/lb commands</code>
 
=== Querying Block Logs ===
<code>/lb <params></code><br />
<code>/lb <params></code><br />
'''Example''': <code>/lb area 5 time 30d block brick player Noggisoggi TheFurryShark</code><br />
'''Example''': <code>/lb area 5 time 30d block brick player Noggisoggi TheFurryShark</code><br />
Line 14: Line 13:
Alternatively, you can use:<br />
Alternatively, you can use:<br />
<code>/lb t</code>
<code>/lb t</code>
* Gives you a wooden pickaxe
* Gives you a wooden pickaxe.
* Right-click (or equivalent) on a block to check its logs.
* Right-click (or equivalent) on a block to check its logs.
<br />
You can change the query used by the tool by using:<br />
You can change the query used by the tool by using:<br />
<code>/lb t <params></code><br />
<code>/lb t <params></code><br />
'''Example''': <code>/lb t area 5 time 30d block brick player Noggisoggi TheFurryShark</code><br />
'''Example''': <code>/lb t area 5 time 30d block brick player Noggisoggi TheFurryShark</code><br /><br />
<code>/lb tb</code>
* Gives you a block of coal ore; limited to staff members only.
* Left-click (or equivalent) on a block to check its logs.
* Right-click (or equivalent) on a block to check the adjacent block's logs.
* '''Do not distribute this or you will be demoted!'''
You can change the query used by the toolblock by using:<br />
<code>/lb tb <params></code>
 
=== Useful commands ===
LogBlock can be confusing when using it for the first time, so for reference, a handful of commands are listed below.<br />
* <code>/lb coords area 5 player Garsooon</code>
This command gives coordinates of all blocks created and destroyed by {{user|Garsooon}} in a 5-block radius from the player that runs it, as well as numbers in parenthesis's next to each entry - via <code>/lb tp x</code>, you can teleport to the location of said entry, with <code>x</code> being the number associated with the entry.<br />
This can also be edited by parameters respectively at the end of the command.<br />
 
* <code>/lb lookup destroyed area 5 since 1d</code><br />
This command will lookup all destroyed blocks in a radius of 5 from the time span of 1 day, and is very useful to quickly see any griefs in an area.
{{warning|Be careful running this in an area where there are lots of logged edits ([[Spawn]], for example).}}
 
* <code>/lb tb area 5 player Noggisoggi</code>
Makes the toolblock retrive logs of block modifcations by {{user|Noggisoggi}} in a 5-block radius from where it was placed.
 
=== Rollbacks ===
{{notice|Rollbacks are limited to staff members only, [[Ranks#Moderator|moderators]] to be specific.}}
{{warning|Always add the <code>area</code> parameter, otherwise you might break some builds of player when rolling back their actions; unless that player joined specifically to grief, then in which case, you can omit the <code>area</code> parameter.}}


The toolblock (<code>/lb tb</code>) & rollback (<code>/lb rb</code>) functions are limited to staff members only.
Before you rollback edits of players, make sure to monitor the number of edits that would be affected via <code>/lb coords <parameters></code>.<br>
In most situations, you should do <code>/lb rb area 5 time 1d block <block> player <playername></code>.<br />
'''Example''':<br />
<code>/lb rb area 5 time 1d block wood player Noggisoggi</code><br />
Feel free to adjust the parameters based on your current situation.<br />

Latest revision as of 13:57, 20 August 2024

ℹ️ Notice: Only Trial Helpers and above have access to LogBlock parameters, while Mystic has access to the LogBlock tool, without any parameters.

LogBlock is the tool used for identifying who placed blocks, and undo/redo player placements; main application for this is repairing griefs. For the full parameters list, run /lb params (see LogBlock parameters for more info), and /lb commands for the command list.

Querying block logs

/lb <params>
Example: /lb area 5 time 30d block brick player Noggisoggi TheFurryShark
Outputs brick block changes made by the players Noggisoggi & TheFurryShark within the last 30 days in a radius of 5 from the player that executed it.
Not all of these parameters are required.

Alternatively, you can use:
/lb t

  • Gives you a wooden pickaxe.
  • Right-click (or equivalent) on a block to check its logs.

You can change the query used by the tool by using:
/lb t <params>
Example: /lb t area 5 time 30d block brick player Noggisoggi TheFurryShark

/lb tb

  • Gives you a block of coal ore; limited to staff members only.
  • Left-click (or equivalent) on a block to check its logs.
  • Right-click (or equivalent) on a block to check the adjacent block's logs.
  • Do not distribute this or you will be demoted!

You can change the query used by the toolblock by using:
/lb tb <params>

Useful commands

LogBlock can be confusing when using it for the first time, so for reference, a handful of commands are listed below.

  • /lb coords area 5 player Garsooon

This command gives coordinates of all blocks created and destroyed by 16.png Garsooon in a 5-block radius from the player that runs it, as well as numbers in parenthesis's next to each entry - via /lb tp x, you can teleport to the location of said entry, with x being the number associated with the entry.
This can also be edited by parameters respectively at the end of the command.

  • /lb lookup destroyed area 5 since 1d

This command will lookup all destroyed blocks in a radius of 5 from the time span of 1 day, and is very useful to quickly see any griefs in an area.

⚠️ Warning: Be careful running this in an area where there are lots of logged edits (Spawn, for example).

  • /lb tb area 5 player Noggisoggi

Makes the toolblock retrive logs of block modifcations by 16.png Noggisoggi in a 5-block radius from where it was placed.

Rollbacks

ℹ️ Notice: Rollbacks are limited to staff members only, moderators to be specific.

⚠️ Warning: Always add the area parameter, otherwise you might break some builds of player when rolling back their actions; unless that player joined specifically to grief, then in which case, you can omit the area parameter.

Before you rollback edits of players, make sure to monitor the number of edits that would be affected via /lb coords <parameters>.
In most situations, you should do /lb rb area 5 time 1d block <block> player <playername>.
Example:
/lb rb area 5 time 1d block wood player Noggisoggi
Feel free to adjust the parameters based on your current situation.