Permalink
Please sign in to comment.
Showing
with
2,624 additions
and 1,877 deletions.
- +1 −1 CONTRIBUTING.md
- +26 −219 MCServer/Plugins/APIDump/APIDesc.lua
- +206 −0 MCServer/Plugins/APIDump/Classes/Plugins.lua
- +51 −0 MCServer/Plugins/APIDump/Classes/WebAdmin.lua
- +1 −1 MCServer/Plugins/Core
- +34 −0 MCServer/Plugins/Debuggers/Debuggers.lua
- +76 −54 MCServer/crafting.txt
- +0 −375 MCServer/webadmin/(original).html
- +12 −14 MCServer/webadmin/template.lua
- +0 −137 MCServer/webadmin/template_orig.lua
- +107 −19 src/Bindings/LuaState.cpp
- +39 −39 src/Bindings/LuaState.h
- +526 −548 src/Bindings/ManualBindings.cpp
- +283 −35 src/Bindings/ManualBindings_RankManager.cpp
- +29 −5 src/Bindings/Plugin.cpp
- +53 −42 src/Bindings/Plugin.h
- +39 −33 src/Bindings/PluginLua.cpp
- +9 −5 src/Bindings/PluginLua.h
- +186 −163 src/Bindings/PluginManager.cpp
- +89 −58 src/Bindings/PluginManager.h
- +72 −38 src/Bindings/WebPlugin.cpp
- +47 −14 src/Bindings/WebPlugin.h
- +20 −5 src/Blocks/BlockDoor.h
- +10 −0 src/Blocks/BlockOre.h
- +7 −3 src/ChunkMap.cpp
- +8 −1 src/ClientHandle.cpp
- +2 −2 src/CraftingRecipes.cpp
- +5 −2 src/Entities/HangingEntity.h
- +24 −6 src/Entities/Player.cpp
- +12 −1 src/Entities/Player.h
- +5 −6 src/Generating/CompoGen.cpp
- +1 −1 src/Generating/CompoGen.h
- +5 −1 src/Generating/ComposableGenerator.cpp
- +113 −1 src/Generating/FinishGen.cpp
- +22 −0 src/Generating/FinishGen.h
- +3 −1 src/HTTPServer/HTTPConnection.cpp
- +2 −1 src/HTTPServer/HTTPConnection.h
- +1 −1 src/Items/ItemDoor.h
- +2 −2 src/Items/ItemHandler.cpp
- +23 −0 src/Items/ItemSlab.h
- +0 −6 src/OSSupport/TCPLinkImpl.cpp
- +1 −1 src/OSSupport/UDPEndpointImpl.cpp
- +1 −1 src/Protocol/Protocol18x.cpp
- +379 −0 src/RankManager.cpp
- +42 −1 src/RankManager.h
- +4 −4 src/Root.cpp
- +5 −15 src/Server.cpp
- +6 −2 src/UI/Window.cpp
- +1 −1 src/UI/Window.h
- +24 −11 src/WebAdmin.cpp
- +9 −0 src/WebAdmin.h
- +1 −1 src/World.cpp
| @@ -0,0 +1,51 @@ | ||
| return | ||
| { | ||
| cWebAdmin = | ||
| { | ||
| Desc = "", | ||
| Functions = | ||
| { | ||
| GetHTMLEscapedString = { Params = "string", Return = "string", Notes = "(STATIC) Gets the HTML-escaped representation of a requested string. This is useful for user input and game data that is not guaranteed to be escaped already." }, | ||
| }, | ||
| }, -- cWebAdmin | ||
| HTTPFormData = | ||
| { | ||
| Desc = "This class stores data for one form element for a {{HTTPRequest|HTTP request}}.", | ||
| Variables = | ||
| { | ||
| Name = { Type = "string", Notes = "Name of the form element" }, | ||
| Type = { Type = "string", Notes = "Type of the data (usually empty)" }, | ||
| Value = { Type = "string", Notes = "Value of the form element. Contains the raw data as sent by the browser." }, | ||
| }, | ||
| }, -- HTTPFormData | ||
| HTTPRequest = | ||
| { | ||
| Desc = [[ | ||
| This class encapsulates all the data that is sent to the WebAdmin through one HTTP request. Plugins | ||
| receive this class as a parameter to the function handling the web requests, as registered in the | ||
| {{cPluginLua}}:AddWebPage(). | ||
| ]], | ||
| Constants = | ||
| { | ||
| FormData = { Notes = "Array-table of {{HTTPFormData}}, contains the values of individual form elements submitted by the client" }, | ||
| Params = { Notes = "Map-table of parameters given to the request in the URL (?param=value); if a form uses GET method, this is the same as FormData. For each parameter given as \"param=value\", there is an entry in the table with \"param\" as its key and \"value\" as its value." }, | ||
| PostParams = { Notes = "Map-table of data posted through a FORM - either a GET or POST method. Logically the same as FormData, but in a map-table format (for each parameter given as \"param=value\", there is an entry in the table with \"param\" as its key and \"value\" as its value)." }, | ||
| }, | ||
| Variables = | ||
| { | ||
| Method = { Type = "string", Notes = "The HTTP method used to make the request. Usually GET or POST." }, | ||
| Path = { Type = "string", Notes = "The Path part of the URL (excluding the parameters)" }, | ||
| URL = { Type = "string", Notes = "The entire URL used for the request." }, | ||
| Username = { Type = "string", Notes = "Name of the logged-in user." }, | ||
| }, | ||
| }, -- HTTPRequest | ||
| } | ||
Submodule Core
updated
from ee3cd9 to 57a0bd
Oops, something went wrong.
0 comments on commit
75e04e8