Topic: [MOD]Instagib1.1+SpamProtection+KickVote+CtfBroadcast+AntiCamping
Here i built a new all-in-one patch containing the following mods:
Instagib 1.1 (thanks to Teeworlds devs, Daniel, spl0k and Somerunce)
SpamProtection (thanks to Rajh and Scosu)
KickVote (thanks to Rajh and Scosu)
CtfBroadcast (thanks to GregWar)
AntiCamping (thanks to datag)
KillingSpree (thanks to Teeworlds devs, Daniel, spl0k and Somerunce)
To use it under linux save All_In_One_Patch_for_TeeWorlds_0.4.2---Instagib_1.1-CtfBroadCast-SpamProtection-KickVote-AntiCamping-KillingSpree.patch in the same directory where you downloaded TeeWorlds 0.4.2 source code (the home maybe) and issue the following commands:
tar xvfz teeworlds-0.4.2-src.tar.gz
cd teeworlds-0.4.2-src
patch -p0 < ../All_In_One_Patch_for_TeeWorlds_0.4.2---Instagib_1.1-CtfBroadCast-SpamProtection-KickVote-AntiCamping-KillingSpree.patch
Here there are configuration instruction for each Mod:
*** Instagib 1.1 & KillingSpree ***
* sv_instagib - Turn this on to enable instagib. Default: 0
* sv_instagib_dmg - Turn this on to kill on shots without bounce. Default: 1
* sv_instagib_bouncedmg - Turn this on to kill on shots with bounce. Default: 1
* sv_instagib_explode - Turn this on to make laser explode. Default: 0
* sv_kills_send - Turn this on to send the player's kills via broadcast to the player. Default: 0
* sv_protect - Set this to the number of seconds you want spawn protection. The player can't be killed within that time from the spawning. Default: 0
* sv_spree - Turn this on to enable killing spree messages. Default: 0
* sv_spree_method - Set this to 1 to send spree msgs via broadcast. If it conflicts with sv_kills_send, the kill send will go first. Default: 0
*** SpamProtection ***
sv_startmessage (message that appears at the beginning of a round, normal there is no message)
sv_endroundmessage (message that appears at the end of a round, normal there is no message)
sv_teamchanges 0 (allowed teamchanges in 30 seconds, '0' = disabled)
sv_teamchangeskick 0 (allowed teamchanges, after the user tried to change team more often, before the player will be kicked, '0' = disabled)
sv_time_blocked 180 (how much seconds the player can't change team)
sv_messagesnum 0 (allowed messages in 30 seconds, '0' = disabled)
sv_messageskick 0 (allowed messages, after the user tried to send messages more often, before the player will be kicked, '0' = disabled)
sv_time_muted 180 (how much seconds the player is muted)
sv_handle_mapvotes 0 (should '/++' and '/--' doesn't appear in global chat. then a confirmation is sent to the player.
this option does not activate any displaying of voting results. it's only to let the player know that
they voted successfully. the votes will be used by the statistics program i am working on)
*** KickVote ***
sv_reserved_slots (0<x<12) => number of reserved slots
sv_reserved_slots_pass =>Pass to connect a reserved slot
sv_allow_votes (0|1] =>Allow vote thing "/kick name"
sv_all_vote (0|1) =>if enable the vote is YES only if "vote for yes > total of the player in the server /2"
ban id time
banlist
unban id
vote time question =>Start a custom vote
.info =>gives the player information about all commands
*** Anti Camping ***
sv_camp_maxtime 8 # Maximum allowed time to linger at the same place
sv_camp_threshold 200 # Threshold for distance
*** BroadCast ***
sv_ctfbroad (0|1)
sv_ctfmsg captured the flag!
After this you can compile all as usual. I hope it should be useful!!!
Download patch for linux
Win32 server binaries
Linux x86 server binaries
Linux x86@64 server binaries