summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-11 16:50:52 +0100
committermadmaxoft <github@xoft.cz>2014-01-11 16:50:52 +0100
commit2e0fcbdcb7a773509f8d08f50c8cbeb07d612d51 (patch)
tree9a6441540548b1d2a4f23d7a7d7f4003552259a2 /MCServer/Plugins/APIDump/APIDesc.lua
parentIniFile: Split SetValue() into AddValue() and SetValue(). (diff)
downloadcuberite-2e0fcbdcb7a773509f8d08f50c8cbeb07d612d51.tar
cuberite-2e0fcbdcb7a773509f8d08f50c8cbeb07d612d51.tar.gz
cuberite-2e0fcbdcb7a773509f8d08f50c8cbeb07d612d51.tar.bz2
cuberite-2e0fcbdcb7a773509f8d08f50c8cbeb07d612d51.tar.lz
cuberite-2e0fcbdcb7a773509f8d08f50c8cbeb07d612d51.tar.xz
cuberite-2e0fcbdcb7a773509f8d08f50c8cbeb07d612d51.tar.zst
cuberite-2e0fcbdcb7a773509f8d08f50c8cbeb07d612d51.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/APIDesc.lua')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index 26537918e..9b117b0fa 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -867,6 +867,10 @@ ValueName0=SomeOtherValue
{ Params = "KeyName, Comment", Return = "", Notes = "Adds a comment to be stored in the file under the specified key" },
},
AddKeyName = { Params = "KeyName", Returns = "number", Notes = "Adds a new key of the specified name. Returns the KeyID of the new key." },
+ AddValue = { Params = "KeyName, ValueName, Value", Return = "", Notes = "Adds a new value of the specified name to the specified key. If another value of the same name exists in the key, both are kept (nonstandard INI file)" },
+ AddValueB = { Params = "KeyName, ValueName, Value", Return = "", Notes = "Adds a new bool value of the specified name to the specified key. If another value of the same name exists in the key, both are kept (nonstandard INI file)" },
+ AddValueF = { Params = "KeyName, ValueName, Value", Return = "", Notes = "Adds a new float value of the specified name to the specified key. If another value of the same name exists in the key, both are kept (nonstandard INI file)" },
+ AddValueI = { Params = "KeyName, ValueName, Value", Return = "", Notes = "Adds a new integer value of the specified name to the specified key. If another value of the same name exists in the key, both are kept (nonstandard INI file)" },
CaseInsensitive = { Params = "", Return = "", Notes = "Sets key names' and value names' comparisons to case insensitive (default)." },
CaseSensitive = { Params = "", Return = "", Notes = "Sets key names and value names comparisons to case sensitive." },
Clear = { Params = "", Return = "", Notes = "Removes all the in-memory data. Note that , like all the other operations, this doesn't affect any file data." },