Lua Objects/IsoPlayer
< Lua Objects(Redirected from Lua Objects/IsoPlayer)
Object
Check the javadoc for a complete overview. Note that not all java properties and methods are exposed via the Lua API.
Description
Information for a connected player
Functions
- getUsername() Gets the unique identifier for this player
- getNutrition()
- getInventory()
- getMoodles()
- getBodyDamage()
Examples
-- Print the username of the local player
print(getPlayer():getUsername())