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

Custom Votes Redux (v1.7 - 4/13/14)


Post New Thread Reply   
 
Thread Tools Display Modes
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 02-06-2015 , 08:45   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #161

Quote:
Originally Posted by Mac91 View Post
voteban function doesn't work for me aswell!
how di you fix it? I am using TARGET_ID

"Ban player"
{
"type" "players"
"vote" "1"
"minimum" "4"
"ratio" "0.4"
"maxcalls" "1"
"command" "sm_ban {TARGET_ID} 60"
"start_notify" "[SM] {VOTER_NAME} ({VOTER_STEAMID}) started a vote to ban {TARGET_NAME}."
"call_notify" "[SM] Vote cast for {yes|no}."
"pass_notify" "[SM] Vote passed."
"fail_notify" "[SM] Vote failed. Received: {VOTE_AMOUNT} Required: {VOTE_REQUIRED}"
"chattrigger" "voteban"
}
I feel like trolling and I also feel like calling you an idiot but I won't because I understand people screw up and are blind at times. That was literally asked and answered like two posts up.
__________________

Last edited by Phaiz; 02-06-2015 at 08:46.
Phaiz is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 02-06-2015 , 08:48   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #162

Quote:
Originally Posted by HvG Community View Post
Why isnt voteban working, there are no error logs
Quote:
Originally Posted by Phaiz View Post
Code:
    "Ban player"
    {
        "type"            "players"
        "vote"            "1"
        "minimum"        "4"
        "cooldown"        "300"
        "ratio"            "0.70"
        "command"        "sm_ban {TARGET_NAME} 30 Votebanned by players"
        "start_notify"    "[SM] {VOTER_NAME} ({VOTER_STEAMID}) started a vote to ban {TARGET_NAME}."
        "call_notify"    "[SM] Vote cast for {yes|no}."
        "pass_notify"    "[SM] Vote passed."
        "fail_notify"    "[SM] Vote failed. Received: {VOTE_AMOUNT} Required: {VOTE_REQUIRED}"
        "chattrigger"    "voteban"
    }
Quote:
Originally Posted by HvG Community View Post
it was Target_ID for some godamn reason.....my gratitudes
Quote:
Originally Posted by Phaiz View Post
That's what it is by default. I just tested the different options until it worked.
Quote:
Originally Posted by Mac91 View Post
voteban function doesn't work for me aswell!
how di you fix it? I am using TARGET_ID

"Ban player"
{
"type" "players"
"vote" "1"
"minimum" "4"
"ratio" "0.4"
"maxcalls" "1"
"command" "sm_ban {TARGET_ID} 60"
"start_notify" "[SM] {VOTER_NAME} ({VOTER_STEAMID}) started a vote to ban {TARGET_NAME}."
"call_notify" "[SM] Vote cast for {yes|no}."
"pass_notify" "[SM] Vote passed."
"fail_notify" "[SM] Vote failed. Received: {VOTE_AMOUNT} Required: {VOTE_REQUIRED}"
"chattrigger" "voteban"
}
__________________
Phaiz is offline
Creampuffyness
Senior Member
Join Date: Jun 2009
Old 02-07-2015 , 01:30   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #163

Phaiz that config doesnt work for me. Only thing I removed was the cooldown. Anyone else have a working voteban?
__________________
Creampuffyness is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 02-07-2015 , 09:36   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #164

Quote:
Originally Posted by Creampuffyness View Post
Phaiz that config doesnt work for me. Only thing I removed was the cooldown. Anyone else have a working voteban?
Are you not using sourcebans? The config I posted works for myself and at least one other person.
__________________
Phaiz is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 02-07-2015 , 11:08   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #165

Any way to add reasons to the a vote ban or mute?

This doesn't seem to work.

Code:
	"Kick player"
	{
		"type"			"players"
		"immunity"		"2"	
		"vote"			"1"
		"cooldown"		"5"
		"minimum"		"4"
		"ratio"			"0.5"
		"options"
		{
			"Chat/mic spam"		"Chat/mic spam"
			"AFK"				"AFK"
			"Griefing"			"Griefing"
			"Other"				"Null"
		}
		"command"		"sm_kick {TARGET_NAME} You were vote kicked"// for {OPTION_RESULT}."
		"start_notify"	"[SM] {VOTER_NAME} ({VOTER_STEAMID}) started a vote to kick {TARGET_NAME}"// for {OPTION_RESULT}."
		"call_notify"	"[SM] Vote cast for {yes|no}."
		"pass_notify"	"[SM] Vote passed."
		"fail_notify"	"[SM] Vote failed. Received: {VOTE_AMOUNT} Required: {VOTE_REQUIRED}"
		"chattrigger"	"votekick"
	}
__________________
My Steam TF2APP
My sig changes with each load! Refresh to see my other servers!
jpwanabe is offline
Creampuffyness
Senior Member
Join Date: Jun 2009
Old 02-07-2015 , 16:59   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #166

Quote:
Originally Posted by Phaiz View Post
Are you not using sourcebans? The config I posted works for myself and at least one other person.
Yes I am using Sourcebans. Vote passes and nothing happens.
__________________
Creampuffyness is offline
Creampuffyness
Senior Member
Join Date: Jun 2009
Old 02-07-2015 , 17:00   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #167

Quote:
Originally Posted by jpwanabe View Post
Any way to add reasons to the a vote ban or mute?

This doesn't seem to work.

Code:
	"Kick player"
	{
		"type"			"players"
		"immunity"		"2"	
		"vote"			"1"
		"cooldown"		"5"
		"minimum"		"4"
		"ratio"			"0.5"
		"options"
		{
			"Chat/mic spam"		"Chat/mic spam"
			"AFK"				"AFK"
			"Griefing"			"Griefing"
			"Other"				"Null"
		}
		"command"		"sm_kick {TARGET_NAME} You were vote kicked"// for {OPTION_RESULT}."
		"start_notify"	"[SM] {VOTER_NAME} ({VOTER_STEAMID}) started a vote to kick {TARGET_NAME}"// for {OPTION_RESULT}."
		"call_notify"	"[SM] Vote cast for {yes|no}."
		"pass_notify"	"[SM] Vote passed."
		"fail_notify"	"[SM] Vote failed. Received: {VOTE_AMOUNT} Required: {VOTE_REQUIRED}"
		"chattrigger"	"votekick"
	}
This is my config. Jpwanabe, my votemute works for me.

Code:
"Custom Votes"
{
	"Kick player"
	{
		"type"			"players"
		"vote"			"1"
		"minimum"		"4"
		"immunity"		"5"	
		"ratio"			"0.6"
		"command"		"sm_kick {TARGET_NAME}"
		"start_notify"	"[SM] {VOTER_NAME} ({VOTER_STEAMID}) started a vote to kick {TARGET_NAME}."
		"call_notify"	"[SM] Vote cast for {yes|no}."
		"pass_notify"	"[SM] Vote passed."
		"fail_notify"	"[SM] Vote failed. Received: {VOTE_AMOUNT} Required: {VOTE_REQUIRED}"
		"chattrigger"	"votekick"
	}
"Ban player"
    {
        "type"            "players"
        "vote"          	"1"
        "minimum"        "4"
		"immunity"		"5"
        "cooldown"        "300"
        "ratio"            "0.70"
        "command"        "sm_ban {TARGET_NAME} 30"
        "start_notify"	"[SM] {VOTER_NAME} ({VOTER_STEAMID}) started a vote to ban {TARGET_NAME}."
        "call_notify"    "[SM] Vote cast for {yes|no}."
        "pass_notify"    "[SM] Vote passed."
        "fail_notify"    "[SM] Vote failed. Received: {VOTE_AMOUNT} Required: {VOTE_REQUIRED}"
        "chattrigger"    "voteban"
    }
	"Mute player"
	{
		"type"			"players"
		"vote"			"1"
		"minimum"		"4"
		"immunity"		"5"	
		"ratio"			"0.6"
		"command"		"sm_silence {TARGET_NAME}"
		"start_notify"	"[SM] {VOTER_NAME} ({VOTER_STEAMID}) started a vote to mute {TARGET_NAME}."
		"call_notify"	"[SM] Vote cast for {yes|no}."
		"pass_notify"	"[SM] Vote passed."
		"fail_notify"	"[SM] Vote failed. Received: {VOTE_AMOUNT} Required: {VOTE_REQUIRED}"
		"chattrigger"	"votemute"
	}
}
__________________
Creampuffyness is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 02-07-2015 , 17:59   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #168

Quote:
Originally Posted by jpwanabe View Post
Any way to add reasons to the a vote ban or mute?

This doesn't seem to work.

Code:
    "Kick player"
    {
        "type"            "players"
        "immunity"        "2"    
        "vote"            "1"
        "cooldown"        "5"
        "minimum"        "4"
        "ratio"            "0.5"
        "options"
        {
            "Chat/mic spam"        "Chat/mic spam"
            "AFK"                "AFK"
            "Griefing"            "Griefing"
            "Other"                "Null"
        }
        "command"        "sm_kick {TARGET_NAME} You were vote kicked"// for {OPTION_RESULT}."
        "start_notify"    "[SM] {VOTER_NAME} ({VOTER_STEAMID}) started a vote to kick {TARGET_NAME}"// for {OPTION_RESULT}."
        "call_notify"    "[SM] Vote cast for {yes|no}."
        "pass_notify"    "[SM] Vote passed."
        "fail_notify"    "[SM] Vote failed. Received: {VOTE_AMOUNT} Required: {VOTE_REQUIRED}"
        "chattrigger"    "votekick"
    }
I've tried adding reasons and I've tried adding the votecallers name to the ban but I don't think it supports it. Unfortunately this is basically the only working public votekick/ban/silence plugin and the author doesn't seem to reply to it...
__________________
Phaiz is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 02-08-2015 , 01:01   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #169

Quote:
Originally Posted by Phaiz View Post
I've tried adding reasons and I've tried adding the votecallers name to the ban but I don't think it supports it. Unfortunately this is basically the only working public votekick/ban/silence plugin and the author doesn't seem to reply to it...
Any idea how to add a cool down so some one can't spam votes then?

EDIT: I just realized that I used an admin to test the cool down. I will do more testing in the morning.
__________________
My Steam TF2APP
My sig changes with each load! Refresh to see my other servers!

Last edited by jpwanabe; 02-08-2015 at 01:09.
jpwanabe is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 02-08-2015 , 08:26   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #170

From what I can tell the cool down is per player, meaning if my vote to kick you fails i can votekick another player immediately but to votekick you again, the cooldown has to expire. So yeah it can be spammed.

Fortunately I am able to keep a strong admin presence on 3 of my servers, thus deterring would be abusers .. the 4th (orange) is the only one where this plugin seems to be abused.
__________________
Phaiz is offline
Reply



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 18:01.


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