Events - tayjay/SCriPt GitHub Wiki
Events can be subscribed to in order to run code when a certain action is taken in game. To use this, you need to create a function that will accept the arguments given by the event
function MyFunction(args) -- If the event table below has values
-- Do something
end
function MyFunction() -- If the event table below has no values
-- Do something
end
Then you can subscribe/unsubscribed to the event like so
Events.Item.KeycardInteracting:add(MyFunction)
Events.Item.KeycardInteracting:remove(MyFunction)
When the event is triggered, your function will be called. Information on what arguments are passed to the function can be found in the event's documentation below.
Some events have an alias associated. For example, Events.Scp049...
can also be accessed as Events.Doctor...
Some events have an IsAllowed
argument. If you set this to false, the action will be blocked. This is useful for preventing certain actions from happening.
Events that don't include this variable are usuall called after the event has occured.
You can usually tell by the 'tense' of the event name.
Events related to the in-game announcer.
Events.Cassie.*
Called before CASSIE broadcasts an announcement to the facility
Type | Member |
---|---|
string | Words |
bool | MakeHold |
bool | MakeNoise |
bool | IsAllowed |
Events related to commands being received and executed.
Events.Command.*
The server received a command from RemoteAdmin
Type | Member |
---|---|
ICommandSender | Sender |
string | Command |
string[] | Arguments |
The server has processed and is returning the result of a RemoteAdmin command
Type | Member |
---|---|
ICommandSender | Sender |
string | Command |
string[] | Arguments |
bool | Result |
string | Response |
A local admin command has been received
Type | Member |
---|---|
ICommandSender | Sender |
string | Command |
string[] | Arguments |
Responding to local admin command
Type | Member |
---|---|
ICommandSender | Sender |
string | Command |
string[] | Arguments |
bool | Result |
string | Response |
A player has sent a command to the server using the ~
terminal
Type | Member |
---|---|
Player | Player |
string | Command |
string[] | Arguments |
The server is responding to the player's ~
command
Type | Member |
---|---|
Player | Player |
string | Command |
string[] | Arguments |
bool | Result |
string | Response |
Events.Item.*
A player's Ammo count is changing
Type | Member |
---|---|
Player | Player |
Firearm | Firearm |
Item | Item |
byte | OldAmmo |
byte | NewAmmo |
bool | IsAllowed |
A player is attempting to change their weapon attachments
Type | Member |
---|---|
IEnumerable | CurrentAttachmentIdentifiers |
List | NewAttachmentIdentifiers |
uint | CurrentCode |
uint | NewCode |
bool | IsAllowed |
Firearm | Firearm |
Item | Item |
Player | Player |
The server has receieved the players prefered attachments
Type | Member |
---|---|
FirearmType | Item |
IEnumerable | CurrentAttachmentIdentifiers |
List | NewAttachmentIdentifiers |
uint | CurrentCode |
uint | NewCode |
bool | IsAllowed |
Player | Player |
A player is trying to use a Keycard
Type | Member |
---|---|
Pickup | Pickup |
Player | Player |
Door | Door |
bool | IsAllowed |
A player is attempting to swing the Jailbird
Type | Member |
---|---|
Player | Player |
Item | Item |
bool | IsAllowed |
A player is attempting to charge the Jailbird (Right-click)
Type | Member |
---|---|
Player | Player |
Item | Item |
bool | IsAllowed |
The battery from a radio on the ground is trying to drain
Type | Member |
---|---|
bool | IsAllowed |
Pickup | Pickup |
RadioPickup | RadioPickup |
float | Drain |
Events.Map.*
Placing a bullet hole decal on the map
Type | Member |
---|---|
Vector3 | Position |
Quaternion | Rotation |
bool | IsAllowed |
Player | Player |
Placing blood on the map
Type | Member |
---|---|
Player | Player |
Player | Target |
Vector3 | Position |
bool | IsAllowed |
The current state of LCZ Decon is being announced
Type | Member |
---|---|
int | Id |
DecontaminationState | State |
DecontaminationController.DecontaminationPhase.PhaseFunction | PhaseFunction |
CASSIE is attempting to announce an SCP has died.
Type | Member |
---|---|
Role | Role |
string | TerminationCause |
Player | Player |
Player | Attacker |
CustomDamageHandler | DamageHandler |
bool | IsAllowed |
CASSIE is attempting to announce NTF has arrived
Type | Member |
---|---|
int | ScpsLeft |
string | UnitName |
int | UnitNumber |
bool | IsAllowed |
A player is attempting to turn on a generator
Type | Member |
---|---|
Generator | Generator |
bool | IsAllowed |
The map is attempting to decontaminate LCZ. Locking elevators and hurting players in the zone.
Type | Member |
---|---|
bool | IsAllowed |
A grenade is attempting to explode.
Type | Member |
---|---|
Vector3 | Position |
List | TargetsToAffect |
EffectGrenadeProjectile | Projectile |
bool | IsAllowed |
Player | Player |
Trying to spawn an item in the facility
Type | Member |
---|---|
Pickup | Pickup |
bool | ShouldInitiallySpawn |
Door | TriggerDoor |
bool | IsAllowed |
Choosing what will be placed in a locker. This is called during facility generation.
Type | Member |
---|---|
Pickup | Pickup |
LockerChamber | LockerChamber |
bool | IsAllowed |
The facility has completed being built based off the seed. There are no arguments to this event.
Type | Member |
---|
A grenade pickup in the facility is trying to arm.
Type | Member |
---|---|
Pickup | Pickup |
ItemType | Type |
bool | IsAllowed |
A grenade pickup in the facility has been armed.
Type | Member |
---|---|
GrenadePickup | Pickup |
Projectile | Projectile |
double | FuseTime (DEPRICATED) |
Attempting to turn off all lights in a room
Type | Member |
---|---|
RoomLightController | RoomLightController |
float | Duration |
bool | IsAllowed |
A pickup has been added to the facility
Type | Member |
---|---|
Pickup | Pickup |
A pickup has been removed from the facility
Type | Member |
---|---|
Pickup | Pickup |
Attempting to spawn the Helicoptor or Choas car.
Type | Member |
---|---|
SpawnableTeamType | Team |
bool | IsAllowed |
Events.Player.*
The player has attempted to connect to the server
Type | Member |
---|---|
string | UserId |
string | IpAddress |
long | Expiration |
CentralAuthPreauthFlags | Flags |
string | Country |
byte[] | Signature |
int | ReaderStartPosition |
ConnectionRequest | Request |
bool | IsAllowed |
Checking if a player has a reserved slot on the server based on their UserId (#####@steam for example)
Type | Member |
---|---|
string | UserId |
bool | HasReservedSlot |
Attempting to kick a player from the server
Type | Member |
---|---|
Player | Target |
string | Reason |
string | FullMessage |
bool | IsAllowed |
A player has been kicked
Type | Member |
---|---|
Player | Player |
string | Reason |
Attempting to ban a player from the server
Type | Member |
---|---|
long | Duration |
Player | Target |
string | Reason |
string | FullMessage |
bool | IsAllowed |
Player | Player |
A player has been banned
Type | Member |
---|---|
Player | Target |
Player | Player |
BanDetails | Details |
BanHandler.BanType | Type |
bool | IsForced |
Trying to give a player an achivement
Type | Member |
---|---|
AchievementName | AchievementName |
bool | IsAllowed |
Player | Player |
A player is trying to use an item
Type | Member |
---|---|
Usable | Usable |
Item | Item |
Player | Player |
float | Cooldown |
bool | IsAllowed |
A player is on the last frame of using an item
Type | Member |
---|---|
Usable | Usable |
Item | Item |
Player | Player |
bool | IsAllowed |
A player has finished using an item.
Type | Member |
---|---|
Usable | Usable |
Item | Item |
Player | Player |
A player has attempted to stop using an item.
Type | Member |
---|---|
Usable | Usable |
Item | Item |
Player | Player |
bool | IsAllowed |
A player has stopped using an item.
Type | Member |
---|---|
Usable | Usable |
Item | Item |
Player | Player |
A player has interacted with a door or object in the facility
Type | Member |
---|---|
Player | Player |
A ragdoll of a decesed player has been spawned.
Type | Member |
---|---|
Vector3 | Position |
Quaternion | Rotation |
RoleTypeId | Role |
double | CreationTime |
string | Nickname |
RagdollData | Info |
DamageHandlerBase | DamageHandlerBase |
Ragdoll | Ragdoll |
Player | Player |
A player is pressing the warhead button on surface
Type | Member |
---|---|
Player | Player |
bool | IsAllowed |
A player is trying to turn on a weapon workstation
Type | Member |
---|---|
Player | Player |
WorkstationController | WorkstationController |
WorkstationController.WorkstationStatus | Status |
bool | IsAllowed |
A player has walked away from a weapon workstation
Type | Member |
---|---|
Player | Player |
WorkstationController | WorkstationController |
WorkstationController.WorkstationStatus | Status |
bool | IsAllowed |
A player has joined the server
Type | Member |
---|---|
Player | Player |
A player's authentication has been verified by the central server
Type | Member |
---|---|
Player | Player |
A player has left the server
Type | Member |
---|---|
Player | Player |
A player's instance on the server has been destroyed following their departure
Type | Member |
---|---|
Player | Player |
A player is attempting to attack another player.
Type | Member |
---|---|
Player | Player |
Player | Attacker |
float | Amount |
CustomDamageHandler | DamageHandler |
bool | IsAllowed |
A player has attacked and hurt another player
Type | Member |
---|---|
Player | Player |
Player | Attacker |
float | Amount |
PlayerStatsSystem.DamageHandlerBase.HandlerOutput | HandlerOutput |
CustomDamageHandler | DamageHandler |
A player is about to die.
Type | Member |
---|---|
List | ItemsToDrop (Set Obsolete) |
Player | Player |
Player | Attacker |
CustomDamageHandler | DamageHandler |
bool | IsAllowed |
A player has died.
Type | Member |
---|---|
Player | Player |
Player | Attacker |
RoleTypeId | TargetOldRole |
CustomDamageHandler | DamageHandler |
A player is changing to a new role. Careful: if you plan to change this, only change NewRole
. Changing the role of the player directly will result in an infinte loop.
Type | Member |
---|---|
Player | Player |
RoleTypeId | NewRole |
SpawnReason | Reason |
List | Items |
Dictionary<ItemType, short> | Ammo |
bool | ShouldPreserveInventory |
RoleSpawnFlags | SpawnFlags |
bool | IsAllowed |
A player has thrown a projectile (Grenade, Throwable SCPs, etc.)
Type | Member |
---|---|
Player | Player |
Throwable | Throwable |
Item | Item |
Pickup | Pickup |
A player has sent a throwing request to the server. This could include starting, canceling, or throwing. Modifying this value will desync the client.
Type | Member |
---|---|
Player | Player |
Throwable | Throwable |
Item | Item |
ThrowRequest | RequestType |
A player is trying to drop an item from their inventory
Type | Member |
---|---|
Player | Player |
Item | Item |
bool | IsAllowed |
bool | IsThrown |
A player has dropped an item from their inventory
Type | Member |
---|---|
Player | Player |
Pickup | Pickup |
bool | WasThrown |
A player has dropped nothing, whatever that means.
Type | Member |
---|---|
Player | Player |
A player is trying to pickup an item from the facility.
Type | Member |
---|---|
Player | Player |
Pickup | Pickup |
bool | IsAllowed |
An player is attempting to handcuff another player.
Type | Member |
---|---|
Player | Player |
Player | Target |
bool | IsAllowed |
A player is attempting to remove the handcuffs from another player
Type | Member |
---|---|
Player | Player |
Player | Target |
bool | IsAllowed |
A player is trying to talk on the intercom in Entrance.
Type | Member |
---|---|
Player | Player |
bool | IsAllowed |
A player has shot their gun
Type | Member |
---|---|
Player | Player |
Firearm | Firearm |
Item | Item |
HitboxIdentity | Hitbox |
float | Damage |
float | Distance |
Vector3 | Position |
RaycastHit | RaycastHit |
Player | Target |
bool | CanHurt |
A player is about to shoot their gun
Type | Member |
---|---|
Player | Player |
Firearm | Firearm |
Item | Item |
ShotMessage | ShotMessage |
uint | TargetNetId |
bool | IsAllowed |
Scp106 is attempting to teleport a player to his Pocket Dimension
Type | Member |
---|---|
Player | Player |
bool | IsAllowed |
Player | Scp106 |
A player is successfully escapting the Pocket Dimension.
Type | Member |
---|---|
Player | Player |
Vector3 | TeleportPosition |
bool | IsAllowed |
A player is unsuccessfully escaping the Pocket Dimension
Type | Member |
---|---|
Player | Player |
bool | IsAllowed |
PocketDimensionTeleport | Teleporter |
A player has entered a kill cude/plane
Type | Member |
---|---|
Player | Player |
bool | IsAllowed |
A player is trying to reload their gun
Type | Member |
---|---|
Player | Player |
Firearm | Firearm |
Item | Item |
bool | IsAllowed |
A player is attempting to spawn into the facility
Type | Member |
---|---|
Player | Player |
Role | OldRole |
Vector3 | Position |
float | HorizontalRotation |
A player has been spawned into the faciliity
Type | Member |
---|---|
Player | Player |
Role | OldRole |
SpawnReason | Reason |
RoleSpawnFlags | SpawnFlags |
A player is trying to change their held item
Type | Member |
---|---|
Player | Player |
Item | Item |
Item | OldItem |
A player is trying to change their held item
Type | Member |
---|---|
Player | Player |
Item | Item |
bool | IsAllowed |
Attempting to change the user group a player is in.
Type | Member |
---|---|
Player | Player |
UserGroup | NewGroup |
bool | IsAllowed |
A player is trying to interact (Open/Close/Unlock) with a door.
Type | Member |
---|---|
Player | Player |
Door | Door |
bool | IsAllowed |
A player is trying to interact (Call/Send) an elevator
Type | Member |
---|---|
Player | Player |
ElevatorChamber | Elevator |
Lift | Lift |
bool | IsAllowed |
A player is attempting to interact (Open/Close/Unlock) a Locker. This includes SCP, Weapon, and standard lockers
Type | Member |
---|---|
Player | Player |
Locker | Locker |
LockerChamber | Chamber |
byte | ChamberId |
bool | IsAllowed |
A tesla gate is attempting to shock in the presence of a player
Type | Member |
---|---|
Player | Player |
TeslaGate | Tesla |
bool | IsInHurtingRange |
bool | IsTriggerable |
bool | IsInIdleRange |
bool | IsAllowed |
bool | DisableTesla |
A player is unlocking a generator in HCZ
Type | Member |
---|---|
Player | Player |
Generator | Generator |
bool | IsAllowed |
A player is opening the door on a generator
Type | Member |
---|---|
Player | Player |
Generator | Generator |
bool | IsAllowed |
A player is closing the door on a generator
Type | Member |
---|---|
Player | Player |
Generator | Generator |
bool | IsAllowed |
A player is turning on a generator
Type | Member |
---|---|
Player | Player |
Generator | Generator |
bool | IsAllowed |
A player is turning off a generator
Type | Member |
---|---|
Player | Player |
Generator | Generator |
bool | IsAllowed |
A player is receiving a status effect
Type | Member |
---|---|
Player | Player |
StatusEffectBase | Effect |
float | Duration |
byte | Intensity |
byte | CurrentIntensity |
bool | IsAllowed |
Attempting to mute a player
Type | Member |
---|---|
Player | Player |
bool | IsAllowed |
bool | IsIntercom |
Attempting to remove the mute on a player
Type | Member |
---|---|
Player | Player |
bool | IsAllowed |
bool | IsIntercom |
Attempting to drain the battery of a radio a player is holding
Type | Member |
---|---|
Player | Player |
Radio | Radio |
float | Drain |
bool | IsAllowed |
A player is trying to change the range on their held radio
Type | Member |
---|---|
Player | Player |
Radio | Radio |
RadioRange | OldValue |
RadioRange | NewValue |
bool | IsAllowed |
"Short", "Medium", "Long", "Ultra"
A player is using a MicroHID and is attempting to drain energy.
Type | Member |
---|---|
Player | Player |
MicroHID | MicroHID |
HidState | CurrentState |
float | Drain |
bool | IsAllowed |
A player is trying to drop ammo
Type | Member |
---|---|
Player | Player |
AmmoType | AmmoType |
ushort | Amount |
bool | IsAllowed |
A player has dropped ammo
Type | Member |
---|---|
Player | Player |
AmmoType | AmmoType |
ushort | Amount |
List<AmmoPickup> | AmmoPickups |
A player is trying to interact with a shooting target
Type | Member |
---|---|
Player | Player |
ShootingTarget | ShootingTarget |
ShootingTargetButton | TargetButton |
bool | IsAllowed |
int | maxHp |
int | autoResetTime |
A player is damaing a shooting target
Type | Member |
---|---|
Player | Player |
ShootingTarget | ShootingTarget |
float | Amount |
float | Distance |
Item | Item |
AttackerDamageHandler | DamageHandler |
Vector3 | HitLocation |
bool | IsAllowed |
A player is flipping a coin
Type | Member |
---|---|
Player | Player |
Item | Item |
bool | IsTails |
bool | IsAllowed |
A player has turned on/off their held flashlight
Type | Member |
---|---|
Player | Player |
Flashlight | Flashlight |
Item | Item |
bool | NewState |
bool | IsAllowed |
A player is trying to unload the clip from their gun (Holding reload)
Type | Member |
---|---|
Player | Player |
Firearm | Firearm |
Item | Item |
bool | IsAllowed |
A player is trying to ADS
Type | Member |
---|---|
Player | Player |
Firearm | Firearm |
Item | Item |
bool | AdsIn |
bool | AdsOut |
A player is trying to turn on/off the flashlight on their gun, if available.
Type | Member |
---|---|
Player | Player |
Firearm | Firearm |
Item | Item |
bool | IsAllowed |
bool | NewState |
A player is trying to shoot their gun with no ammo
Type | Member |
---|---|
Player | Player |
Firearm | Firearm |
Item | Item |
bool | IsAllowed |
A player is trying to talk in-game
Type | Member |
---|---|
Player | Player |
VoiceMessage | VoiceMessage |
VoiceModuleBase | VoiceModule |
bool | IsAllowed |
A player is making a noise that SCP-939 can see
Type | Member |
---|---|
Player | Player |
float | Distance |
bool | IsAllowed |
A player is trying to Jump
Type | Member |
---|---|
Player | Player |
Vector3 | Direction |
float | Speed |
bool | IsAllowed |
A player has landed on the ground.
Type | Member |
---|---|
Player | Player |
A player is using a radio to talk to other players.
Type | Member |
---|---|
Player | Player |
VoiceModuleBase | VoiceModule |
bool | IsTransmitting |
bool | IsAllowed |
A player is trying to change their Move State (Walking/Running/Sneaking)
Type | Member |
---|---|
Player | Player |
PlayerMovementState | OldState |
PlayerMovementState | NewState |
bool | IsAllowed |
A spectator is changing the player they are spectating. Haven't had luck with preventing or changing this.
Type | Member |
---|---|
Player | Player |
Player | OldTarget |
Player | NewTarget |
A player has pressed the NoClip keybind. This triggers regardless of player permissions but is blocked if they don't have it. Input can be taken and used for other purposes.
Type | Member |
---|---|
Player | Player |
bool | IsEnabled |
bool | IsAllowed |
An admin is changing to the Overwatch role to keep an eye on the game.
Type | Member |
---|---|
Player | Player |
bool | IsEnabled |
bool | IsAllowed |
A player is trying to turn on/off their Radio
Type | Member |
---|---|
Player | Player |
Item | Item |
Radio | Radio |
bool | NewState |
bool | IsAllowed |
Called before a player searches a Pickup.
Type | Member |
---|---|
Player | Player |
SearchSession | SearchSession |
SearchCompletor | SearchCompletor |
float | SearchTime |
bool | IsAllowed |
Pickup | Pickup |
A player is trying to send a message to the Admin Chat
Type | Member |
---|---|
Player | Player |
string | Message |
bool | IsAllowed |
A player is damaging a window
Type | Member |
---|---|
Player | Player |
Window | Window |
DamageHandler | Handler |
bool | IsAllowed |
Damage done is stored in Handler.Damage (float) |
A player is damaging a door
Type | Member |
---|---|
Player | Player |
Door | Door |
float | Damage |
bool | IsAllowed |
DoorDamageType | DamageType |
An item has been added to a player's inventory
Type | Member |
---|---|
Player | Player |
Item | Item |
Pickup | Pickup |
An item has been removed from a player's inventory
Type | Member |
---|---|
Player | Player |
Item | Item |
Pickup | Pickup |
Invoked before KillPlayer is called.
Type | Member |
---|---|
Player | Player |
DamageHandlerBase | Handler |
A player has entered an environmental hazard such as SCP244, amnesia cloud, 106 sinkhole, and 173 tantrum
Type | Member |
---|---|
Player | Player |
Hazard | Hazard |
bool | IsAllowed |
A player is still inside an environmental hazard
Type | Member |
---|---|
Player | Player |
Hazard | Hazard |
A player is leaving an environmental hazard
Type | Member |
---|---|
Player | Player |
Hazard | Hazard |
bool | IsAllowed |
Trying to change the nickname of a player
Type | Member |
---|---|
Player | Player |
string | OldName |
string | NewName |
A player is changing their danger state, from SCP-1853
Type | Member |
---|---|
Player | Player |
DangerStackBase | Danger |
DangerType | Type |
bool | IsActivating |
bool | IsEnding |
Player | EncounteredPlayer |
bool | IsAllowed |
Events.Scp049.*
or Events.Doctor.*
Doctor's Recall ability is finishing
Type | Member |
---|---|
Player | Player |
Scp049Role | Scp049 |
Player | Target |
Ragdoll | Ragdoll |
bool | IsAllowed |
Doctor's Recall ability is starting
Type | Member |
---|---|
Player | Player |
Scp049Role | Scp049 |
Player | Target |
Ragdoll | Ragdoll |
bool | IsAllowed |
Doctor activating their sense ability
Type | Member |
---|---|
Player | Player |
Scp049Role | Scp049 |
Player | Target |
bool | IsAllowed |
float | FailedCooldown |
float | Cooldown |
float | Duration |
Doctor is using teh Call ability
Type | Member |
---|---|
Player | Player |
Scp049Role | Scp049 |
float | Duration |
bool | IsAllowed |
Doctor is attempting to attack
Type | Member |
---|---|
Player | Player |
Scp049Role | Scp049 |
Player | Target |
bool | IsAllowed |
Events.Scp0492.*
or Events.Zombie.*
The bloodlust ability is being activated for a zombie
Type | Member |
---|---|
Player | Player |
Scp0492Role | Scp0492 |
Player | Target |
bool | IsAllowed |
A zombie has consumed a corpse
Type | Member |
---|---|
Player | Player |
Scp0492Role | Scp0492 |
Ragdoll | Ragdoll |
float | ConsumeHealth |
A zombe is trying to consume a corpse.
Type | Member |
---|---|
Player | Player |
Scp0492Role | Scp0492 |
Ragdoll | Ragdoll |
ConsumeError | ErrorCode |
bool | IsAllowed |
Events.Scp079.*
or Events.Computer.*
or Events.Camera.*
Computer is trying to change camera
Computer is recieving experience point
Computer is leveling up
Computer trying to activate a telsa gate
Computer is interating with a door
Computer is using an elevator to change floors
Computer is locking down a room
Computer is trying to talk to local players
Computer has been recontained
Computer is trying to ping to other SCPs
Computer has blacked out a room
Computer has blacked out a zone
Events.Scp096.*
or Events.ShyGuy.*
Shy Guy is trying to enrage
Shy Guy is trying to calm down after raging
Attemping to add a visible target for Shy Guy while he is enraged
Shy Guy is trying to open a gate
Shy Guy is trying to use the Charge ability while enraged
Shy Guy is trying to use the Try not to cry ability
Events.Scp106.*
or Events.Larry.*
or Events.OldMan.*
Larry is attacking a player
Larry is attempting to teleport using the hunter atlas
Larry is attempting to stalk (Go underground)
Larry is attempting to resurface from stalking
Events.Scp173 .*
or Events.Peanut.*
Forcing players near Peanut to blink
Peanut is attempting to teleport nearby
Peanut is trying to place tantrum on the ground
Peanut is trying to speed up
Events.Scp244 .*
or Events.Vase.*
Vase is being activated and placed on the ground
Type | Member |
---|---|
Player | Player |
bool | IsAllowed |
Scp244 | Scp244 |
Vase is being damaged
Type | Member |
---|---|
Scp244Pickup | Pickup |
DamageHandler | Handler |
bool | IsAllowed |
Vase is being opened on the ground and activated
Type | Member |
---|---|
Scp244Pickup | Pickup |
bool | IsAllowed |
Events.Scp330 .*
or Events.Candy.*
A player interacting with the candy bowl in LCZ
Type | Member |
---|---|
Player | Player |
CandyKindID | Candy |
bool | IsAllowed |
int | UsageCount |
bool | ShouldSever |
A player is dropping a candy bag with the selected candy
Type | Member |
---|---|
Player | Player |
CandyKindID | Candy |
bool | IsAllowed |
Scp330 | Scp330 |
A player is eating a candy
Type | Member |
---|---|
Player | Player |
ICandy | Candy |
bool | IsAllowed |
A player has finished eating a candy and has received the effects
Type | Member |
---|---|
Player | Player |
ICandy | Candy |
Events.Scp914.*
Attemping to upgrade a pickup inside 914
Attempting to upgrade an item in a player's inventory inside 914
Attempting to upgrade and move a player to the output inside 914
A player is turning on 914
A player is chaning the setting of 914 (Coarse, Rough, 1to1, Fine, Very Fine)
Events.Scp939.*
or Events.Dog.*
Dog is crouching and trying to focus in
Dog is trying to pounce after crouching
Dog is trying to place her amnestic cloud
Dog is playing a voiceclip from a player
Server is saving a voice clip of a consenting player for the dog
Dog is playing a generic sound
Dog has slashed at a player
Confirming before dog is able to see a player
Events.Scp3114.*
or Events.Skeleton.*
Skeleton is consuming a corpse to change it's disguise
Skeleton has changed to a new appearance
Skeleton is trying to interact with a body to disguise
Skeleton has revealed its true form
Skeleton is trying to remove its disguise
A random voiceline is playing from the Skeleton
Events.Server.*
The lobby has started and server is ready to accept players
Type | Member |
---|
Players have been given their roles and the round has begun
Type | Member |
---|
Confirming if round ending critera is met
Type | Member |
---|---|
LeadingTeam | LeadingTeam |
SumInfo_ClassList | ClassList |
bool | IsRoundEnded |
bool | IsForceEnded |
bool | IsAllowed |
The round has ended, showing end of round card
Type | Member |
---|---|
LeadingTeam | LeadingTeam |
SumInfo_ClassList | ClassList |
int | TimeToRestart |
Round is restarting, called after round end timer has completed or manually by admin
Type | Member |
---|
A player is reporting a cheater
Type | Member |
---|---|
Player | Player |
Player | Target |
int | ServerPort |
string | Reason |
bool | IsAllowed |
The team with the most tickets is respawning as part of the 5 minute respawn timer.
Type | Member |
---|---|
List<Player> | Players |
int | MaximumRespawnAmount |
SpawnableTeamType | nextKnownTeam |
SpawnableTeamHandlerBase | SpawnableTeam |
Queue<RoleTypeId> | SpawnQueue |
bool | IsAllowed |
Choosing a unit name/number for an NTF group
Type | Member |
---|---|
UnitNamingRule | UnitNamingRule |
bool | IsAllowed |
A player is sending a complaint about a player to the local server administrators.
Type | Member |
---|---|
Player | Player |
Player | Target |
string | Reason |
bool | IsAllowed |
Invoked before choosing the Team than player will get.
Type | Member |
---|---|
List<Team> | TeamRespawnQueue |
bool | IsAllowed |
Invoked before selecting the team that will respawn
Type | Member |
---|---|
SpawnableTeamType | Team |
Invoked after the "reload configs" command is ran.
Type | Member |
---|
Invoked after the "reload translations" command is ran.
Type | Member |
---|
Invoked after the "reload gameplay" command is ran.
Type | Member |
---|
Invoked after the "reload remoteadminconfigs" command is ran.
Type | Member |
---|
Invoked after the "reload plugins" command is ran.
Type | Member |
---|
Invoked after the "reload permissions" command is ran.
Type | Member |
---|
Events.Warhead.*
or Events.Nuke.*
Invoked before stopping the warhead.
Type | Member |
---|---|
Player | Player |
bool | IsAllowed |
Invoked before starting the warhead.
Type | Member |
---|---|
Player | Player |
bool | IsAllowed |
bool | IsAuto |
Invoked before changing the warhead lever status.
Type | Member |
---|---|
Player | Player |
bool | IsAllowed |
bool | CurrentState |
Invoked after the warhead has been detonated.
Type | Member |
---|
Invoked before detonating the warhead.
Type | Member |
---|---|
bool | IsAllowed |