Placeholders within message-templates:
- sender: the sender of the message (without .extension the name will be rendered)
- friend/user: the referenced user by the message the sender sent or a friend joining the server
- Extensions to user-placeholders: (e.g. sender.name or user.title...)
- .awaymessage: the awaymessage if the user is away and has given an awaymessage
- .title: the title of this user (depending on userrights and may be overwritten by an db-field)
- .linkedname: renders the message-template "constant.linkedUser" and inserts the result
- .chattime: the current (up to date) chattime (including the current session-time)
- .questioncounter: the questioncounter of this user
- .tolowercase: the name of this user in lower case
- .touppercase: the name of this user in upper case
- .color: the html-color-code of this user
- .group: the name of the group this user is in
- .group.name: same as group
- .group.theme: the theme of the group
- .peername: the hostname of the peer we are connected to
- .peerip: the ip-address of the peer
- .clientname: the hostname of the client behind the proxy (if present)
- .clientip: the ip-address of the client behind the proxy (if present)
- .forwardchain: the proxy-forward-chain (if present)
- .[custom]: custom fields fetched from db (must be declared within db.properties)
- sourcegroup: for example, the group this user is leaving
- targetgroup: for example, the group this user is joining
- Extensiond to group-placeholders: (eg. sourcegroup.title or targetgroup.isopen)
- .theme: the theme given for this group
- .islocked: if the group is locked, this is replaced with the content of "constant.lockedGroup". if not, nothing will be displayed
- .isopen: if the group is open, this is replaced with the content of "constant.openGroup". if not, nothing will be displayed
- message/userlist/result: result of a /td, a userlist (for /fl or /wc ...)
- Extensions to message/userlist/result:
- .touppercase: the message in upper case
- .tolowercase: the message in lower case
- reason: reason for a kick
- source/total: total number of points of a /td ...
- time: displays the time. This has an additional parameter called format="". The value may be any valid java-simple-dateformat-string...
- Only useable inside mass-user-message-templates:
- firstusers: the first users excluding the last user of an userenumeration
- lastuser: the last user of a userenumeration
- constant.linkedName: template for the linked user
- constant.defaultColor: the default-color for this user
- constant.emptyAwayMessage: display this if no awaymessage was given
- constant.lockedGroup: display this if group is locked (or nothing if open)
- constant.openGroup: display this if group is open (or nothing if closed)
Placeholders may take arguments (eg user.awaymessage prefix="(Away: " suffix=")")
- prefix: will be rendered in front of the value (only if value exists)
- suffix: will be rendered after the value (only if value exists)