https://wiki.bzflag.org/index.php?title=Bz_eHostBanModifyEvent&feed=atom&action=historyBz eHostBanModifyEvent - Revision history2024-03-28T10:08:36ZRevision history for this page on the wikiMediaWiki 1.26.3https://wiki.bzflag.org/index.php?title=Bz_eHostBanModifyEvent&diff=4515&oldid=prevCatay: New page: {{BZFS_API_Doc}} {{BZFS_API_Events}} ==Overview== The '''bz_eHostBanModifyEvent''' is an API event that is called each time before a hostban is going to happen. ==Data== '''bz_eHostBanM...2008-04-23T16:21:53Z<p>New page: {{BZFS_API_Doc}} {{BZFS_API_Events}} ==Overview== The '''bz_eHostBanModifyEvent''' is an API event that is called each time before a hostban is going to happen. ==Data== '''bz_eHostBanM...</p>
<p><b>New page</b></p><div>{{BZFS_API_Doc}}<br />
{{BZFS_API_Events}}<br />
<br />
==Overview==<br />
The '''bz_eHostBanModifyEvent''' is an API event that is called each time <br />
before a hostban is going to happen.<br />
<br />
==Data==<br />
'''bz_eHostBanModifyEvent''' returns the '''bz_HostBanEventData_V1''' data<br />
class.<br />
{| border="1" cellpadding="20" cellspacing="0"<br />
!name<br />
!type<br />
!value description<br />
|-<br />
|eventType<br />
|[[Event(API)|bz_eEventType]]<br />
|bz_eHostBanModifyEvent<br />
|-<br />
|bannerID<br />
|int<br />
|This value is the player ID for the banner.<br />
|-<br />
|duration<br />
|int<br />
|This value is the duration of the ban in minutes.<br />
|-<br />
|reason<br />
|[[bz_ApiString]]<br />
|This value contains the reason why and by who a player got banned.<br />
|-<br />
|hostPattern<br />
|[[bz_ApiString]]<br />
|This value contains the host pattern that is banned.<br />
|-<br />
|eventTime<br />
|double<br />
|This value is the local server time of the event.<br />
|}<br />
<br />
==Uses==<br />
This event is a modification event, all the members except evenTime can<br />
be changed. In case bannerID is changed to a non-existant ID , the ban <br />
will fail.</div>Catay