- removed unnecessary files

- cleaned up database class
- plugin and plugin handler class
- improved player and player handler classes
- other cleanup and improvements
This commit is contained in:
Steffen Schröder
2013-11-10 02:55:08 +01:00
parent d1818680d5
commit d2744a5157
35 changed files with 588 additions and 3563 deletions

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Configure the chatlog plugin -->
<chatlog-config>
<!-- Enable plugin -->
<enabled>true</enabled>
<!-- Filename for the chatlog -->
<filename>chat.log</filename>
<!-- Log server messages -->
<log_server_messages>true</log_server_messages>
</chatlog-config>

View File

@ -7,10 +7,10 @@
<port>3306</port>
<!-- MySQL User -->
<user>steff</user>
<user>maniacontrol</user>
<pass>kjhgvhbjnfih2394ugnjk</pass>
<!-- Database Name -->
<database>steff_united</database>
<database>maniacontrol_dev</database>
</database-config>

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Configure the karma plugin -->
<karma-plugin-config>
<!-- Enable the plugin -->
<enabled>true</enabled>
<!-- Title -->
<title>Map Voting</title>
<!-- Position -->
<pos_x>92</pos_x>
<pos_y>83</pos_y>
</karma-plugin-config>

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Configure the obstacle plugin -->
<obstacle-config>
<!-- Enable/Disable the whole plugin -->
<enabled>true</enabled>
<!-- Set right level needed for jumps -->
<jumps_rightlevel>operator</jumps_rightlevel>
</obstacle-config>

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Configure which plugins should be loaded -->
<plugins-config>
<!-- <plugin>FILENAME1</plugin> <plugin>FILENAME2</plugin>
<plugin>chatlog.plugin.php</plugin>
<plugin>karma.plugin.php</plugin>
<plugin>records.plugin.php</plugin>
<plugin>united.plugin.php</plugin>-->
<!-- <plugin>obstacle.plugin.php</plugin> -->
</plugins-config>

View File

@ -1,67 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Configure the records plugin -->
<records-config>
<!-- Enable/Disable the whole plugin -->
<enabled>true</enabled>
<!-- Configure local records -->
<local_records>
<enabled>true</enabled>
<!-- Define how many records per map are saved -->
<count>200</count>
<!-- Define the widget -->
<widget>
<enabled>true</enabled>
<pos_x>-139</pos_x>
<pos_y>65</pos_y>
<title>Local Records</title>
<width>40</width>
<lines>25</lines>
<line_height>4</line_height>
</widget>
</local_records>
<!-- Configure dedimania records -->
<dedimania_records>
<enabled>true</enabled>
<!-- Define your dedimania account (http://dedimania.net/tm2stats/?do=register) -->
<account>
<login>steff_test</login>
<code>468a0a185c</code>
</account>
<account>
<login>nsa_dev</login>
<code>3c20cbc737</code>
</account>
<account>
<login>united_canyon</login>
<code>703d080ddd</code>
</account>
<account>
<login>united_stadium</login>
<code>067b0d0017</code>
</account>
<account>
<login>united_valley</login>
<code>37ed993fe1</code>
</account>
<!-- Define the widget -->
<widget>
<enabled>true</enabled>
<pos_x>139</pos_x>
<pos_y>60</pos_y>
<title>Dedimania</title>
<width>40</width>
<lines>20</lines>
<line_height>4</line_height>
</widget>
</dedimania_records>
</records-config>

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Configure your maniaplanet server -->
<server-config>
<!-- Enable to use only one static server (default behavior) -->
<enable>true</enable>
<!-- Server connection details (Make sure that the firewall and the server config are properly configured!) -->
<host>144.76.158.111</host>
<host>localhost</host>
<port>21003</port>
<!-- XmlRpc login details -->
<login>SuperAdmin</login>
<pass>dtcfvgubhnjomkjnbhv</pass>
</server-config>

View File

@ -1,119 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Configure the United plugin -->
<!-- Note: You should disable the config server.ManiaControl.xml while using this plugin -->
<united-config>
<!-- Enable the whole plugin -->
<enabled>false</enabled>
<!-- Configure the server order (Random or as defined in the xml) -->
<random_order>false</random_order>
<!-- Define the mode that should be running on all the server -->
<!-- Rounds (1), TimeAttack (2), Team (3), Laps (4), Cup (5), Stunts (6) -->
<mode>2</mode>
<!-- Whether game server should be hidden from the browser -->
<hide_game_server>false</hide_game_server>
<!-- Set lobby status for lobby server -->
<set_lobby_status>true</set_lobby_status>
<!-- Define the game server -->
<gameserver>
<!-- Define the join/spec password for game server -->
<password>a</password>
<!-- Template -->
<!-- <server> -->
<!-- <host>ip</host> -->
<!-- <port>5000</port> -->
<!-- <login>SuperAdmin</login> -->
<!-- <pass>SuperAdmin</pass> -->
<!-- </server> -->
<!-- Canyon -->
<server>
<host>144.76.158.111</host>
<port>21013</port>
<login>SuperAdmin</login>
<pass>dtcfvgubhnjomkjnbhv</pass>
</server>
<!-- Stadium -->
<server>
<host>144.76.158.111</host>
<port>21033</port>
<login>SuperAdmin</login>
<pass>dtcfvgubhnjomkjnbhv</pass>
</server>
<!-- Valley -->
<server>
<host>144.76.158.111</host>
<port>21053</port>
<login>SuperAdmin</login>
<pass>dtcfvgubhnjomkjnbhv</pass>
</server>
</gameserver>
<!-- Define lobbies -->
<lobbies>
<!-- Define the join/spec password for lobbies -->
<password>a</password>
<!-- Template -->
<!-- <server> -->
<!-- <host>ip</host> -->
<!-- <port>5000</port> -->
<!-- <login>SuperAdmin</login> -->
<!-- <pass>SuperAdmin</pass> -->
<!-- </server> -->
<!-- Canyon -->
<server>
<host>144.76.158.111</host>
<port>21023</port>
<login>SuperAdmin</login>
<pass>dtcfvgubhnjomkjnbhv</pass>
</server>
<!-- Stadium -->
<server>
<host>144.76.158.111</host>
<port>21043</port>
<login>SuperAdmin</login>
<pass>dtcfvgubhnjomkjnbhv</pass>
</server>
<!-- Valley -->
<server>
<host>144.76.158.111</host>
<port>21063</port>
<login>SuperAdmin</login>
<pass>dtcfvgubhnjomkjnbhv</pass>
</server>
</lobbies>
<!-- Configure widgets -->
<widgets>
<enabled>true</enabled>
<!-- Favorite widget -->
<addfavorite>
<enabled>true</enabled>
<pos_x>76</pos_x>
<pos_y>85.5</pos_y>
<width>10</width>
<height>10</height>
<!-- Enable add_all to let players add all game and lobby server to favorite with 1 click -->
<add_all>true</add_all>
</addfavorite>
</widgets>
</united-config>