Skip to content
PhanaticD edited this page Aug 22, 2012 · 20 revisions

Params are used in most commands to define the search parameters. For console use, every time world must be specified (direct or using last) and area and selection aren’t available. You can escape a word which would normally be caught as keyword using double quotes ("), e.g:
/lb world "world"

  • player [name1] <name2> <name3> ...

    To look after one or more players, also environment players like Fire or LavaFlow

  • area <radius>

    To only look after near block changes. The area has a square shape. If no radius is specified, the default radius will be used (lookup.defaultDist). A radius of 0 stands for a single block and is used for tool queries.

  • selection, sel

    To look only inside the current WorldEdit selection. Works only for cuboid selections.

  • block [type1] <type2> <type3> ..., type [type1] <type2> <type3> ...

    To look only for certain block typed

  • created, destroyed

    To look only for block creations/breaks

  • chestaccess

    To look only for chestaccesses

  • since [timespec], time [timespec]

    To look only for block changes newer than the specified time. Accepted syntax’s are:
    LB time format: 4 minutes, 5 hours, 6 days
    BB time format: 4m5h6d, 5d40m, 7m
    DateTime: 12:00:00, 22.05.2011, 22.05.2011 12:00:00
    (for a date without a time 0 am is assumed, for a time without date the current date)

  • before [timespec]

    To look only for block changes older than specified time. Same format like since param. You can use since and before together to define a timespam.

  • limit [count]

    How many rows to show. Default is 15.

  • sum [none|blocks|players]

    To sum up the result. none is default. none means all single block changes are listed, block means to group by block types and players to group by players.

  • world [worldname]

    Selects the world. Required for console commands. Allows to look up in a different world.

  • asc, desc

    Change the order of displayed log.

  • coords

    Displays also block coordinates. Only affects look up and writelogfile commands.

  • silent

    No questions and displayed messages are reduces to a minimum.

  • last

    Stands for all parameters of the last command. It’s possible to extend it and to overwrite, e.g:
    /lb player diddiz Displays blockchanges from of diddiz
    /lb last area Displays blockchanges of player diddiz within default radius
    /lb rollback last Rolls back blockchanges of player diddiz within default radius.

  • chat

    Switch to chat lookup mode. You can use the params player, since, before and search.

  • search, match

    Search the chat table for some words. Refers to http://dev.mysql.com/doc/refman/5.0/en/fulltext-boolean.html.

Example:
/lb chat player diddiz search home
or
/lb chat player diddiz search tree home
Will search for all messages by player diddiz containing the words tree OR home.
/lb chat player diddiz search +tree +home
Same as previous, but both words have to appear.
/lb chat player diddiz search tree -home
Find all with tree but without home.

  • loc, location (v1.51+)

    Specify a single block, like loc 45 -12 64 or loc -123:265:70

Clone this wiki locally