Cuberite Forum

Full Version: Essentials for MCServer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I'll maybe try to add the /invsee command
What ist TakeDamageInfo:DamageType() doing, and how can i use it?
http://mc-server.xoft.cz/LuaAPI/TakeDamageInfo.html
They aren't functions. They are variables in the object.
function OnTakeDamage(Receiver, TDI)
	print(TDI.Attacker:IsPlayer())
end
Just got basic survival-fly protection working. Smile
I uploadet the first testing-version of the code to my repo
Pages: 1 2