PreRelease / Variable Support
Variable
Summary
In version 0.3 we introduced the variable-system. It automatically replaces pre-defined phrases with the related values for example $PlayerCount with the current number of player.
List of declarations
| Variable | Output | Version | Information |
|---|---|---|---|
| $PlayerCount | Number of online players | v0.3 | |
| $Port | Server-Port | v0.3 | |
| $IP | Server IP | v0.3 | |
| $BukkitVersion | Bukkit server version | v0.3 |
Usage (only pre Version 1.0)
message: - 'We currently have $PlayerCount Players online!' - 'Server Information: Version: $BukkitVersion ;IP: $IP ; Server-Port: $Port ' #IMPORTANT: After every variable you must place a space!