Classic (patterns)

From DKPLP Doc

Jump to: navigation, search
The patterns tab with the classic subtab open.
Enlarge
The patterns tab with the classic subtab open.

The classic subtab of the patterns configuration tab contains the patterns and formats that are used when the parse mode is set to Classic.

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

Add command pattern

The add command pattern describes how commands to add members look like in the log. The following groups can be captured in the pattern.

Required

  • The members's name (case-insensitive).

Optional

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

Remove command pattern

The remove command pattern describes how commands to remove member look like in the log. The following groups can be captured in the pattern.

Required

  • The members's name (case-insensitive).

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 from the log look. 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)

Bonus (interval) pattern

The bonus (interval) pattern describes how reward interval bonuses look in the log. The bonus is applied to reward intervals that occur at the time when the bonus is given. 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 bonus is applied to reward intervals that occur at the time when the bonus is given. 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>

Add command format

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

Remove command format

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

Loot format

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

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