Raised This Month: $12 Target: $400
 3% 

Custom Votes v0.5.6 (1/07)


Post New Thread Reply   
 
Thread Tools Display Modes
Dizzy47
Junior Member
Join Date: Sep 2013
Old 10-04-2013 , 16:01   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #841

I wanna setup a vote to spawn a dodgeball bot but i need to know how to make it so it forces everyone but the bot on one team. Anyone who can help? Also, is there any way to make the custom vote a command like "!dodgebot" or whatever so anyone can type it and start a vote.

Last edited by Dizzy47; 10-04-2013 at 16:04.
Dizzy47 is offline
Viggi Bear
Junior Member
Join Date: Jun 2013
Old 10-04-2013 , 23:29   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #842

Hi, could someone guide me where I'm going wrong. I'm trying to create a menu for players to vote for the right cfg file. This is my code, but in game, it asks me, vote for #1 as the CFG and in console, it says exec "1", 1 not found, not executing. Here is my config.

Code:
"voteconfig"
	{
		"title" 	"Choose #1 Config?"
		"type"		"confirm"
		"command"	"exec #1"
		"trigger"
		{
			"command" 	"voteconfig"
			"notice"	"#1 has been voted as the CFG"
			"percent"	"10"
		}
		"params"
		{
			"type"	"list"
			"title"	"Choose the right config"
			"server.cfg"				"Standard Server Setup"
			"ugc_HL_base.cfg"			"UGC Highlander Base"
			"ugc_HL_ctf.cfg"			"UGC Highlander Ctf"
			"ugc_HL_custom.cfg"			"UGC Highlander Custom"
			"ugc_HL_koth.cfg"			"UGC Highlander Koth"
			"ugc_HL_standard.cfg"		"UGC Highlander Standard"
			"ugc_HL_stopwatch.cfg"		"UGC Highlander Stopwatch"
			"ugc_HL_tugofwar.cfg"		"UGC Highlander Tug-of-War"
			"ugc_off.cfg"				"UGC Highlander Off"
			"ugc_6v_base.cfg"			"UGC 6v6 Base"
			"ugc_6v_ctf.cfg"			"UGC 6v6 Ctf"
			"ugc_6v_custom.cfg"			"UGC 6v6 Custom"
			"ugc_6v_golden.cfg"			"UGC 6v6 Golden"
			"ugc_6v_koth.cfg"			"UGC 6v6 Koth"
			"ugc_6v_standard.cfg"		"UGC 6v6 Standard"
			"ugc_6v_stopwatch.cfg"		"UGC 6v6 Stopwatch"
		}
		
	}
Viggi Bear is offline
moxie2020
Veteran Member
Join Date: Aug 2011
Old 10-31-2013 , 20:09   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #843

Any Chance someone could revive this plugin?

I like the player votes plugin (https://forums.alliedmods.net/showthread.php?t=217619) but it doesn't allow for custom votes, relies on chat commands instead of being able to trigger a general vote and is limited to votemute instead of the much more effective vote silence.

The one feature it does have that custom votes lacks is the ability to limit the vote within teams which obviously is much more useful in the case of votemute or votesilence.
moxie2020 is offline
Phorce_Phed
Member
Join Date: Jun 2006
Old 12-19-2013 , 23:41   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #844

This plugin is obsolete. See:

Custom Votes Redux

Last edited by Phorce_Phed; 07-18-2014 at 18:22.
Phorce_Phed is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 06-24-2014 , 09:26   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #845

Quote:
Originally Posted by ALKINDA View Post
would be great to have map specific votes. would enhance this plugin alot.
Took the words right out of my mouth
Totally agree!
Vastrix is offline
stebrickboy
Junior Member
Join Date: Jul 2013
Old 06-25-2014 , 12:27   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #846

Do anyone know how to exclude spectators in a vote?
stebrickboy is offline
juniorjpdj
Junior Member
Join Date: Aug 2014
Old 08-10-2014 , 07:39   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #847

How to make votes appear instantly at all player's game?
juniorjpdj is offline
napster_10
Senior Member
Join Date: May 2016
Old 05-16-2016 , 12:49   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #848

awesome but can someone explain what to do if i want to have a voting to kick bots?

like rockthevote to change map

- a set percentage of player have to type in !bots or something like that
- after reaching the number vote will start by asking "kick the bots?"
- then u can confirm with yes/no
- and a set percentage of player is needed for yes to finally kick the bots

same for adding bots

can someone help or write this plugin?

i tried this but its not working

Code:
"Votes"
{
	"kickbots"
	{
		"title"		"Kick all Bots?"
		"type"		"chat"
		"admin"		"sm_ban"
		"cmd"		"bot_kick"
		"execute" 	"server"
		"trigger"
    		 {
        		 "command"   "kickbots"
        		 "notice"    "%u voted to kick Bots"
        		 "percent"   "75"
         		 "count"     "2"
    		 }
		
	}
}

Last edited by napster_10; 05-16-2016 at 12:50.
napster_10 is offline
KiR
Senior Member
Join Date: Nov 2011
Old 09-11-2016 , 10:43   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #849

How to make that vote started with 4 and 5?
KiR is offline
danhavoc
Junior Member
Join Date: Jun 2020
Old 06-17-2020 , 15:54   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #850

I'm not understanding something.
!votemenu -> change map to -> is returning an error

Code:
[SM] No admins found to approve the vote. Cancelled the vote.
two problems:

1) I am an admin set via, and I can change the map by typing !admin and changing it from there

2) I don't want to require approval and I can't figure out what I need to change

admin was set via "yoursteamid" "99:z" method in /addons/sourcemod/configs/admins_simple.ini

/tf/addons/sourcemod/configs/customvotes/playervotes.cfg :

Code:
"Votes"
{
	"voteban"
	{
		"title"		"Ban #1 for 30 minutes?"
		"type"		"chat"
		"command"	"sm_ban_auto #1 30 \"Banned by vote.\""
		"trigger"
		{
			"command"	"voteban"
			"notice"	"%u voted to ban #1"
			"percent"	"70"
			"count"		"4"
		}
		"params"
		{
			"1"			"player"
		}
	}
	"votekick"
	{
		"title"		"Kick #1?"
		"type"		"chat"
		"command"	"sm_kick #1 \"Kicked by vote.\""
		"trigger"
		{
			"command"	"votekick"
			"notice"	"%u voted to kick #1"
			"percent"	"70"
			"count"		"4"
		}
		"params"
		{
			"1"			"player"
		}
	}
	"votemute"
	{
		"title"		"Mute #1?"
		"type"		"chat"
		"command"	"sm_mute #1"
		"trigger"
		{
			"command"	"votemute"
			"notice"	"%u voted to mute #1"
			"percent"	"70"
			"count"		"4"
		}
		"params"
		{
			"1"			"player"
		}
	}
	"votealltalk"
	{
		"title"		"Turn alltalk #1?"
		"type"		"chat"
		"command"	"sv_alltalk #1"
		"trigger"
		{
			"command"	"votealltalk"
			"notice"	"%u wants to turn alltalk #1"
			"percent"	"60"
		}
		"params"
		{
			"1"			"onoff"
		}
	}
	"votemap"
	{
		"title"		"Change map to #1?"
		"type"		"chat"
		"command"	"changelevel #1"
		"trigger"
		{
			"command"	"votemap"
			"notice"	"%u wants to change the map to #1"
			"delay"		"300"
			"percent"	"60"
			"count"		"4"
		}
		"params"
		{
			"1"		"mapcycle"
		}
	}
}
danhavoc is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode