From c7eba913044fc2db021e87b433e01faa95165f60 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 29 Nov 2016 18:16:24 +0100 Subject: Add playername to build_formspec docs --- API.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/API.md b/API.md index 01b353d..8ffcadc 100644 --- a/API.md +++ b/API.md @@ -118,7 +118,8 @@ data. First letter capitalized, no punctuation at the end, max. 100 characters * `build_formspec`: The template function (see below). Takes entry data - as its only parameter (has the data type of the entry data) and must + as its first parameter (has the data type of the entry data) and the + name of the player who views the entry as its second parameter. It must return a formspec which is inserted in the Entry tab. * `sorting`: (optional) Sorting algorithm for display order of entries * `"abc"`: Alphabetical (default) -- cgit v1.2.3