First/Last (patterns)

From DKPLP Doc

Jump to: navigation, search
The patterns tab with the first/last subtab open.
Enlarge
The patterns tab with the first/last subtab open.

The firs/last subtab of the patterns configuration tab contains the patterns and formats that are used when the parse mode is set to First/Last.

Contents

Patterns

Log member pattern

The log member pattern describes how log results containing present members look and what should be captured. The following groups can be captured in the pattern.

Required

  • The character's name.

Optional

  • Year (two last digits)
  • Month (1-12 or Jan-Dec or January-December)
  • Day of month
  • Hour
  • Minute
  • Second

Zone pattern

The zone pattern describes how zone/raid names in the log look like. The following groups can be captured in the pattern.

Required

  • The zone's name.

Optional

  • Year (two last digits)
  • Month (1-12 or Jan-Dec or January-December)
  • Day of month
  • Hour
  • Minute
  • Second

Loot pattern

The loot pattern describes how loot items look in the log. The following groups can be captured in the pattern.

Required

  • Buyer's name
  • Item name
  • Item price

Optional

  • Year (two last digits)
  • Month (1-12 or Jan-Dec or January-December)
  • Day of month
  • Hour
  • Minute
  • Second
  • Count (the number of items, defaults to 1)

Begin pattern

The begin pattern describes how begin commands look in the log. The following groups can be captured in the pattern.

Optional

  • Year (two last digits)
  • Month (1-12 or Jan-Dec or January-December)
  • Day of month
  • Hour
  • Minute
  • Second

End pattern

The end pattern describes how begin commands look in the log. The following groups can be captured in the pattern.

Optional

  • Year (two last digits)
  • Month (1-12 or Jan-Dec or January-December)
  • Day of month
  • Hour
  • Minute
  • Second

Bonus (interval) pattern

The bonus (interval) pattern describes how reward interval bonuses look in the log. The following groups can be captured in the pattern.

Required

  • Bonus value

Optional

  • Year (two last digits)
  • Month (1-12 or Jan-Dec or January-December)
  • Day of month
  • Hour
  • Minute
  • Second

Bonus (participant) pattern

The bonus (participant) pattern describes how participant bonuses look in the log look. The following groups can be captured in the pattern.

Required

  • Bonus value

Optional

  • Year (two last digits)
  • Month (1-12 or Jan-Dec or January-December)
  • Day of month
  • Hour
  • Minute
  • Second

Event pattern

The event pattern describes how events look in the log. The following groups can be captured in the pattern.

Required

  • Event name
  • Event reward

Optional

  • Year (two last digits)
  • Month (1-12 or Jan-Dec or January-December)
  • Day of month
  • Hour
  • Minute
  • Second

Formats

The format's purpose is to rearrange the captured groups into the following orders where values are delimitered by '|'. [...] represents optional values and <...> represents values that are required.

Log member format

[year|[month|[day|[hour|[minute|[second|]]]]]]<member name>

Zone format

[year|[month|[day|[hour|[minute|[second|]]]]]]<zone name>

Loot format

[year|[month|[day|[hour|[minute|[second|[count|]]]]]]]<buyer's name>|<item name>|<item price>

Begin format

[year|[month|[day|[hour|[minute|[second|]]]]]]

End format

[year|[month|[day|[hour|[minute|[second|]]]]]]

Bonus (interval) format

[year|[month|[day|[hour|[minute|[second|]]]]]]<bonus value>

Bonus (participant) format

[year|[month|[day|[hour|[minute|[second|]]]]]]<bonus value>

Event format

[year|[month|[day|[hour|[minute|[second|]]]]]]<event name>|<event reward>
Personal tools