new TrappedRoom()

Implements a proxy that forwards access to room properties to the external:haxball-room-trapper.TrappedRoomManager.


<static> pluginSpec

Plugin specification.


Plugin specification.

Not part of the original TrappedRoom instance, added in the context of HHM.

Name Type Attributes Description
name string

Plugin name.

author string <optional>

Name of the plugin author.

version string <optional>

Plugin version.

dependencies Array.<string> <optional>

Array of plugin names that this plugin depends on.

Specifies Object.<string, Object.<string, Array.<string>>>

execution order for event handlers. It maps event handler names to Objects which contain an array of plugin names before or after which this plugin's event handler will be executed.

config Object.<string, *> <optional>

Plugin configuration.