Yaribz / SPADS

SpringRTS Perl Autohost for Dedicated Server
GNU General Public License v3.0
15 stars 13 forks source link

Resource bonus #17

Closed specing closed 7 years ago

specing commented 7 years ago

Would it be possible to add a command to adjust resource bonuses? I haven't found a way to do so yet (without adding code).

Negative bonuses as well if possible.

Yaribz commented 7 years ago

The lobby protocol and start script format documentation aren't very consistent about the way the bonus values are supposed to be sent/managed by lobby clients. I will have to check if it's possible to implement something compatible with all lobby clients... If it's possible, then I will implement your request as a new syntax for the !force command, for example: "!force player bonus 1"

Yaribz commented 7 years ago

Only positive bonus amounts can be configured, because the lobby protocol doesn't allow negative values...