From ef65bd6f491561a83525a99b1c7fefeae201c3b5 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Fri, 8 Mar 2013 09:29:22 +0000 Subject: Core: added PortsIPv6 setting to webadmin (contributed by STR_Warrior) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1261 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/Core/web_serversettings.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'MCServer') 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 ) Port: + PortsIPv6: + Shown Version: ]] .. HTML_Select_Version("Server_Version", SettingsIni:GetValueI("Server", "PrimaryServerVersion") ) .. [[
-- cgit v1.2.3