google-code-export / ghostplusplus

Automatically exported from code.google.com/p/ghostplusplus
Other
3 stars 0 forks source link

Manual enabling of saving replays in game lobby & a Warn System #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The saving replays feature is definitely a great addition, but i find that
i don't want all games hosted on the bot to automatically have the replays
saved for them.Is it possible to add a manual command to enable the saving
of a replay for a specific game. IE: !savereplay <File Name>

Also a command to enable or disable autosaving via battle.net chat and
whispers. IE: !autoreplay [on|off]
This would be helpful for when I don't have access to the bot config files
and need games being hosted to be able to save their replays according to
their importance.

I find that when pubbing i get alot of leavers. I like to give people a
second chance but have no way of actively tracking if a person is a repeat
offender of leaving if they do it continuously, at least not an efficient one.
A nice addition would be a warn system. A configurable enable/disable
entry, as well as, a threshold in the ghost.cfg file.

IE:
bot_warnsystem = [0/1] ;Incase people dont want to use a warn system and
like the regular banning system, disabled by default
bot_warncount = #

The number would represent the total number of warns a player can recieve
before being banned altogether. Where if In-game or in the channel you can do
!warn <playername> <reason>
When the total number of warns reaches the Warn Count threshold it
automatically adds the user to the banlist for excessive warns.
When warning it should output just like a ban and if possible whisper the
person saying "You have been given 1 warning for [leaving]. You have 1
total warning"<--Not completely necessary but definitely a bonus, but only
applies when doing the !warnlast command. The "for [leaving]" would only be
applied to the message if there was a reason given when the command was issued.
Also when using !unban it should erase all the associated warns with that
player.

A few other commands that would help:

!checkwarns <playername> Displays the amount of warns a specific player has.
!warninfo <playername> <#> Would display information about a warn the
player has, If a warn has no reason specified it would output, "No reason
given"
!delwarn <playername> <#> Would erase all warns for that player or a
specific warn. Number is optional
!unwarn <playername> <#> Alias to !delwarn
!warnlast <reason> Would warn the last player that left the game for the
specified reason.Useable only in-game. Entry is optional.

And add !checkwarns to the output of the !check command so that it displays
"Has # warns."

Thanks

Original issue reported on code.google.com by MentalMu...@gmail.com on 11 Nov 2008 at 3:04

GoogleCodeExporter commented 9 years ago
I will add some commands to enable or disable saving of replays but I don't 
plan on
adding a warning system.

Original comment by hogantp on 13 Nov 2008 at 7:20