Hooks
Hooks provided by the Gamemaster Points module for managing teleport points.
Overview
The Gamemaster Points module adds teleport points for game masters, quick navigation across large maps, saving of locations for reuse, a command to list saved points, and sharing of points with other staff.. It provides comprehensive hook integration for customizing managing teleport points and extending functionality.
GamemasterAddPoint
đ Purpose
Called when a gamemaster point is successfully added.
â° When Called
After a point is added to the system and saved.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The admin who added the point |
name |
string | The name of the point |
pos |
Vector | The position of the point |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Gamemaster Points module adds teleport points for game masters, quick navigation across large maps, saving of locations for reuse, a command to list saved points, and sharing of points with other staff.. It provides comprehensive hook integration for customizing managing teleport points and extending functionality.
GamemasterMoveToPoint
đ Purpose
Called when a player teleports to a gamemaster point.
â° When Called
After the player is teleported to the point location.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The player who teleported |
name |
string | The name of the point |
pos |
Vector | The position the player teleported to |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Gamemaster Points module adds teleport points for game masters, quick navigation across large maps, saving of locations for reuse, a command to list saved points, and sharing of points with other staff.. It provides comprehensive hook integration for customizing managing teleport points and extending functionality.
GamemasterPreAddPoint
đ Purpose
Called before a gamemaster point is added.
â° When Called
Before validation and adding the point to the system.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The admin attempting to add the point |
name |
string | The name of the point to be added |
pos |
Vector | The position of the point to be added |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Gamemaster Points module adds teleport points for game masters, quick navigation across large maps, saving of locations for reuse, a command to list saved points, and sharing of points with other staff.. It provides comprehensive hook integration for customizing managing teleport points and extending functionality.
GamemasterPreMoveToPoint
đ Purpose
Called before a player teleports to a gamemaster point.
â° When Called
Before the teleport is executed.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The player attempting to teleport |
name |
string | The name of the point to teleport to |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Gamemaster Points module adds teleport points for game masters, quick navigation across large maps, saving of locations for reuse, a command to list saved points, and sharing of points with other staff.. It provides comprehensive hook integration for customizing managing teleport points and extending functionality.
GamemasterPreRemovePoint
đ Purpose
Called before a gamemaster point is removed.
â° When Called
Before the point is removed from the system.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The admin attempting to remove the point |
name |
string | The name of the point to be removed |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Gamemaster Points module adds teleport points for game masters, quick navigation across large maps, saving of locations for reuse, a command to list saved points, and sharing of points with other staff.. It provides comprehensive hook integration for customizing managing teleport points and extending functionality.
GamemasterPreRenamePoint
đ Purpose
Called before a gamemaster point is renamed.
â° When Called
Before the point name is changed.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The admin attempting to rename the point |
name |
string | The current name of the point |
newName |
string | The new name for the point |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Gamemaster Points module adds teleport points for game masters, quick navigation across large maps, saving of locations for reuse, a command to list saved points, and sharing of points with other staff.. It provides comprehensive hook integration for customizing managing teleport points and extending functionality.
GamemasterPreUpdateEffect
đ Purpose
Called before a gamemaster point's effect is updated.
â° When Called
Before the effect is saved to the point.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The admin updating the effect |
name |
string | The name of the point |
newEffect |
string | The new effect path |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Gamemaster Points module adds teleport points for game masters, quick navigation across large maps, saving of locations for reuse, a command to list saved points, and sharing of points with other staff.. It provides comprehensive hook integration for customizing managing teleport points and extending functionality.
GamemasterPreUpdateSound
đ Purpose
Called before a gamemaster point's sound is updated.
â° When Called
Before the sound is saved to the point.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The admin updating the sound |
name |
string | The name of the point |
newSound |
string | The new sound path |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Gamemaster Points module adds teleport points for game masters, quick navigation across large maps, saving of locations for reuse, a command to list saved points, and sharing of points with other staff.. It provides comprehensive hook integration for customizing managing teleport points and extending functionality.
GamemasterRemovePoint
đ Purpose
Called when a gamemaster point is successfully removed.
â° When Called
After the point is removed from the system and saved.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The admin who removed the point |
name |
string | The name of the point that was removed |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Gamemaster Points module adds teleport points for game masters, quick navigation across large maps, saving of locations for reuse, a command to list saved points, and sharing of points with other staff.. It provides comprehensive hook integration for customizing managing teleport points and extending functionality.
GamemasterRenamePoint
đ Purpose
Called when a gamemaster point is successfully renamed.
â° When Called
After the point name is changed and saved.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The admin who renamed the point |
oldName |
string | The previous name of the point |
newName |
string | The new name of the point |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Gamemaster Points module adds teleport points for game masters, quick navigation across large maps, saving of locations for reuse, a command to list saved points, and sharing of points with other staff.. It provides comprehensive hook integration for customizing managing teleport points and extending functionality.
GamemasterUpdateEffect
đ Purpose
Called when a gamemaster point's effect is successfully updated.
â° When Called
After the effect is saved to the point.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The admin who updated the effect |
name |
string | The name of the point |
newEffect |
string | The effect path that was set |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Gamemaster Points module adds teleport points for game masters, quick navigation across large maps, saving of locations for reuse, a command to list saved points, and sharing of points with other staff.. It provides comprehensive hook integration for customizing managing teleport points and extending functionality.
GamemasterUpdateSound
đ Purpose
Called when a gamemaster point's sound is successfully updated.
â° When Called
After the sound is saved to the point.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The admin who updated the sound |
name |
string | The name of the point |
newSound |
string | The sound path that was set |
âŠī¸ Returns
nil
đ Realm
Server