Skip to content
This repository has been archived by the owner on May 6, 2023. It is now read-only.

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlOfDuty committed Apr 12, 2022
1 parent d290e7f commit d31cd13
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions SCPDiscordPlugin/EventListeners/PlayerEventListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace SCPDiscord.EventListeners
internal class PlayerEventListener : IEventHandlerPlayerJoin, IEventHandlerPlayerDie, IEventHandlerSpawn, IEventHandlerPlayerHurt, IEventHandlerPlayerPickupItem,
IEventHandlerPlayerDropItem, IEventHandlerNicknameSet, IEventHandlerInitialAssignTeam, IEventHandlerSetRole, IEventHandlerCheckEscape, IEventHandlerDoorAccess,
IEventHandlerIntercom, IEventHandlerIntercomCooldownCheck, IEventHandlerPocketDimensionExit, IEventHandlerPocketDimensionEnter, IEventHandlerPocketDimensionDie,
IEventHandlerThrowGrenade, IEventHandlerInfected, IEventHandlerSpawnRagdoll, IEventHandlerLure, IEventHandlerContain106, IEventHandlerMedicalUse,
IEventHandlerThrowGrenade, IEventHandlerInfected, IEventHandlerSpawnRagdoll, IEventHandlerLure, IEventHandlerContain106, IEventHandlerConsumableUse,
IEventHandler106CreatePortal, IEventHandler106Teleport, IEventHandlerElevatorUse, IEventHandlerHandcuffed, IEventHandlerPlayerTriggerTesla, IEventHandlerSCP914ChangeKnob,
IEventHandlerRadioSwitch, IEventHandlerMakeNoise, IEventHandlerRecallZombie, IEventHandlerCallCommand, IEventHandlerReload, IEventHandlerGrenadeExplosion, IEventHandlerGrenadeHitPlayer,
IEventHandlerGeneratorUnlock, IEventHandlerGeneratorAccess, IEventHandlerGeneratorLeverUsed, IEventHandler079Door, IEventHandler079Lock,
Expand Down Expand Up @@ -546,7 +546,7 @@ public void OnContain106(PlayerContain106Event ev)
/// <summary>
/// Called when a player uses Medkit
/// </summary>
public void OnMedicalUse(PlayerMedicalUseEvent ev)
public void OnConsumableUse(PlayerConsumableUseEvent ev)
{
Dictionary<string, string> variables = new Dictionary<string, string>
{
Expand All @@ -555,7 +555,7 @@ public void OnMedicalUse(PlayerMedicalUseEvent ev)
{ "healthregenamount", ev.HealthRegenAmount.ToString() },
{ "healthregenspeedmultiplier", ev.HealthRegenSpeedMultiplier.ToString() },
{ "stamina", ev.Stamina.ToString() },
{ "medicalitem", ev.MedicalItem.ToString() },
{ "medicalitem", ev.ConsumableItem.ToString() },
{ "ipaddress", ev.Player.IPAddress },
{ "name", ev.Player.Name },
{ "playerid", ev.Player.PlayerID.ToString() },
Expand Down
10 changes: 5 additions & 5 deletions SCPDiscordPlugin/EventListeners/RoundEventListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ public void OnRoundEnd(RoundEndEvent ev)
Dictionary<string, string> variables = new Dictionary<string, string>
{
{ "duration", (ev.Round.Duration/60).ToString() },
{ "dclassalive", ev.Round.Stats.ClassDAlive.ToString() },
{ "dclassdead", ev.Round.Stats.ClassDDead.ToString() },
{ "dclassescaped", ev.Round.Stats.ClassDEscaped.ToString() },
{ "dclassstart", ev.Round.Stats.ClassDStart.ToString() },
{ "mtfalive", ev.Round.Stats.NTFAlive.ToString() },
{ "dclassalive", ev.Round.Stats.DClassAlive.ToString() },
{ "dclassdead", ev.Round.Stats.DClassDead.ToString() },
{ "dclassescaped", ev.Round.Stats.DClassEscaped.ToString() },
{ "dclassstart", ev.Round.Stats.DClassStart.ToString() },
{ "mtfalive", ev.Round.Stats.MTFAlive.ToString() },
{ "scientistsalive", ev.Round.Stats.ScientistsAlive.ToString() },
{ "scientistsdead", ev.Round.Stats.ScientistsDead.ToString() },
{ "scientistsescaped", ev.Round.Stats.ScientistsEscaped.ToString() },
Expand Down
4 changes: 2 additions & 2 deletions SCPDiscordPlugin/SCPDiscord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ namespace SCPDiscord
name = "SCPDiscord",
description = "SCP:SL - Discord bridge.",
id = "karlofduty.scpdiscord",
version = "2.0.2",
version = "2.0.3",
SmodMajor = 3,
SmodMinor = 10,
SmodRevision = 0
SmodRevision = 1
)]

public class SCPDiscord : Plugin
Expand Down
Binary file modified SCPDiscordPlugin/lib/Assembly-CSharp.dll
Binary file not shown.
Binary file modified SCPDiscordPlugin/lib/Smod2.dll
Binary file not shown.

0 comments on commit d31cd13

Please sign in to comment.