1 (edited by Niki49 2011-06-07 21:34:33)

Topic: [WEBSITE][SERVER] Config Generator

Server Config-Creator by "Starlex.de"


This is a Server Config-Creator which you can use to create your own custom Config-Creator  for any modification. How this works i will explain now:

The system works really simple, you will see!

The varibles working like the following: ["function","config command","command name","example command"]


Example:

[
["textbox","sv_name","Servername","unnamed Server"],
["textbox","sv_map","Mapname","dm1"],
["textbox","sv_port","Port","8303"],
["textbox","sv_scorelimit","Scorelimit","20"],
["textbox","sv_timelimit","Timelimit","10"],
["select","sv_gametype","Gametype",[["dm","Deathmatch (dm)"],["tdm","Team Deathmatch (tdm)"],["ctf","Capture the Flag (ctf)"]]],
["textbox","sv_rcon_password","Server Rcon-Password",""],
["numbox","sv_max_clients","Playerlimit",[1,16,8]],
["numbox","sv_spectator_slots","Spectator Slots",[0,16,0]]
]


You can create your own entries, tickboxes, etc.

"textbox" - It will create a Box where you will be able to create textboxes for example for server name. Example: ["textbox","sv_name","Servername","unnamed Server"]

"numbox" - You can create NumberBoxes for example for setting the max clients whcih will be able to join the server. Example: ["numbox","sv_max_clients","Spielerlimit",[1,16,8]] ( The variables at the end are [min, max,default] )

"select" - You can create selections for example for selecting a gametype. ["select","sv_gametype","Gametype",[["dm","Deathmatch (dm)"],["tdm","Team Deathmatch (tdm)"],["ctf","Capture the Flag (ctf)"]]


Simply add one command after another to the list how you see in this example:

If you just enter the given example ahead ( ["numbox","sv_max_clients","Playerlimit",[1,16,8]] ) only the numbox appears.

You can add as many boxes as you want. Just try it out, I'm sure you will understand it if you just try it.


Visit the Config-Generator here.


- I don't own the Server-Creator, I just wrote the tutorial!
- Do you have still questions? Just ask!

2

Re: [WEBSITE][SERVER] Config Generator

Good job! Php?

--

Hm but it's too difficult. Most useful config generator was teevision.de
Better to make option boxes and other inputs and calculate it with java

Please don't double-post within few minutes //heinrich5991