Overview

Namespaces

  • aliuly
    • common
      • selectors
    • grabbag
      • api
    • killrate
      • api
  • xPaw

Classes

  • GbAddServerEvent
  • GbRemoveServerEvent
  • GbRmQueryEvent
  • GbUpdateQueryEvent
  • GrabBag
  • GrabBagEvent
  • Overview
  • Namespace
  • Class

Class GbUpdateQueryEvent

Triggered when a new server is being added to the server list

pocketmine\event\plugin\PluginEvent
Extended by aliuly\grabbag\api\GrabBagEvent
Extended by aliuly\grabbag\api\GbUpdateQueryEvent implements pocketmine\event\Cancellable
Namespace: aliuly\grabbag\api
Located at GbUpdateQueryEvent.php
Methods summary
public
# __construct( aliuly\grabbag\Main $plugin, str $id, str $tag, array $attrs )

Parameters

$plugin
  • plugin owner
$id
  • server id
$tag
  • data tag
$attrs
  • server attributes

Overrides

aliuly\grabbag\api\GrabBagEvent::__construct()
public str
# getId( )

Returns the server id

Returns the server id

Returns

str
public
# setId( str $id )

Sets the server id

Sets the server id

Parameters

$id
public array
# getAttrs( )

Gets the server attributes

Gets the server attributes

Returns

array
public
# setAttrs( array $attrs )

Sets the server attributes

Sets the server attributes

Parameters

$attrs
public array
# getTag( )

Gets the server attributes

Gets the server attributes

Returns

array
public
# setTag( array $tag )

Sets the server attributes

Sets the server attributes

Parameters

$tag
$attrs
Properties summary
public static $handlerList
# null
API documentation generated by ApiGen