LogBlock tutorial: Difference between revisions
Noggisoggi (talk | contribs) (Formatting fixes; added one more useful command) |
Noggisoggi (talk | contribs) (Clarified notice) |
||
Line 1: | Line 1: | ||
[[Category:Guides]] | [[Category:Guides]] | ||
[[Category:Server internals]] | [[Category:Server internals]] | ||
{{notice|Only [[Ranks#Mystic|Mystic | {{notice|Only [[Ranks#Trial_Helper|trial helpers]] 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. | 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. | 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. |
Revision as of 13:17, 20 March 2024
ℹ️ Notice: Only trial helpers 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 Aruamu
This command gives coordinates of all blocks created and destroyed by
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 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