Raised This Month: $ Target: $400
 0% 

Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
scott24
New Member
Join Date: Oct 2022
Old 10-23-2022 , 13:15   Re: Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16
Reply With Quote #1

Is there a way to whitelist maps based off of player count? I see there is the gal_nom_minplayer_control. and that works great. I would like to be able to only have maps nominated that are in the midplayers mapcycle or mapcycle.txt based off of player count. The min works great but when the server is full that allows everyone to still nominate the small maps from the minplayer mapcycle.
scott24 is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 10-23-2022 , 18:27   Re: Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16
Reply With Quote #2

Quote:
Originally Posted by fysiks View Post
Change the 30 on line 6929 to 300 (5 minutes in seconds).
Thanks for looking into it. I think this 30 seconds is for some other feature, but not for the voting to start.

Changing this on the next if should work (but I did not tested it):
PHP Code:
File:galileo.sma
        
// Are we ready to start an "end of map" vote?
6946:         if( secondsLeft START_VOTEMAP_MIN_TIME
to 
6946
:         if( secondsLeft START_VOTEMAP_MIN_TIME 300 
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 10-28-2022 , 20:46   Re: Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16
Reply With Quote #3

Quote:
Originally Posted by scott24 View Post
Is there a way to whitelist maps based off of player count? I see there is the gal_nom_minplayer_control. and that works great. I would like to be able to only have maps nominated that are in the midplayers mapcycle or mapcycle.txt based off of player count. The min works great but when the server is full that allows everyone to still nominate the small maps from the minplayer mapcycle.
Looks like you want a new feature that works the opposite of the original request for the `gal_nom_minplayers_control `.

PHP Code:
// Let the server players nominate maps from the nomination file list
// 'gal_nom_mapfile'. But, when the cvar 'gal_vote_minplayers' is enabled,
// only allow nominations from the 'gal_vote_minplayers_mapfile'.
//
// 0 - Show all nominated maps.
//
// 1 - Only allow nominations from the 'gal_vote_minplayers_mapfile' when
//     when the cvar 'gal_vote_minplayers' is enabled.
//
//     Note: This will allow the players to nominate maps not from
//     'gal_vote_minplayers_mapfile', but they will not be show at the map
//     voting if there are less players than 'gal_vote_minplayers', at the
//     moment when the voting starts.
//
// To disable this feature, set this cvar to 0
//
// Default: 0
gal_nom_minplayers_control 0 
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz 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 22:13.


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