Adds functions and events for the Stargate plugin. This should only be used if you are already using the Stargate plugin.
CHStargate 3.1.1 for CommandHelper 3.3.5 and Stargate 0.8.0.x
CHStargate 3.1.0 for CommandHelper 3.3.4 and Stargate 0.8.0.x
CHStargate 2.0.0 for CommandHelper 3.3.2 and Stargate 0.7.9.11
boolean sg_set_owner(portalName, portalNetwork, owner)
Sets the portal's owner.
string sg_get_owner_name(portalName, portalNetwork)
Returns the portal's owner name.
string sg_get_owner_uuid(portalName, portalNetwork)
Returns the portal's owner UUID.
boolean sg_is_portal_open(portalName, portalNetwork)
Returns whether the given portal is currently open.
array sg_get_portal_info(portalName, portalNetwork)
Gets an array of data about a specific Stargate portal.
Array keys are: button, sign, destination, frame, entrance, options, open, ownerUUID, ownerName.
Options array keys are: alwaysOn, backwards, free, hidden, noNetwork, private, random, show.
Fired when a player interacts with a Stargate. Result determines access.
deny(boolean) Whether access was denied or not.
playerThe player requesting access.portalThe Stargate portal's name.networkThe Stargate network this portal belongs to.
Fired when a block of a Stargate portal is broken.
deny(boolean) Whether access was denied or not.
playerThe player that broke the block.portalThe Stargate portal's name.networkThe Stargate network this portal belongs to.
Fired when a Stargate portal is opened.
playerThe player opening the portal, if one.portalThe Stargate portal's name.networkThe Stargate network this portal belongs to.
Fired when a Stargate portal is traversed.
playerThe player traveling.portalThe Stargate portal's name.networkThe Stargate network this portal belongs to.exitThe exit location.exitportalThe name of portal at the exit.
exitA different exit location.