From 7897a8cf397a4d18179dbb480d05595155b5fd13 Mon Sep 17 00:00:00 2001
From: Daniel Gibbs <me@danielgibbs.co.uk>
Date: Wed, 28 Oct 2015 18:52:46 +0000
Subject: [PATCH] Added TeeWorlds Configs

---
 Teeworlds/cfg/ctf.cfg    | 14 ++++++++++++
 Teeworlds/cfg/dm.cfg     | 14 ++++++++++++
 Teeworlds/cfg/duel.cfg   | 14 ++++++++++++
 Teeworlds/cfg/server.cfg | 49 ++++++++++++++++++++++++++++++++++++++++
 Teeworlds/cfg/tdm.cfg    | 14 ++++++++++++
 5 files changed, 105 insertions(+)
 create mode 100644 Teeworlds/cfg/ctf.cfg
 create mode 100644 Teeworlds/cfg/dm.cfg
 create mode 100644 Teeworlds/cfg/duel.cfg
 create mode 100644 Teeworlds/cfg/server.cfg
 create mode 100644 Teeworlds/cfg/tdm.cfg

diff --git a/Teeworlds/cfg/ctf.cfg b/Teeworlds/cfg/ctf.cfg
new file mode 100644
index 000000000..77be2ed95
--- /dev/null
+++ b/Teeworlds/cfg/ctf.cfg
@@ -0,0 +1,14 @@
+// ****************************************************************************
+//                                                                            *
+//     TeeWorlds - ctf.cfg                                                    *
+//     Version 281015                                                         *
+//                                                                            *
+// ****************************************************************************
+
+sv_gametype ctf
+sv_powerups 1
+sv_scorelimit 500
+sv_spectator_slots 0
+sv_timelimit 0
+sv_tournament_mode 0
+sv_map_reload 1
\ No newline at end of file
diff --git a/Teeworlds/cfg/dm.cfg b/Teeworlds/cfg/dm.cfg
new file mode 100644
index 000000000..e5db44a48
--- /dev/null
+++ b/Teeworlds/cfg/dm.cfg
@@ -0,0 +1,14 @@
+// ****************************************************************************
+//                                                                            *
+//     TeeWorlds - dm.cfg                                                     *
+//     Version 281015                                                         *
+//                                                                            *
+// ****************************************************************************
+
+sv_gametype dm
+sv_powerups 1
+sv_scorelimit 20
+sv_spectator_slots 0
+sv_timelimit 0
+sv_tournament_mode 0
+sv_map_reload 1
\ No newline at end of file
diff --git a/Teeworlds/cfg/duel.cfg b/Teeworlds/cfg/duel.cfg
new file mode 100644
index 000000000..de7cdd91d
--- /dev/null
+++ b/Teeworlds/cfg/duel.cfg
@@ -0,0 +1,14 @@
+// ****************************************************************************
+//                                                                            *
+//     TeeWorlds - duel.cfg                                                   *
+//     Version 281015                                                         *
+//                                                                            *
+// ****************************************************************************
+
+sv_gametype tdm
+sv_powerups 0
+sv_scorelimit 10
+sv_spectator_slots 10
+sv_timelimit 5
+sv_tournament_mode 1
+sv_map_reload 1
\ No newline at end of file
diff --git a/Teeworlds/cfg/server.cfg b/Teeworlds/cfg/server.cfg
new file mode 100644
index 000000000..3a002207c
--- /dev/null
+++ b/Teeworlds/cfg/server.cfg
@@ -0,0 +1,49 @@
+// ****************************************************************************
+//                                                                            *
+//     TeeWorlds - server.cfg                                                 *
+//     Version 271015                                                         *
+//                                                                            *
+// ****************************************************************************
+
+// ............................. Basic Settings ............................. //
+
+// Hostname for server.
+sv_name <hostname>
+
+// Maximum players
+sv_max_clients 12
+
+// Server Port
+sv_port 8303
+
+// Rcon Password
+sv_rcon_password <rconpassword>
+
+// Register with masterservers
+sv_register 1
+
+// Enable spam filter
+sv_spamprotection 0
+
+// Vote map
+sv_vote_map 1
+
+// Warmup time between rounds
+sv_warmup 10
+
+addvote restart 10
+addvote exec dm.cfg
+addvote exec ctf.cfg
+addvote exec duel.cfg
+addvote exec tdm.cfg
+addvote "change_map ctf1"
+addvote "change_map ctf2"
+addvote "change_map ctf3"
+addvote "change_map ctf4"
+addvote "change_map ctf5"
+addvote "change_map dm1"
+addvote "change_map dm2"
+addvote "change_map dm6"
+addvote "change_map dm7"
+addvote "change_map dm8"
+addvote "change_map dm9"
\ No newline at end of file
diff --git a/Teeworlds/cfg/tdm.cfg b/Teeworlds/cfg/tdm.cfg
new file mode 100644
index 000000000..c2ab04326
--- /dev/null
+++ b/Teeworlds/cfg/tdm.cfg
@@ -0,0 +1,14 @@
+// ****************************************************************************
+//                                                                            *
+//     TeeWorlds - tdm.cfg                                                    *
+//     Version 281015                                                         *
+//                                                                            *
+// ****************************************************************************
+
+sv_gametype tdm
+sv_powerups 1
+sv_scorelimit 50
+sv_spectator_slots 0
+sv_timelimit 0
+sv_tournament_mode 0
+sv_map_reload 1
\ No newline at end of file