Changelog
while true do local event, data = os.pullEvent("player_death") print(("say %s die, because %s "):format(data.name, data.source)) --谁死了, 伤害源是什么 if data.tags then --如果有标签 print("killer is "..data.name) --杀手是谁 print("killerhas tags %s"..table.concat(data.tags, ", ")) --杀手的标签 end end
Dependencies
Files
cryptography-0.0.6.jar(31.75 KiB) Primary Download
Details
Licensed AGPL-3.0-only
Published 8 months ago
Updated 8 months ago