XVote - Extended Vote System 1.0 
37 comments The Extended Vote System (XVote) extends the existing quite simple vote system by adding more voting options. With XVote, all humans can vote for:
kick any player (not just from the same team)
mapchange
change of the game mode
toggle Fog of War
toggle Friendly Fire
toggle infinite ammo
restarting the round
All stuff is accessed by a Lua menu. By default, it can be accessed with [F4] or by saying "!xvote" (This text will be surpressed in the chat). If there is another script running which uses [F4] and shows a menu, the XVote will not appear. The serverinfo hook has a priority of -10.
Map and kick votes from the traditional vote menu and per console (
vote;
votemap) will be counted, too.
The voting rules are:
All humans can vote anytime
A vote option will be applied immediately if more than 50% of all human players vote for this option.
Installation:
Extract the file into the CS2D directory. Then, add this line to "sys/lua/server.lua":
Configuration:
The server can set some options in the file "sys/lua/xvoteconfig.lua". Currently, the XVote menu key and the map list can be configured. Each option has a long explantation on it.
By default, the maps listed in "sys/mapcycle.cfg" are the maps the players can vote for.







All stuff is accessed by a Lua menu. By default, it can be accessed with [F4] or by saying "!xvote" (This text will be surpressed in the chat). If there is another script running which uses [F4] and shows a menu, the XVote will not appear. The serverinfo hook has a priority of -10.
Map and kick votes from the traditional vote menu and per console (


The voting rules are:


Installation:
Extract the file into the CS2D directory. Then, add this line to "sys/lua/server.lua":
Code:
1
dofile("sys/lua/xvote.lua")
Configuration:
The server can set some options in the file "sys/lua/xvoteconfig.lua". Currently, the XVote menu key and the map list can be configured. Each option has a long explantation on it.
By default, the maps listed in "sys/mapcycle.cfg" are the maps the players can vote for.

Comments
37 commentsLog in!
You need to log in to be able to write comments!Log in

You too, so do you have? Just one person voted for the change maps, and already is changing .. I would like to in at least eight people voted for a map and not only changed the map, someone help me?

@Sunny Autumn: you're wrong.
For example: you're a CT and you want to vote a T which his ID is 1, then you write in console (or in chat, starting with /):
It will appear:
Although that appeared, it will have no effect, since the whole CT team can /vote the T and the guy still wont be kicked.
95% of all players don't know this, but it's the truth. So if you're a T and a CT is voting you, don't worry, it wont have effect; as long as he's not in your team.
For example: you're a CT and you want to vote a T which his ID is 1, then you write in console (or in chat, starting with /):
Code:
1
vote 1
It will appear:
Quote:
CT_name voted T_name (...)
Although that appeared, it will have no effect, since the whole CT team can /vote the T and the guy still wont be kicked.
95% of all players don't know this, but it's the truth. So if you're a T and a CT is voting you, don't worry, it wont have effect; as long as he's not in your team.