Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
{"id":2282,"date":"2019-11-26T07:19:55","date_gmt":"2019-11-26T07:19:55","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2282"},"modified":"2019-11-26T07:19:55","modified_gmt":"2019-11-26T07:19:55","slug":"installing-a-reflex-server-on-windows","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/installing-a-reflex-server-on-windows\/","title":{"rendered":"Installing a Reflex Server on Windows"},"content":{"rendered":"

Introduction<\/strong><\/h3>\n

Reflex is an up-and-coming competitive Arena FPS by Turbo Pixel Studios. This tutorial will show you how to set up your own Reflex server on a Windows VPS, write a batch file that restarts the server in the event of a crash, and write a batch file for updating the server. At this time, the reflex server software is only available for Windows.<\/p>\n

Installing SteamCMD<\/strong><\/h3>\n

SteamCMD is a command-line tool for installing and updating game server software available through Steam. It is required to download the Reflex server files.<\/p>\n

Step 1<\/strong>\u00a0– Download\u00a0SteamCMD<\/strong>\u00a0from\u00a0here<\/span><\/a><\/strong>.<\/p>\n

Step 2<\/strong>\u00a0– Extract steamcmd.exe to\u00a0C:\\steamcmd<\/code><\/p>\n

Installing The Reflex Server<\/strong><\/h3>\n

Step 1<\/strong>\u00a0– Create a new folder\u00a0C:\\reflexsrv<\/code><\/p>\n

Step 2<\/strong>\u00a0– Run\u00a0C:\\steamcmd\\steamcmd.exe<\/code><\/p>\n

Step 3<\/strong>\u00a0– Enter the following commands:<\/p>\n

login anonymous\r\nforce_install_dir C:\\reflexsrv\r\napp_update 329740\r\n<\/code><\/pre>\n

When the server has finished installing, type\u00a0quit<\/code>.<\/p>\n

Configuring The Reflex Server<\/strong><\/h3>\n

Step 1<\/strong>\u00a0– Run\u00a0reflexded.exe<\/code>\u00a0to generate the configuration file\u00a0dedicatedserver.cfg<\/code>.<\/p>\n

Step 2<\/strong>\u00a0– Customize the server variables to your liking, but take note of\u00a0sv_gameport<\/code>.<\/p>\n

Step 3<\/strong>\u00a0– If you have Windows Firewall enabled on your server, you must forward the port\u00a0(TCP and UDP)<\/strong>\u00a0you specified in\u00a0sv_gameport<\/code>\u00a0to allow players to connect to your server.<\/p>\n

Auto-Restart Batch File<\/strong><\/h3>\n

Your server is now installed and configured, and you can simply run\u00a0reflexded.exe<\/code>\u00a0to start it. However, Reflex is still in early access and the server software is still prone to crashes. Create a new batch file with the following contents:<\/p>\n

@echo off\r\necho Server will auto-restart if there is a crash\r\necho Press Ctrl+C to cancel the restart during the countdown.\r\ntimeout 10\r\n\r\nFOR \/L %%A IN (1,1,99999) DO (\r\nreflexded.exe\r\necho reflexded.exe has stopped, restarting in 5 seconds.\r\ntimeout 5\r\n)\r\n<\/code><\/pre>\n

Run the batch file above to start the server instead of directly running\u00a0reflexded.exe<\/code>.<\/p>\n

Server Update Batch File<\/strong><\/h3>\n

The server is updated using the same commands in\u00a0SteamCMD<\/strong>\u00a0we used when installing the server, but it’s nice to be able to update it in a single click. Create a new batch file with the following contents:<\/p>\n

@echo off\r\nC:\\steamcmd\\steamcmd.exe +login anonymous +force_install_dir C:\\reflexsrv +app_update 329740 +quit\r\npause\r\n<\/code><\/pre>\n

Remember to stop the server process before updating.<\/p>\n

Conclusion<\/strong><\/h3>\n

That’s it! You now have a configured Reflex server on your Windows VPS and batch files to run and update it. Enjoy!<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[105],"manual_kb_tag":[196],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2282"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=2282"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2282\/revisions"}],"predecessor-version":[{"id":2283,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2282\/revisions\/2283"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2282"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2282"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}