summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core
diff options
context:
space:
mode:
authormadmaxoft <madmaxoft@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-08 10:29:22 +0100
committermadmaxoft <madmaxoft@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-08 10:29:22 +0100
commitef65bd6f491561a83525a99b1c7fefeae201c3b5 (patch)
tree53cc964313d003bb246dedb8583a8255e59e66ec /MCServer/Plugins/Core
parentProtoProxy: log PlayerPositionLook packet decoded data (diff)
downloadcuberite-ef65bd6f491561a83525a99b1c7fefeae201c3b5.tar
cuberite-ef65bd6f491561a83525a99b1c7fefeae201c3b5.tar.gz
cuberite-ef65bd6f491561a83525a99b1c7fefeae201c3b5.tar.bz2
cuberite-ef65bd6f491561a83525a99b1c7fefeae201c3b5.tar.lz
cuberite-ef65bd6f491561a83525a99b1c7fefeae201c3b5.tar.xz
cuberite-ef65bd6f491561a83525a99b1c7fefeae201c3b5.tar.zst
cuberite-ef65bd6f491561a83525a99b1c7fefeae201c3b5.zip
Diffstat (limited to 'MCServer/Plugins/Core')
-rw-r--r--MCServer/Plugins/Core/web_serversettings.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/MCServer/Plugins/Core/web_serversettings.lua b/MCServer/Plugins/Core/web_serversettings.lua
index de914d518..65a2f12ad 100644
--- a/MCServer/Plugins/Core/web_serversettings.lua
+++ b/MCServer/Plugins/Core/web_serversettings.lua
@@ -43,6 +43,9 @@ local function ShowGeneralSettings( Request )
if( tonumber( Request.PostParams["Server_Port"] ) ~= nil ) then
SettingsIni:SetValue("Server", "Port", Request.PostParams["Server_Port"], false )
end
+ if( tonumber( Request.PostParams["Server_PortsIPv6"] ) ~= nil ) then
+ SettingsIni:SetValue("Server", "PortsIPv6", Request.PostParams["Server_PortsIPv6"], false )
+ end
if( tonumber( Request.PostParams["Server_Version"] ) ~= nil ) then
SettingsIni:SetValue("Server", "PrimaryServerVersion", Request.PostParams["Server_Version"], false )
end
@@ -73,6 +76,8 @@ local function ShowGeneralSettings( Request )
<td><input type="text" name="Server_MaxPlayers" value="]] .. SettingsIni:GetValue("Server", "MaxPlayers") .. [["></td></tr>
<tr><td>Port:</td>
<td><input type="text" name="Server_Port" value="]] .. SettingsIni:GetValue("Server", "Port") .. [["></td></tr>
+ <tr><td>PortsIPv6:</td>
+ <td><input type="text" name="Server_PortsIPv6" value="]] .. SettingsIni:GetValue("Server", "PortsIPv6") .. [["></td></tr>
<tr><td>Shown Version:</td>
<td>]] .. HTML_Select_Version("Server_Version", SettingsIni:GetValueI("Server", "PrimaryServerVersion") ) .. [[</td></tr>
</table><br>