diff options
author | STRWarrior <q1w2e3r4> | 2013-09-17 17:44:54 +0200 |
---|---|---|
committer | STRWarrior <q1w2e3r4> | 2013-09-17 17:44:54 +0200 |
commit | a6e39332537eda0852598fb86ac0d427160f1409 (patch) | |
tree | 8d04d6e4d1b05cbe6b31c92d9431ca2eefad159e /MCServer | |
parent | Merge pull request #172 from tigerw/bugfixes (diff) | |
download | cuberite-a6e39332537eda0852598fb86ac0d427160f1409.tar cuberite-a6e39332537eda0852598fb86ac0d427160f1409.tar.gz cuberite-a6e39332537eda0852598fb86ac0d427160f1409.tar.bz2 cuberite-a6e39332537eda0852598fb86ac0d427160f1409.tar.lz cuberite-a6e39332537eda0852598fb86ac0d427160f1409.tar.xz cuberite-a6e39332537eda0852598fb86ac0d427160f1409.tar.zst cuberite-a6e39332537eda0852598fb86ac0d427160f1409.zip |
Diffstat (limited to 'MCServer')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua index 444d697fa..da74d82cf 100644 --- a/MCServer/Plugins/APIDump/APIDesc.lua +++ b/MCServer/Plugins/APIDump/APIDesc.lua @@ -1191,6 +1191,25 @@ a_Player:OpenWindow(Window); ]], Functions = { + Get = { Params = "", Return = "Root object", Notes = "This function returns the cRoot object " }, + BroadcastChat = { Params = "Message", Return = "", Notes = "Broadcasts a message to every player in the server" }, + FindAndDoWithPlayer = { Params = "PlayerName, CallbackFunction", Return = "", Notes = "Calls the given callback function for the given player" }, + ForEachPlayer = { Params = "CallbackFunction", Return = "", Notes = "Calls the given callback function for each player" }, + ForEachWorld = { Params = "CallbackFunction", Return = "", Notes = "Calls the given callback function for each world" }, + GetCraftingRecipes = { Params = "", Return = "{{cCraftingRecipe|cCraftingRecipe}}", Notes = "Returns the CraftingRecipes object" }, + GetDefaultWorld = { Params = "", Return = "{{cWorld|cWorld}}", Notes = "Returns the world object from the default world" }, + GetFurnaceRecipe = { Params = "", Return = "{{cFurnaceRecipe|cFurnaceRecipe}}", Notes = "Returns the cFurnaceRecipes object" }, + GetGroupManager = { Params = "", Return = "{{cGroupManager|cGroupManager}}", Notes = "Returns the cGroupManager object" }, + GetPluginManager = { Params = "", Return = "{{cPluginManager|cPluginManager}}", Notes = "Returns the cPluginManager object" }, + GetPrimaryServerVersion = { Params = "", Return = "Int", Notes = "Returns the servers primary server version" }, + GetProtocolVersionTextFromInt = { Params = "Protocol Version", Return = "string", Notes = "Returns the Minecraft version from the given Protocol" }, + GetServer = { Params = "", Return = "{{cServer|cServer}}", Notes = "Returns the cServer object" }, + GetTotalChunkCount = { Params = "", Return = "Int", Notes = "Returns the amount of loaded chunks" }, + GetWebAdmin = { Params = "", Return = "{{cWebAdmin|cWebAdmin}}", Notes = "Returns the cWebAdmin object" }, + GetWorld = { Params = "WorldName", Return = "{{cWorld|cWorld}}", Notes = "Returns the cWorld object of the given world" }, + QueueExecuteConsoleCommand = { Params = "Message", Return = "", Notes = "Queues a console command for execution through the cServer class. The command will be executed in the tick thread The command's output will be sent to console " .. '"stop" and "restart" commands have special handling.' }, + SaveAllChunks = { Params = "", Return = "", Notes = "Saves all the chunks in all the worlds" }, + SetPrimaryServerVersion = { Params = "Protocol Version", Return = "", Notes = "Sets the servers PrimaryServerVersion to the given protocol Int" } }, Constants = { |