Mapchooser-Redux
Mapchooser-Redux copied to clipboard
How can I disable some map voting options
How can I disable some map voting options?
As you can see, in the print you have the options, not to change the map and not to vote for any map. How would I disable these menu options?
I only have these active plugins:
101 "MapChooser Redux" (2.0.196) by Kyle
102 "Nominations Redux" (2.0.196) by Kyle
103 "Rock The Vote Redux" (2.0.196) by Kyle
u mean remove option 1 and 5?
u mean remove option 1 and 5?
Exact.
And those options that appear as null
how can I remove them too?
check in cfg. it's display tag & desc
Both are marked with 1
, here is the configuration I use:
// This file was auto-generated by SourceMod (v1.10.0.6474)
// ConVars for plugin "mapchooser_redux.smx"
// How many nominations can shuaffle the map vote menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "5.000000"
mcf_shuffle_require_maps "1"
// include desc tag in map desc
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_include_desctag "1"
// include name tag in map desc
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_include_nametag "1"
// How many times can extend the map.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "9.000000"
mcr_map_extend_times "3"
// Enable or not party block fuction.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_partyblock_enabled "1"
// How much time in hours ago played can count to recently played pool, (-1 disable all recently played function)
// -
// Default: "144"
// Minimum: "-1.000000"
// Maximum: "300.000000"
mcr_rectplayed_interval "144"
// What percentage increase of nomination map price for recently played
// -
// Default: "0.5"
// Minimum: "0.000000"
// Maximum: "9.900000"
mcr_rectplayed_ltp_mtpl "0.5"
// Refund ratio of credits if map fail to be choosen.
// -
// Default: "0.6"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_refund_credits_ratio "0.6"
// Timer Location of HUD - 0: Hint, 1: Text, 2: Chat, 3: Game
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
mcr_timer_hud_location "3"
// Enable or not shuffle mapvote menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_votemenu_shuffle "1"
0 will not display
It didn't work, I changed the cvars to 0
, even so it shows option 1 and 9:
Config I'm using now:
// This file was auto-generated by SourceMod (v1.10.0.6474)
// ConVars for plugin "mapchooser_redux.smx"
// Enable or not shuffle mapvote menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "5.000000"
mcf_shuffle_require_maps "1"
// include desc tag in map desc
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_include_desctag "0"
// include name tag in map desc
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_include_nametag "0"
// How many times can extend the map.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "9.000000"
mcr_map_extend_times "3"
// Enable or not party block fuction.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_partyblock_enabled "1"
// How much time in hours ago played can count to recently played pool, (-1 disable all recently played function)
// -
// Default: "144"
// Minimum: "-1.000000"
// Maximum: "300.000000"
mcr_rectplayed_interval "144"
// What percentage increase of nomination map price for recently played
// -
// Default: "0.5"
// Minimum: "0.000000"
// Maximum: "9.900000"
mcr_rectplayed_ltp_mtpl "0.5"
// Refund ratio of credits if map fail to be choosen.
// -
// Default: "0.6"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_refund_credits_ratio "0.6"
// Timer Location of HUD - 0: Hint, 1: Text, 2: Chat, 3: Game
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
mcr_timer_hud_location "3"
// Enable or not shuffle mapvote menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_votemenu_shuffle "1"
I am waiting for the update, used in competitive servers, these options kind of lose the sense to leave activated.
it requires adding more convars. WIP
Oops, I would like to know how the process is going? https://github.com/Kxnrl/Mapchooser-Redux/commit/fe645d25ba1f9e5e4af2edd906cd890522cff45e
I did a test with this modified version, but it doesn't work yet. It is configured like this:
// This file was auto-generated by SourceMod (v1.10.0.6474)
// ConVars for plugin "mapchooser_redux.smx"
// Add no vote button into menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_add_novote_button "0"
// include desc tag in map desc
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_include_desctag "0"
// include name tag in map desc
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_include_nametag "0"
// How many times can extend the map.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "9.000000"
mcr_map_extend_times "3"
// Enable or not party block fuction.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_partyblock_enabled "1"
// How much time in hours ago played can count to recently played pool, (-1 disable all recently played function)
// -
// Default: "144"
// Minimum: "-1.000000"
// Maximum: "300.000000"
mcr_rectplayed_interval "144"
// What percentage increase of nomination map price for recently played
// -
// Default: "0.5"
// Minimum: "0.000000"
// Maximum: "9.900000"
mcr_rectplayed_ltp_mtpl "0.5"
// Refund ratio of credits if map fail to be choosen.
// -
// Default: "0.6"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_refund_credits_ratio "0.6"
// How many nominations can shuaffle the map vote menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "5.000000"
mcr_shuffle_require_maps "1"
// Timer Location of HUD - 0: Hint, 1: Text, 2: Chat, 3: Game
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
mcr_timer_hud_location "3"
// Enable or not shuffle mapvote menu.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mcr_votemenu_shuffle "1"
And with the config I mentioned above, the poll also bug, there is only one map in the vote, always the same map.
And my config in mapdata.kv
has several maps.
mapdata.zip
And as you can see on the print now, the No Vote
option is gone.
I also don't know if it would be the same problem, but the list of nominate maps also appears buggy:
https://cdn.discordapp.com/attachments/672866859795873852/699286045547823176/unknown.png
In this case, I wanted only the names of the maps to appear, without a description or map information, would it be possible?
it is possiable, let me check