diff options
author | MrIbby <siribby@outlook.com> | 2016-06-01 10:41:24 -0700 |
---|---|---|
committer | rubenwardy <rubenwardy@gmail.com> | 2016-06-01 18:41:24 +0100 |
commit | 85a40d24880964dfdf6c3e0db92ce5b9bbca0dc5 (patch) | |
tree | 726d22eb8a4f18e0a2bdd115a3d24927204dde81 /readme.md | |
parent | c711bc74b25e7f9acf445d7a8df5241d771e0b04 (diff) |
Add craft triggerv0.5.0
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -20,8 +20,9 @@ The API * sound [optional] * image [optional] * trigger [optional] [table] - * type - "dig", "place", "death", "chat" or "join" + * type - "dig", "place", "craft", "death", "chat" or "join" * (for dig/place type) node - the nodes name + * (for craft type) item - the items name * (for all types) target - how many to dig / place * secret [optional] - if true, then player needs to unlock to find out what it is. * awards.give_achievement(name,award) @@ -36,6 +37,8 @@ The API * -- return award name or null * awards.register_onJoin(func(player,data)) * -- return award name or null +* awards.register_onCraft(func(player,data)) + * -- return award name or null Player Data @@ -50,6 +53,9 @@ A list of data referenced/hashed by the player's name. * place [table] - place counter * modname [table] * itemname [int] + * craft [table] - craft counter + * modname [table] + * itemname [int] * deaths * chats * joins |