yonilerner/cs2-retakes-allocator

"Permanent" css_setnextround

Dying-Ducks opened this issue · 1 comments

We use the plugin in such a way that we specified the "RoundTypeSelection" as "Random".

But sometimes we want to play only pistols for a couple of rounds, and then I don’t want to change the config and restart the server. I also could use css_setnextround every round, buy that will become annoying pretty quick.

I want to tell the plugin that from now on we only play pistol until I tell the plugin something else. Is there a way to do so?

Like a permanent version of css_setnextround where you can put in Pistol/Halfbuy/Fullbuy/Default (with default is the option used in RoundTypeSelection).

Another solution would be, that one could specify the RoundTypePercentages on the fly while playing on the server. But this would only help if you use “Random” as Round Type.

@Dying-Ducks Ive been wanting to do this for a while actually, just havent gotten around to it yet.

Until I do, theres a command !reload_allocator_config that will reload the config from the JSON file, so you dont need to restart the server at least