gte:sum,10
.dayOfMonth:last
. Now, whenever you report player activity for action, "Close a Sale", r4nkt will find all of the "Close a Sale" activities that a player has reported on the last day of any month. The sum of each activity's amount
is taken and, if it meets or exceeds 10, then the achievement's lone criterion will be met and the player will earn a badge for "Last Minute Super Closer".<none>
gte:sum,10
<none>
gte:amount,10
dayOfMonth:1
gte:sum,10
dayOfMonth:1
gte:amount,10
activityData:field,operator,operand
custom_data
field, specified by field
, by comparing it to whatever has been specified in `operand`.custom_data
that you provide when you report player activity. Second, it can compare it to "fixed" values or custom data for the current activity or the current activity's player.field
and operator
must be strings, while operand
may be either an integer or a string.custom_data
field.eq
: equal togt
: greater thangte
: greater than or equal tolt
: less thanlte
: less than or equal to1234
or red
. In such cases, only alphanumeric characters are permitted.{player.some.path}
.activityData:category,eq,{activity.category}
: When applied, this would filter out all activities that do not have the same category as the current activity.activityData:attributes.color,eq,{player.favorites.color}
: When applied, this would filter out all activities that do not match the current player's favorite color.activityData:attributes.quantity,gte,10
: When applied, this would filter out all activities having a quantity of less than 10.betweenHours:from,duration
from
and duration
must be integers.from
, may be any integer from 0
to 23
. It represents the starting time hour.duration
, may be any integer from 0
to 24
. It determines the stopping time hour by taking from
and adding duration
to it. So, betweenHours:9,8
will look for activities that take place between 9:00 and 17:00.duration
is 0
, but this may be increased to 1
in the future.dayOfMonth:day
day
, may be any integer from 1
to 31
, the string, last
, or a custom data reference string.​
last
is used, it will filter on the last day of the month. For example, dayOfMonth:last
will filter out any activities that are not on the last day of the month. For January, this will be the 31st. For February, this will be the 28th or 29th, depending on the year.day
that do not make sense, then results may be unexpected. As such, it is inadvisable to use values greater than 28 unless you combine dayOfMonth:31
, for example, with other conditions that guarantee the results won't be unexpected, like month:12
.dayOfWeek:day
day
, may be any integer from 1
to 7
.dayOfYear:day
day
, may be any integer from 1
to 366
or the string, last
.last
is used, it will filter on the last day of the year. For example, dayOfYear:last
will filter out any activities that are not on the last day of the year. This will always be December 31st, but you will not need to worry about whether or not it is a leap year. This will be taken into account for you automatically.daysOfWeek:day[,day]
day
, may be any integer from 1
to 7
.,
). Duplicates will be ignored.daysOfWeek:2,3,4,5,6
daysOfWeek:1,7
month:month
month
, may be any integer from 1
to 12
or a custom data reference string.months:month[,month]
month
, may be any integer from 1
to 12
or a custom data reference string.,
). Duplicates will be ignored.months:6,7,8
months:12,1,2
activityData
. It has the following form: playerData:field,operator,operand
custom_data
field for the player, specified by field
, to whatever has been specified in operand
.activityData
, this condition is quite powerful and flexible. First, it can "peek into" the related player's custom_data
. Second, it can compare it to "fixed" values, custom data for the current activity, or custom data for the current activity's player.field
and operator
must be strings, while operand
may be either an integer or a string.custom_data
field.eq
: equal togt
: greater thangte
: greater than or equal tolt
: less thanlte
: less than or equal to1234
or red
. In such cases, only alphanumeric characters are permitted.{player.some.path}
.playerData:category,eq,{activity.category}
: When applied, this would pass if the current player category matches the activity category.playerData:attributes.preferred_currency,eq,{activity.currency}
: When applied, this would pass if the current player's preferred currency matches the current activity currency.playerData:attributes.balance,gte,10
: When applied, this would pass if the current player's balance is greater than or equal to 10.sameDate
.sameDayOfMonth
.sameDayOfWeek
.sameDayOfYear
.sameMonth
.sameWeek
.sameYear
.operator
can have one of the following values: and
or or
. It is used to determine how the grouped conditions are combined when applying the various conditions.groups
property is a collection of "condition groups". Currently, you must have between 1 and 3 condition groups.operator
is very similar to before. It can be either and
or or
, and it's used to determine how the actual conditions within the group are applied.conditions
collection is where you list the various conditions that you would like to have applied. Currently, you must have between 1 and 3 conditions.