| Level: | ${playerLevel} (${playerExp} XP) |
| Health: | ${playerHealth} |
| Food level: | ${playerFoodLevel} |
| Exhaustion: | ${playerExhaustion} |
| Saturation: | ${playerSaturation} |
| Game mode: | ${playerGameMode} |
| Deaths: | ${playerDeaths} <#if playerLastDeath?has_content>(last death ${playerLastDeath} ${playerLastDeathMessage})#if> |
| Under water: | <#if (playerRemainingAir < 100)>Yes<#else>No#if> |
| On fire: | <#if (playerFireTicks > 0)>Yes<#else>No#if> |
| Server: | ${playerLastServer} |
| World: | ${playerLastWorld} |
| Coordinates: |
<#assign res = playerLastLocation?matches("^(-?\\d+).*,(-?\\d+).*,(-?\\d+)")>
${res[0]?groups[1]}, ${res[0]?groups[2]}, ${res[0]?groups[3]}
|
| Last joined: | ${playerLastJoin!"Never"} |
| Last quit: | ${playerLastQuit!"Never"} |
| Last kick: | ${playerLastKick!"Never"} |
<#import "/inc/itemIcon.ftl" as icons>
<#list playerInventory as itemStack>
${itemStack_index}:
<#if itemStack?has_content>
<#assign keys = itemStack.enchantments?keys>
<#assign json = "">
<#list keys as key>
<#assign json = json + "{\"" + key + "\":" + itemStack.enchantments[key] + "}">
<#if key_has_next>
<#assign json = json + ",">
#if>
#list>
<#assign json = "[" + json + "]">
<@icons.itemIcon type=itemStack.type data=itemStack.data amount=itemStack.amount/>
#if>