LogBlock tutorial: Difference between revisions

From RetroMC
Jump to navigation Jump to search
m (Protected "LogBlock tutorial": Vandalism prevention ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Formatting fixes; added one more useful command)
Line 1: Line 1:
[[Category:Guides]]
[[Category:Guides]]
[[Category:Server internals]]
[[Category:Server internals]]
=== Only [[Ranks#Mystic|Mystic & above]] have access to LogBlock. ===
{{notice|Only [[Ranks#Mystic|Mystic & above]] have access to LogBlock.}}
<br />
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><br /> or use the [[Logblock Parameters]] Page.<br />
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.
& for commands:
<code>/lb commands</code>


=== Querying block logs ===
=== Querying block logs ===
Line 26: Line 24:
* '''Do not distribute this or you will be demoted!'''
* '''Do not distribute this or you will be demoted!'''
You can change the query used by the toolblock by using:<br />
You can change the query used by the toolblock by using:<br />
<code>/lb tb <params></code><br />
<code>/lb tb <params></code>
===Useful Commands===
 
Logblock can be confusing, listed below are a handful of useful commands for reference and what they do.<br />
=== Useful commands ===
<code>/lb coords area 5 Aruamu</code>
LogBlock can be confusing when using it for the first time, so for reference, a handful of commands are listed below.<br />
This command gives coordinates of all blocks created and destroyed by the player Aruamu<br />
* <code>/lb coords area 5 player Aruamu</code>
As well as numbers in parenthesis's next to each entry, using <code>/lb tp x</code> you can teleport to the location of said entry, with x being the number associated with the entry.<br />
This command gives coordinates of all blocks created and destroyed by {{user|Aruamu}} 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 /><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.


<code>/lb lookup destroyed area 5 since 1d</code><br />
This command will lookup all destroyed blocks in a area of 5 from the time span of 1 day, and is very useful to quickly see any griefs in an area.
* '''Be careful running this in a populated area ie. Spawn'''
=== Rollbacks ===
=== Rollbacks ===
Rollbacks are limited to staff members only, [[Ranks#Moderator|moderators]] to be specific.<br />
{{notice|Rollbacks are limited to staff members only, [[Ranks#Moderator|moderators]] to be specific.}}
'''Important''': Always add the <code>area</code> parameter, otherwise you might break some of their builds when rolling back a player.<br />
{{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.}}
Unless that player joined specifically to grief, then in which case, you can omit the <code>area</code> parameter.


'''In most situations, you should do''':<br />
'''In most situations, you should do''':<br />
Line 49: Line 50:
Monitor the number of edits that would be rollbacked; if you suspect the number is too high or made a mistake in the parameters, do: <code>/no</code><br />
Monitor the number of edits that would be rollbacked; if you suspect the number is too high or made a mistake in the parameters, do: <code>/no</code><br />
Otherwise, if you want to confirm a rollback: <code>/yes</code><br />
Otherwise, if you want to confirm a rollback: <code>/yes</code><br />
'''Admin only''': Do <code>/no</code> when LB asks you if you want to clear the rollbacked log.<br />

Revision as of 09:07, 16 March 2024

ℹ️ Notice: Only Mystic & above have access to LogBlock.

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 Aruamu

This command gives coordinates of all blocks created and destroyed by 16.png Aruamu 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.

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.
Monitor the number of edits that would be rollbacked; if you suspect the number is too high or made a mistake in the parameters, do: /no
Otherwise, if you want to confirm a rollback: /yes