Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2.14.0 full release (Exiled-Team#586)
* Changes (#439) * Changes [Exiled.Events] +Changed OnAddingTarget, OnUpgradingItems and OnGeneratorActivated into transpilers. +Some clean up. +Marked SendingConsoleCommandEventArgs::Allow as obsolete. [Exiled.Example] +Renamed Handlers folder into Events and its classes. +Added some events. * Changes + Used <remarks></remarks> block. + Changed Exception string. * Using the RH instead of the GameObject * Added \n to respect the format * Changed a comment * New event: Map.ChangingIntoGrenade (my first transpiler <3) (#440) * New event: Map.ChangingIntoGrenade (my first transpiler <3) * Back to for loop brrr * And address the review stuff * consistency go brr * Added fuseTime to constructor. Removed unused default property values. Co-authored-by: galaxy119 <[email protected]> * Added new permission (#443) Use customitems.spawn instead of customitems.list Spawn isn't a List's command parent after all. * Changes (#444) [Exiled.Events] + Changed PreAuthenticating patch into a transpiler. [Exiled.Example] + Added Player::OnPreAuthenticating event. * New events (#447) * Additions +Added ChangingRadioPreset and UsingRadioBattery events. +Some clean up. * Fix for #441 * Reduces damage dealt to SCP-106 by 90%, same as the damage calculation applied to SCP-106 by base-game in CallCmdShoot. Fixes #448 * Fix for SCP-096 being able to enter 'pre-windup' with no targets. (#449) * Fix for SCP-096 being able to enter 'pre-windup' with no targets. * I'm not tinybrain I promise. * Fuck stylecop, these are both to do the exact same thing * Ok, I AM tinybrain. * this makes more sense namewise * de-duplication is nice * This is my final form * Don't forget to send the kids home after school * Update to remove unnecessary patch and use ChangingIntoGrenade Event instead. (#454) * Sorting config keys alphabetically instead (#452) * sorting config keys alphabetically instead * backwards compatibility * Changed four events into transpilers (#451) * Additions `[Exiled.Events]` + Changed Handcuffing, ActivatingWarheadPanel, StartingRecall and FinishingRecall to transpilers. * Updated a comment * Changed opcodes flow + Inverted the logic of the item check. + Used Call instead of Callvirt to call List<string>::Add. * Changed a Brfalse_S to Brfalse Since the BodyCmd_ByteAndGameObject is a very long method and the return label is 216 instructions below, this patch may break in future updates if they'll add more instructions in it. * Adds TryingNotToCry, Charging, and ChargingPlayer events (#455) * Adds TryingNotToCry and Charging events Adds two new events which invoke before SCP-096 tries not to cry or charges respectively. * Adds the ChargingPlayer event Adds an event which fires before SCP-096 hits a player during its charge. * Get the Player from the ReferenceHub Removed .gameObject from a few methods to get the player directory from the RH. * Turn the giant CallCmdShoot prefix patch into a transpiler. (#453) * Turn the giant CallCmdShoot prefix patch into a transpiler. * Re-position the first event so that it is triggered before removing ammo from the weapon. * Changed offsets to be negative, with index using + offset for consistency with other patches. Changed this.gameObject to this._hub Changed ev1 and ev2 to shootingEv and shotEv respectively. Changed callvirt calls on this.x to call * Updated offset for ShotEvent * I'm an egg * I'm a monkey in disguise. * Allows NW to be aware of custom items that may impact gameplay (#450) * Allows NW to be aware of custom items that may impact gameplay in a way that could be considered hacking. * This is NOT a config option, and can only be set by the plugin author. * Version bump * Fixes base-game enrage command. * We don't need that * This needs to be displayname not nickname * remove debugging info lines * Fixing escaping with custom items. Fixes weapons being able to increase damage of other sources. * Actual fix for that * Fix for NullRef on CustomItems.PlayerHandler.OnChangingRole when a round first starts. * Removed more debugging lines, oops * Change ChargingPlayer and TryingNotToCry into transpilers (#456) * Change ChargingPlayer and TryingNotToCry into transpilers, Fix ChargingPlayer ChargingPlayer was calling the event once per frame, now it will call once per player. * Remove unused warning disable * Remove unused usings * Comments and small changes * use Exiled.API.Features * Remove oldCount as it's no longer needed. Correct copied comment. * Move RoleType.GetRandomSpawnPoint extension to Extensions.Role (#461) * Move RoleType.GetRandomSpawnPoint to Extensions.Role * Remove Map.GetRandomSpawnPoint because of ambiguity it creates. * Readded Map.GetRandomSpawnPoint, Changed CustomItems to use it explicitly * Add method name to obsolete description. * Also throw an error if the old extension is used Co-authored-by: Nick Rebbok <[email protected]> * Fixed grenade chaining. * Version bump * Changed 5 events into transpilers (#458) * Changed 5 events into transpilers + Added ElevatorTeleportEventArgs::AuxiliaryPowerCost and made obsolete ElevatorTeleportEventArgs::APCost. + Added InteractingDoorEventArgs::AuxiliaryPowerCost. + Added InteractingTeslaEventArgs::AuxiliaryPowerCost. + Added StartingSpeakerEventArgs::AuxiliaryPowerCost and made obsolete StartingSpeakerEventArgs::APDrain. + Added Scp079::TriggeringDoor. + Added Scp079::ElevatorTeleporting. + Made obsolete Scp079::InteractingDoor. + Made obsolete Scp079::ElevatorTeleport. + Made obsolete ChangingCameraEventArgs::APCost in favor of ChangingCameraEventArgs::AuxiliaryPowerCost. + ElevatorTeleportEventArgs now inherits ElevatorTeleportingEventArgs. * Fix grenades fail to explode (#465) * fix grenades fail to explode * sure stylecop * add some explanatory comments * Converted ChangingCamera into a transpiler (#463) * Converted ChangingCamera into a transpiler + Fixed the logic of IsAllowed for Interacting patch. * CI.Spawn Pickup (#464) * Updated Spawn methods * Cleaning a little bit the example plugin (#466) * Changed Example plugin method calls order - Deleted the private constructor. - Moved down ``base.OnEnabled()`` and ``base.OnDisabled()``. Co-authored-by: Nick Rebbok <[email protected]> * Fixes AFK system being 'disabled' by exiled. * Update main.yml * YamlDotNet version bump * Anonymize userid's sent to credits API. (#467) * Anonymize userid's sent to credits API. * Plugin load logs (#469) * add a plugin load log * ignore rider options folder * Add ChangedRole event (#468) * Add ChangedRole event * MirrorExtesnions::ChangeRunningSpeed & MirrorExtesnions:ChangeWalkingSpeed methods (#471) * Add translations (#460) * Add translations * Don't make plugin translations if the plugin has no translations * Move translations to a separate class and stop using SortedDictionary * Create a separate "reload translations" command * Add Plugin class overload with translations * Move serializer/deserializer from config and translation managers to the same class and added ShouldReloadTranslationsAtRoundRestart config * Add compatibility for old plugins * Typo (#481) Co-authored-by: Nao <[email protected]> * Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479) Co-authored-by: Nick Rebbok <[email protected]> * Add Player.HasHint, Player.Zone and Player.ArtificialHealthDecay (#480) * Fix overwatch issue and remove older patch (#483) * remove older patch * Add Player.UnitName (#485) * Player UnitName * Update Exiled.API/Features/Player.cs Co-authored-by: Nick Rebbok <[email protected]> * Allow Handcuffing event.IsAllowed to override team checks. (#484) * Allow Handcuffing event.IsAllowed to override team checks. Co-authored-by: Pietro <[email protected]> * version bump * Fix DoorExtensions.GetDoorType (String.GetBefore) (#487) * Add PickingUpAmmo event (#489) * Add PickingUpAmmo event * disable warning SA1313 * Player.ResetInventory(List<string>) extension (#478) * Player.ResetInventory(List<string>) extension * Fix GetGroup (#470) * Fix GetGroup * Update Exiled.API/Extensions/UserGroupExtension.cs Co-authored-by: iRebbok <[email protected]> * fix: stop manipulating the local 'damage' after the Shoot event is fired * fix: add a return statement to the AC 'R3' patch (#490) * feat: anti cheat ignores custom colliders (#493) * Fixed a typo (#494) * Update Player::IsCuffed summary (#491) * feat: add UserGroupExtension::GetKey(UseGroup) & Server::PermissionsHandler (#495) * feat: let 'em get keys of usergroups * rename: UserGroupExtension -> UserGroupExtensions * Converted GainingExperience into a transpiler (#473) * Converted GainingExperience, EnteringPocketDimension, ActivatingWorkstation, DeactivatingWorkstation into transpilers. * Some clean up. * Update Uniq when setting CurrentItem (#498) * SessionVariables improvement (#503) * Better SessionVariables access * Update Exiled.API/Features/Player.cs Co-authored-by: Pietro <[email protected]> * Player.CountItem(ItemType) (#499) * Player.CountItem(ItemType) This is useful to count the items of a certain ItemType a player has in his inventory. Co-authored-by: Pietro <[email protected]> * Fixed Cassie not saying unit names, when their colors were changed (#496) * Added patch * Better name * Removed unnecessary string * Add Player:Ping (#501) * Add Player:Ping Co-authored-by: Pietro <[email protected]> * Fix Build Errors (#506) * Allow custom items to be given to all players at once (#510) * feat: add giving all players a custom item using * Co-authored-by: Pietro <[email protected]> * Added NetworkforceStopInputs (#508) * Added Player::CanSendInputs * Exiled.Events - Cassie (#505) * Added C.A.S.S.I.E. related events. * ChangingMicroHIDState and UsingMicroHIDEnergy events (#507) * Moved a Cassie folder to Patches/Events (#514) * Add Player::ShowHitMarker (#504) * Add Round::ProgressTime * Add Player::ShowHitMarker * Fix Typo * Remove Round::ProgressTime * Edit Player::ShowHitMarker * Create Player.cs Co-authored-by: green1052 <[email protected]> * Adds Radio instance to Player::UsingRadioBattery (#520) * graceful exceptions (#513) * graceful exceptions * namespace fail * new line fail * commit fixed build * fix build script * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line Co-authored-by: Pietro <[email protected]> * This is a null check, so this should be Brfalse, otherwise we move to a "continue" whenever the player's object ISNT null, rather than when it is. (#521) * Add FirstAvailable as an InfoSide for CreditTags (#517) * feat: add FirstAvailable as an InfoSide for CreditTags * Update Exiled.CreditTags/Enums/InfoSide.cs Co-authored-by: Nick Rebbok <[email protected]> Co-authored-by: Nick Rebbok <[email protected]> * Vector2, Vector3 and Vector4 config converter (#519) * Vector2, Vector3 and Vector4 config converter +Unity Vector2, Vector3 and Vector4 can now be converted into configs and vice versa. +Exiled.CustomItems.API.Features.Vector has been deprecated. * Fixed build errors Co-authored-by: joker-119 <[email protected]> * Revert "graceful exceptions (#513)" This reverts commit c873cb5e * Reverting graceful exceptions * funni update tiem * lowercase because consistency * Adding Exiled.API.Features.Map.Seed (#524) * Adding Exiled.API.Features.Map.Seed. * Making Map.Seed also seteable. * Check if map is already generated. * Fixed UsingMicroHIDEnergy being called each frame + added MicroHID instances to both events (#526) * Fixed my shit * CurrentHidState * doc fix * Converted DamagingWindow into a transpiler (#525) * Adding Exiled.API.Features.Map.Seed * Making Map.Seed also seteable. * Oops, fixing build errors * Converted DamagingWindow into a transpiler * Reverting Map.Seed on damagingwindow-transpiler branch * 2.11 rc (#529) * Funni merge for rc.2 (#528) * Adding Exiled.API.Features.Map.Seed (#524) * Adding Exiled.API.Features.Map.Seed. * Making Map.Seed also seteable. * Check if map is already generated. * Fixed UsingMicroHIDEnergy being called each frame + added MicroHID instances to both events (#526) * Fixed my shit * CurrentHidState * doc fix * Converted DamagingWindow into a transpiler (#525) * Adding Exiled.API.Features.Map.Seed * Making Map.Seed also seteable. * Oops, fixing build errors * Converted DamagingWindow into a transpiler * Reverting Map.Seed on damagingwindow-transpiler branch Co-authored-by: xRoier <[email protected]> Co-authored-by: Michal78900 <[email protected]> * Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies. Co-authored-by: xRoier <[email protected]> Co-authored-by: Michal78900 <[email protected]> * Fixed Player.CanSendInputs being inverted (#530) * Added ForceCuff check in Player.IsCuffed (#532) Added the ForceCuff (RA) check in Player.IsCuffed bool * Fix ChangedRole event (#535) * Update ChangedRoleEventArgs.cs * Update ChangingRole.cs * Update ChangedRoleEventArgs.cs * Update ChangedRoleEventArgs.cs * Update ChangedRoleEventArgs.cs * Update ChangedRoleEventArgs.cs * Update ChangedRoleEventArgs.cs * Fixed the Player.BadgeHidden (#540) * Add LockingDown Event (#527) * Add LockingDown Event * Make the Banned event work with unsafe issuer nicknames (#549) * Fixed description of Shot event (#538) * Fixed serialization/deserialization of vector configs. (#546) * Fixed serialization/deserialization of vector configs. * Removed a useless using * Added Map.SpawnGrenade() method (#544) * First commit * Removed comment * Moved CollisionHandler to EXILED.API, changed the order of the arguments * Added grenade check * Add GetValue() to UserGroupExtensions (#550) * Ima just do this to make these the same tree again (#536) * Changes (#439) * Changes [Exiled.Events] +Changed OnAddingTarget, OnUpgradingItems and OnGeneratorActivated into transpilers. +Some clean up. +Marked SendingConsoleCommandEventArgs::Allow as obsolete. [Exiled.Example] +Renamed Handlers folder into Events and its classes. +Added some events. * Changes + Used <remarks></remarks> block. + Changed Exception string. * Using the RH instead of the GameObject * Added \n to respect the format * Changed a comment * New event: Map.ChangingIntoGrenade (my first transpiler <3) (#440) * New event: Map.ChangingIntoGrenade (my first transpiler <3) * Back to for loop brrr * And address the review stuff * consistency go brr * Added fuseTime to constructor. Removed unused default property values. Co-authored-by: galaxy119 <[email protected]> * Added new permission (#443) Use customitems.spawn instead of customitems.list Spawn isn't a List's command parent after all. * Changes (#444) [Exiled.Events] + Changed PreAuthenticating patch into a transpiler. [Exiled.Example] + Added Player::OnPreAuthenticating event. * New events (#447) * Additions +Added ChangingRadioPreset and UsingRadioBattery events. +Some clean up. * Fix for #441 * Reduces damage dealt to SCP-106 by 90%, same as the damage calculation applied to SCP-106 by base-game in CallCmdShoot. Fixes #448 * Fix for SCP-096 being able to enter 'pre-windup' with no targets. (#449) * Fix for SCP-096 being able to enter 'pre-windup' with no targets. * I'm not tinybrain I promise. * Fuck stylecop, these are both to do the exact same thing * Ok, I AM tinybrain. * this makes more sense namewise * de-duplication is nice * This is my final form * Don't forget to send the kids home after school * Update to remove unnecessary patch and use ChangingIntoGrenade Event instead. (#454) * Sorting config keys alphabetically instead (#452) * sorting config keys alphabetically instead * backwards compatibility * Changed four events into transpilers (#451) * Additions `[Exiled.Events]` + Changed Handcuffing, ActivatingWarheadPanel, StartingRecall and FinishingRecall to transpilers. * Updated a comment * Changed opcodes flow + Inverted the logic of the item check. + Used Call instead of Callvirt to call List<string>::Add. * Changed a Brfalse_S to Brfalse Since the BodyCmd_ByteAndGameObject is a very long method and the return label is 216 instructions below, this patch may break in future updates if they'll add more instructions in it. * Adds TryingNotToCry, Charging, and ChargingPlayer events (#455) * Adds TryingNotToCry and Charging events Adds two new events which invoke before SCP-096 tries not to cry or charges respectively. * Adds the ChargingPlayer event Adds an event which fires before SCP-096 hits a player during its charge. * Get the Player from the ReferenceHub Removed .gameObject from a few methods to get the player directory from the RH. * Turn the giant CallCmdShoot prefix patch into a transpiler. (#453) * Turn the giant CallCmdShoot prefix patch into a transpiler. * Re-position the first event so that it is triggered before removing ammo from the weapon. * Changed offsets to be negative, with index using + offset for consistency with other patches. Changed this.gameObject to this._hub Changed ev1 and ev2 to shootingEv and shotEv respectively. Changed callvirt calls on this.x to call * Updated offset for ShotEvent * I'm an egg * I'm a monkey in disguise. * Allows NW to be aware of custom items that may impact gameplay (#450) * Allows NW to be aware of custom items that may impact gameplay in a way that could be considered hacking. * This is NOT a config option, and can only be set by the plugin author. * Version bump * Fixes base-game enrage command. * We don't need that * This needs to be displayname not nickname * remove debugging info lines * Fixing escaping with custom items. Fixes weapons being able to increase damage of other sources. * Actual fix for that * Fix for NullRef on CustomItems.PlayerHandler.OnChangingRole when a round first starts. * Removed more debugging lines, oops * Change ChargingPlayer and TryingNotToCry into transpilers (#456) * Change ChargingPlayer and TryingNotToCry into transpilers, Fix ChargingPlayer ChargingPlayer was calling the event once per frame, now it will call once per player. * Remove unused warning disable * Remove unused usings * Comments and small changes * use Exiled.API.Features * Remove oldCount as it's no longer needed. Correct copied comment. * Move RoleType.GetRandomSpawnPoint extension to Extensions.Role (#461) * Move RoleType.GetRandomSpawnPoint to Extensions.Role * Remove Map.GetRandomSpawnPoint because of ambiguity it creates. * Readded Map.GetRandomSpawnPoint, Changed CustomItems to use it explicitly * Add method name to obsolete description. * Also throw an error if the old extension is used Co-authored-by: Nick Rebbok <[email protected]> * Fixed grenade chaining. * Version bump * Changed 5 events into transpilers (#458) * Changed 5 events into transpilers + Added ElevatorTeleportEventArgs::AuxiliaryPowerCost and made obsolete ElevatorTeleportEventArgs::APCost. + Added InteractingDoorEventArgs::AuxiliaryPowerCost. + Added InteractingTeslaEventArgs::AuxiliaryPowerCost. + Added StartingSpeakerEventArgs::AuxiliaryPowerCost and made obsolete StartingSpeakerEventArgs::APDrain. + Added Scp079::TriggeringDoor. + Added Scp079::ElevatorTeleporting. + Made obsolete Scp079::InteractingDoor. + Made obsolete Scp079::ElevatorTeleport. + Made obsolete ChangingCameraEventArgs::APCost in favor of ChangingCameraEventArgs::AuxiliaryPowerCost. + ElevatorTeleportEventArgs now inherits ElevatorTeleportingEventArgs. * Fix grenades fail to explode (#465) * fix grenades fail to explode * sure stylecop * add some explanatory comments * Converted ChangingCamera into a transpiler (#463) * Converted ChangingCamera into a transpiler + Fixed the logic of IsAllowed for Interacting patch. * CI.Spawn Pickup (#464) * Updated Spawn methods * Cleaning a little bit the example plugin (#466) * Changed Example plugin method calls order - Deleted the private constructor. - Moved down ``base.OnEnabled()`` and ``base.OnDisabled()``. Co-authored-by: Nick Rebbok <[email protected]> * Fixes AFK system being 'disabled' by exiled. * Update main.yml * YamlDotNet version bump * Anonymize userid's sent to credits API. (#467) * Anonymize userid's sent to credits API. * Plugin load logs (#469) * add a plugin load log * ignore rider options folder * Add ChangedRole event (#468) * Add ChangedRole event * MirrorExtesnions::ChangeRunningSpeed & MirrorExtesnions:ChangeWalkingSpeed methods (#471) * Add translations (#460) * Add translations * Don't make plugin translations if the plugin has no translations * Move translations to a separate class and stop using SortedDictionary * Create a separate "reload translations" command * Add Plugin class overload with translations * Move serializer/deserializer from config and translation managers to the same class and added ShouldReloadTranslationsAtRoundRestart config * Add compatibility for old plugins * Typo (#481) Co-authored-by: Nao <[email protected]> * Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479) Co-authored-by: Nick Rebbok <[email protected]> * Add Player.HasHint, Player.Zone and Player.ArtificialHealthDecay (#480) * Fix overwatch issue and remove older patch (#483) * remove older patch * Add Player.UnitName (#485) * Player UnitName * Update Exiled.API/Features/Player.cs Co-authored-by: Nick Rebbok <[email protected]> * Allow Handcuffing event.IsAllowed to override team checks. (#484) * Allow Handcuffing event.IsAllowed to override team checks. Co-authored-by: Pietro <[email protected]> * version bump * Fix DoorExtensions.GetDoorType (String.GetBefore) (#487) * Add PickingUpAmmo event (#489) * Add PickingUpAmmo event * disable warning SA1313 * Player.ResetInventory(List<string>) extension (#478) * Player.ResetInventory(List<string>) extension * Fix GetGroup (#470) * Fix GetGroup * Update Exiled.API/Extensions/UserGroupExtension.cs Co-authored-by: iRebbok <[email protected]> * fix: stop manipulating the local 'damage' after the Shoot event is fired * fix: add a return statement to the AC 'R3' patch (#490) * feat: anti cheat ignores custom colliders (#493) * Fixed a typo (#494) * Update Player::IsCuffed summary (#491) * feat: add UserGroupExtension::GetKey(UseGroup) & Server::PermissionsHandler (#495) * feat: let 'em get keys of usergroups * rename: UserGroupExtension -> UserGroupExtensions * Converted GainingExperience into a transpiler (#473) * Converted GainingExperience, EnteringPocketDimension, ActivatingWorkstation, DeactivatingWorkstation into transpilers. * Some clean up. * Update Uniq when setting CurrentItem (#498) * SessionVariables improvement (#503) * Better SessionVariables access * Update Exiled.API/Features/Player.cs Co-authored-by: Pietro <[email protected]> * Player.CountItem(ItemType) (#499) * Player.CountItem(ItemType) This is useful to count the items of a certain ItemType a player has in his inventory. Co-authored-by: Pietro <[email protected]> * Fixed Cassie not saying unit names, when their colors were changed (#496) * Added patch * Better name * Removed unnecessary string * Add Player:Ping (#501) * Add Player:Ping Co-authored-by: Pietro <[email protected]> * Fix Build Errors (#506) * Allow custom items to be given to all players at once (#510) * feat: add giving all players a custom item using * Co-authored-by: Pietro <[email protected]> * Added NetworkforceStopInputs (#508) * Added Player::CanSendInputs * Exiled.Events - Cassie (#505) * Added C.A.S.S.I.E. related events. * ChangingMicroHIDState and UsingMicroHIDEnergy events (#507) * Moved a Cassie folder to Patches/Events (#514) * Add Player::ShowHitMarker (#504) * Add Round::ProgressTime * Add Player::ShowHitMarker * Fix Typo * Remove Round::ProgressTime * Edit Player::ShowHitMarker * Create Player.cs Co-authored-by: green1052 <[email protected]> * Adds Radio instance to Player::UsingRadioBattery (#520) * graceful exceptions (#513) * graceful exceptions * namespace fail * new line fail * commit fixed build * fix build script * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line Co-authored-by: Pietro <[email protected]> * This is a null check, so this should be Brfalse, otherwise we move to a "continue" whenever the player's object ISNT null, rather than when it is. (#521) * Add FirstAvailable as an InfoSide for CreditTags (#517) * feat: add FirstAvailable as an InfoSide for CreditTags * Update Exiled.CreditTags/Enums/InfoSide.cs Co-authored-by: Nick Rebbok <[email protected]> Co-authored-by: Nick Rebbok <[email protected]> * Vector2, Vector3 and Vector4 config converter (#519) * Vector2, Vector3 and Vector4 config converter +Unity Vector2, Vector3 and Vector4 can now be converted into configs and vice versa. +Exiled.CustomItems.API.Features.Vector has been deprecated. * Fixed build errors Co-authored-by: joker-119 <[email protected]> * Revert "graceful exceptions (#513)" This reverts commit c873cb5e * Reverting graceful exceptions * funni update tiem * lowercase because consistency * Adding Exiled.API.Features.Map.Seed (#524) * Adding Exiled.API.Features.Map.Seed. * Making Map.Seed also seteable. * Check if map is already generated. * Fixed UsingMicroHIDEnergy being called each frame + added MicroHID instances to both events (#526) * Fixed my shit * CurrentHidState * doc fix * Converted DamagingWindow into a transpiler (#525) * Adding Exiled.API.Features.Map.Seed * Making Map.Seed also seteable. * Oops, fixing build errors * Converted DamagingWindow into a transpiler * Reverting Map.Seed on damagingwindow-transpiler branch * 2.11 rc (#529) * Funni merge for rc.2 (#528) * Adding Exiled.API.Features.Map.Seed (#524) * Adding Exiled.API.Features.Map.Seed. * Making Map.Seed also seteable. * Check if map is already generated. * Fixed UsingMicroHIDEnergy being called each frame + added MicroHID instances to both events (#526) * Fixed my shit * CurrentHidState * doc fix * Converted DamagingWindow into a transpiler (#525) * Adding Exiled.API.Features.Map.Seed * Making Map.Seed also seteable. * Oops, fixing build errors * Converted DamagingWindow into a transpiler * Reverting Map.Seed on damagingwindow-transpiler branch Co-authored-by: xRoier <[email protected]> Co-authored-by: Michal78900 <[email protected]> * Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies. Co-authored-by: xRoier <[email protected]> Co-authored-by: Michal78900 <[email protected]> * Fixed Player.CanSendInputs being inverted (#530) * Added ForceCuff check in Player.IsCuffed (#532) Added the ForceCuff (RA) check in Player.IsCuffed bool Co-authored-by: Pietro <[email protected]> Co-authored-by: Tomorii <[email protected]> Co-authored-by: Nick Rebbok <[email protected]> Co-authored-by: BuildBoy12 <[email protected]> Co-authored-by: Steven Webster <[email protected]> Co-authored-by: SebasCapo <[email protected]> Co-authored-by: xRoier <[email protected]> Co-authored-by: PintTheDragon <[email protected]> Co-authored-by: Michal78900 <[email protected]> Co-authored-by: Nao <[email protected]> Co-authored-by: sanyae2439 <[email protected]> Co-authored-by: Raul125 <[email protected]> Co-authored-by: Gaby <[email protected]> Co-authored-by: Remuchi <[email protected]> Co-authored-by: 4310V343k <[email protected]> Co-authored-by: slid88 <[email protected]> Co-authored-by: Wydział Wewnętrzny <[email protected]> Co-authored-by: Jesús <[email protected]> Co-authored-by: green1052 <[email protected]> Co-authored-by: 0b10000 <[email protected]> Co-authored-by: green1052 <[email protected]> Co-authored-by: Lufou <[email protected]> * big funni (#537) * Changes (#439) * Changes [Exiled.Events] +Changed OnAddingTarget, OnUpgradingItems and OnGeneratorActivated into transpilers. +Some clean up. +Marked SendingConsoleCommandEventArgs::Allow as obsolete. [Exiled.Example] +Renamed Handlers folder into Events and its classes. +Added some events. * Changes + Used <remarks></remarks> block. + Changed Exception string. * Using the RH instead of the GameObject * Added \n to respect the format * Changed a comment * New event: Map.ChangingIntoGrenade (my first transpiler <3) (#440) * New event: Map.ChangingIntoGrenade (my first transpiler <3) * Back to for loop brrr * And address the review stuff * consistency go brr * Added fuseTime to constructor. Removed unused default property values. Co-authored-by: galaxy119 <[email protected]> * Added new permission (#443) Use customitems.spawn instead of customitems.list Spawn isn't a List's command parent after all. * Changes (#444) [Exiled.Events] + Changed PreAuthenticating patch into a transpiler. [Exiled.Example] + Added Player::OnPreAuthenticating event. * New events (#447) * Additions +Added ChangingRadioPreset and UsingRadioBattery events. +Some clean up. * Fix for #441 * Reduces damage dealt to SCP-106 by 90%, same as the damage calculation applied to SCP-106 by base-game in CallCmdShoot. Fixes #448 * Fix for SCP-096 being able to enter 'pre-windup' with no targets. (#449) * Fix for SCP-096 being able to enter 'pre-windup' with no targets. * I'm not tinybrain I promise. * Fuck stylecop, these are both to do the exact same thing * Ok, I AM tinybrain. * this makes more sense namewise * de-duplication is nice * This is my final form * Don't forget to send the kids home after school * Update to remove unnecessary patch and use ChangingIntoGrenade Event instead. (#454) * Sorting config keys alphabetically instead (#452) * sorting config keys alphabetically instead * backwards compatibility * Changed four events into transpilers (#451) * Additions `[Exiled.Events]` + Changed Handcuffing, ActivatingWarheadPanel, StartingRecall and FinishingRecall to transpilers. * Updated a comment * Changed opcodes flow + Inverted the logic of the item check. + Used Call instead of Callvirt to call List<string>::Add. * Changed a Brfalse_S to Brfalse Since the BodyCmd_ByteAndGameObject is a very long method and the return label is 216 instructions below, this patch may break in future updates if they'll add more instructions in it. * Adds TryingNotToCry, Charging, and ChargingPlayer events (#455) * Adds TryingNotToCry and Charging events Adds two new events which invoke before SCP-096 tries not to cry or charges respectively. * Adds the ChargingPlayer event Adds an event which fires before SCP-096 hits a player during its charge. * Get the Player from the ReferenceHub Removed .gameObject from a few methods to get the player directory from the RH. * Turn the giant CallCmdShoot prefix patch into a transpiler. (#453) * Turn the giant CallCmdShoot prefix patch into a transpiler. * Re-position the first event so that it is triggered before removing ammo from the weapon. * Changed offsets to be negative, with index using + offset for consistency with other patches. Changed this.gameObject to this._hub Changed ev1 and ev2 to shootingEv and shotEv respectively. Changed callvirt calls on this.x to call * Updated offset for ShotEvent * I'm an egg * I'm a monkey in disguise. * Allows NW to be aware of custom items that may impact gameplay (#450) * Allows NW to be aware of custom items that may impact gameplay in a way that could be considered hacking. * This is NOT a config option, and can only be set by the plugin author. * Version bump * Fixes base-game enrage command. * We don't need that * This needs to be displayname not nickname * remove debugging info lines * Fixing escaping with custom items. Fixes weapons being able to increase damage of other sources. * Actual fix for that * Fix for NullRef on CustomItems.PlayerHandler.OnChangingRole when a round first starts. * Removed more debugging lines, oops * Change ChargingPlayer and TryingNotToCry into transpilers (#456) * Change ChargingPlayer and TryingNotToCry into transpilers, Fix ChargingPlayer ChargingPlayer was calling the event once per frame, now it will call once per player. * Remove unused warning disable * Remove unused usings * Comments and small changes * use Exiled.API.Features * Remove oldCount as it's no longer needed. Correct copied comment. * Move RoleType.GetRandomSpawnPoint extension to Extensions.Role (#461) * Move RoleType.GetRandomSpawnPoint to Extensions.Role * Remove Map.GetRandomSpawnPoint because of ambiguity it creates. * Readded Map.GetRandomSpawnPoint, Changed CustomItems to use it explicitly * Add method name to obsolete description. * Also throw an error if the old extension is used Co-authored-by: Nick Rebbok <[email protected]> * Fixed grenade chaining. * Version bump * Changed 5 events into transpilers (#458) * Changed 5 events into transpilers + Added ElevatorTeleportEventArgs::AuxiliaryPowerCost and made obsolete ElevatorTeleportEventArgs::APCost. + Added InteractingDoorEventArgs::AuxiliaryPowerCost. + Added InteractingTeslaEventArgs::AuxiliaryPowerCost. + Added StartingSpeakerEventArgs::AuxiliaryPowerCost and made obsolete StartingSpeakerEventArgs::APDrain. + Added Scp079::TriggeringDoor. + Added Scp079::ElevatorTeleporting. + Made obsolete Scp079::InteractingDoor. + Made obsolete Scp079::ElevatorTeleport. + Made obsolete ChangingCameraEventArgs::APCost in favor of ChangingCameraEventArgs::AuxiliaryPowerCost. + ElevatorTeleportEventArgs now inherits ElevatorTeleportingEventArgs. * Fix grenades fail to explode (#465) * fix grenades fail to explode * sure stylecop * add some explanatory comments * Converted ChangingCamera into a transpiler (#463) * Converted ChangingCamera into a transpiler + Fixed the logic of IsAllowed for Interacting patch. * CI.Spawn Pickup (#464) * Updated Spawn methods * Cleaning a little bit the example plugin (#466) * Changed Example plugin method calls order - Deleted the private constructor. - Moved down ``base.OnEnabled()`` and ``base.OnDisabled()``. Co-authored-by: Nick Rebbok <[email protected]> * Fixes AFK system being 'disabled' by exiled. * Update main.yml * YamlDotNet version bump * Anonymize userid's sent to credits API. (#467) * Anonymize userid's sent to credits API. * Plugin load logs (#469) * add a plugin load log * ignore rider options folder * Add ChangedRole event (#468) * Add ChangedRole event * MirrorExtesnions::ChangeRunningSpeed & MirrorExtesnions:ChangeWalkingSpeed methods (#471) * Add translations (#460) * Add translations * Don't make plugin translations if the plugin has no translations * Move translations to a separate class and stop using SortedDictionary * Create a separate "reload translations" command * Add Plugin class overload with translations * Move serializer/deserializer from config and translation managers to the same class and added ShouldReloadTranslationsAtRoundRestart config * Add compatibility for old plugins * Typo (#481) Co-authored-by: Nao <[email protected]> * Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479) Co-authored-by: Nick Rebbok <[email protected]> * Add Player.HasHint, Player.Zone and Player.ArtificialHealthDecay (#480) * Fix overwatch issue and remove older patch (#483) * remove older patch * Add Player.UnitName (#485) * Player UnitName * Update Exiled.API/Features/Player.cs Co-authored-by: Nick Rebbok <[email protected]> * Allow Handcuffing event.IsAllowed to override team checks. (#484) * Allow Handcuffing event.IsAllowed to override team checks. Co-authored-by: Pietro <[email protected]> * version bump * Fix DoorExtensions.GetDoorType (String.GetBefore) (#487) * Add PickingUpAmmo event (#489) * Add PickingUpAmmo event * disable warning SA1313 * Player.ResetInventory(List<string>) extension (#478) * Player.ResetInventory(List<string>) extension * Fix GetGroup (#470) * Fix GetGroup * Update Exiled.API/Extensions/UserGroupExtension.cs Co-authored-by: iRebbok <[email protected]> * fix: stop manipulating the local 'damage' after the Shoot event is fired * fix: add a return statement to the AC 'R3' patch (#490) * feat: anti cheat ignores custom colliders (#493) * Fixed a typo (#494) * Update Player::IsCuffed summary (#491) * feat: add UserGroupExtension::GetKey(UseGroup) & Server::PermissionsHandler (#495) * feat: let 'em get keys of usergroups * rename: UserGroupExtension -> UserGroupExtensions * Converted GainingExperience into a transpiler (#473) * Converted GainingExperience, EnteringPocketDimension, ActivatingWorkstation, DeactivatingWorkstation into transpilers. * Some clean up. * Update Uniq when setting CurrentItem (#498) * SessionVariables improvement (#503) * Better SessionVariables access * Update Exiled.API/Features/Player.cs Co-authored-by: Pietro <[email protected]> * Player.CountItem(ItemType) (#499) * Player.CountItem(ItemType) This is useful to count the items of a certain ItemType a player has in his inventory. Co-authored-by: Pietro <[email protected]> * Fixed Cassie not saying unit names, when their colors were changed (#496) * Added patch * Better name * Removed unnecessary string * Add Player:Ping (#501) * Add Player:Ping Co-authored-by: Pietro <[email protected]> * Fix Build Errors (#506) * Allow custom items to be given to all players at once (#510) * feat: add giving all players a custom item using * Co-authored-by: Pietro <[email protected]> * Added NetworkforceStopInputs (#508) * Added Player::CanSendInputs * Exiled.Events - Cassie (#505) * Added C.A.S.S.I.E. related events. * ChangingMicroHIDState and UsingMicroHIDEnergy events (#507) * Moved a Cassie folder to Patches/Events (#514) * Add Player::ShowHitMarker (#504) * Add Round::ProgressTime * Add Player::ShowHitMarker * Fix Typo * Remove Round::ProgressTime * Edit Player::ShowHitMarker * Create Player.cs Co-authored-by: green1052 <[email protected]> * Adds Radio instance to Player::UsingRadioBattery (#520) * graceful exceptions (#513) * graceful exceptions * namespace fail * new line fail * commit fixed build * fix build script * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line Co-authored-by: Pietro <[email protected]> * This is a null check, so this should be Brfalse, otherwise we move to a "continue" whenever the player's object ISNT null, rather than when it is. (#521) * Add FirstAvailable as an InfoSide for CreditTags (#517) * feat: add FirstAvailable as an InfoSide for CreditTags * Update Exiled.CreditTags/Enums/InfoSide.cs Co-authored-by: Nick Rebbok <[email protected]> Co-authored-by: Nick Rebbok <[email protected]> * Vector2, Vector3 and Vector4 config converter (#519) * Vector2, Vector3 and Vector4 config converter +Unity Vector2, Vector3 and Vector4 can now be converted into configs and vice versa. +Exiled.CustomItems.API.Features.Vector has been deprecated. * Fixed build errors Co-authored-by: joker-119 <[email protected]> * Revert "graceful exceptions (#513)" This reverts commit c873cb5e * Reverting graceful exceptions * funni update tiem * lowercase because consistency * Adding Exiled.API.Features.Map.Seed (#524) * Adding Exiled.API.Features.Map.Seed. * Making Map.Seed also seteable. * Check if map is already generated. * Fixed UsingMicroHIDEnergy being called each frame + added MicroHID instances to both events (#526) * Fixed my shit * CurrentHidState * doc fix * Converted DamagingWindow into a transpiler (#525) * Adding Exiled.API.Features.Map.Seed * Making Map.Seed also seteable. * Oops, fixing build errors * Converted DamagingWindow into a transpiler * Reverting Map.Seed on damagingwindow-transpiler branch * 2.11 rc (#529) * Funni merge for rc.2 (#528) * Adding Exiled.API.Features.Map.Seed (#524) * Adding Exiled.API.Features.Map.Seed. * Making Map.Seed also seteable. * Check if map is already generated. * Fixed UsingMicroHIDEnergy being called each frame + added MicroHID instances to both events (#526) * Fixed my shit * CurrentHidState * doc fix * Converted DamagingWindow into a transpiler (#525) * Adding Exiled.API.Features.Map.Seed * Making Map.Seed also seteable. * Oops, fixing build errors * Converted DamagingWindow into a transpiler * Reverting Map.Seed on damagingwindow-transpiler branch Co-authored-by: xRoier <[email protected]> Co-authored-by: Michal78900 <[email protected]> * Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies. Co-authored-by: xRoier <[email protected]> Co-authored-by: Michal78900 <[email protected]> * Fixed Player.CanSendInputs being inverted (#530) * Added ForceCuff check in Player.IsCuffed (#532) Added the ForceCuff (RA) check in Player.IsCuffed bool * Fix ChangedRole event (#535) * Update ChangedRoleEventArgs.cs * Update ChangingRole.cs * Update ChangedRoleEventArgs.cs * Update ChangedRoleEventArgs.cs * Update ChangedRoleEventArgs.cs * Update ChangedRoleEventArgs.cs * Update ChangedRoleEventArgs.cs Co-authored-by: Pietro <[email protected]> Co-authored-by: Tomorii <[email protected]> Co-authored-by: Nick Rebbok <[email protected]> Co-authored-by: BuildBoy12 <[email protected]> Co-authored-by: Steven Webster <[email protected]> Co-authored-by: SebasCapo <[email protected]> Co-authored-by: xRoier <[email protected]> Co-authored-by: PintTheDragon <[email protected]> Co-authored-by: Michal78900 <[email protected]> Co-authored-by: Nao <[email protected]> Co-authored-by: sanyae2439 <[email protected]> Co-authored-by: Raul125 <[email protected]> Co-authored-by: Gaby <[email protected]> Co-authored-by: Remuchi <[email protected]> Co-authored-by: 4310V343k <[email protected]> Co-authored-by: slid88 <[email protected]> Co-authored-by: Wydział Wewnętrzny <[email protected]> Co-authored-by: Jesús <[email protected]> Co-authored-by: green1052 <[email protected]> Co-authored-by: 0b10000 <[email protected]> Co-authored-by: green1052 <[email protected]> Co-authored-by: Lufou <[email protected]> Co-authored-by: PintTheDragon <[email protected]> * Fixing the Coroutine example (#545) * WaitForSeconds not WaitForSecond * Log.Info not Plugin.info * Michal fixes * Add GetValue() * we do much trolling * remove whitespace * Update UserGroupExtensions.cs Co-authored-by: joker-119 <[email protected]> Co-authored-by: Pietro <[email protected]> Co-authored-by: Tomorii <[email protected]> Co-authored-by: Nick Rebbok <[email protected]> Co-authored-by: BuildBoy12 <[email protected]> Co-authored-by: Steven Webster <[email protected]> Co-authored-by: SebasCapo <[email protected]> Co-authored-by: xRoier <[email protected]> Co-authored-by: PintTheDragon <[email protected]> Co-authored-by: Michal78900 <[email protected]> Co-authored-by: Nao <[email protected]> Co-authored-by: sanyae2439 <[email protected]> Co-authored-by: Raul125 <[email protected]> Co-authored-by: Gaby <[email protected]> Co-authored-by: Remuchi <[email protected]> Co-authored-by: 4310V343k <[email protected]> Co-authored-by: slid88 <[email protected]> Co-authored-by: Wydział Wewnętrzny <[email protected]> Co-authored-by: Jesús <[email protected]> Co-authored-by: green1052 <[email protected]> Co-authored-by: 0b10000 <[email protected]> Co-authored-by: green1052 <[email protected]> Co-authored-by: Lufou <[email protected]> Co-authored-by: PintTheDragon <[email protected]> Co-authored-by: babyboucher <[email protected]> * Added some properties to Round class (#557) * Edited Player::Level (#558) * Ima just do this to make these the same tree again (#536) * Changes (#439) * Changes [Exiled.Events] +Changed OnAddingTarget, OnUpgradingItems and OnGeneratorActivated into transpilers. +Some clean up. +Marked SendingConsoleCommandEventArgs::Allow as obsolete. [Exiled.Example] +Renamed Handlers folder into Events and its classes. +Added some events. * Changes + Used <remarks></remarks> block. + Changed Exception string. * Using the RH instead of the GameObject * Added \n to respect the format * Changed a comment * New event: Map.ChangingIntoGrenade (my first transpiler <3) (#440) * New event: Map.ChangingIntoGrenade (my first transpiler <3) * Back to for loop brrr * And address the review stuff * consistency go brr * Added fuseTime to constructor. Removed unused default property values. Co-authored-by: galaxy119 <[email protected]> * Added new permission (#443) Use customitems.spawn instead of customitems.list Spawn isn't a List's command parent after all. * Changes (#444) [Exiled.Events] + Changed PreAuthenticating patch into a transpiler. [Exiled.Example] + Added Player::OnPreAuthenticating event. * New events (#447) * Additions +Added ChangingRadioPreset and UsingRadioBattery events. +Some clean up. * Fix for #441 * Reduces damage dealt to SCP-106 by 90%, same as the damage calculation applied to SCP-106 by base-game in CallCmdShoot. Fixes #448 * Fix for SCP-096 being able to enter 'pre-windup' with no targets. (#449) * Fix for SCP-096 being able to enter 'pre-windup' with no targets. * I'm not tinybrain I promise. * Fuck stylecop, these are both to do the exact same thing * Ok, I AM tinybrain. * this makes more sense namewise * de-duplication is nice * This is my final form * Don't forget to send the kids home after school * Update to remove unnecessary patch and use ChangingIntoGrenade Event instead. (#454) * Sorting config keys alphabetically instead (#452) * sorting config keys alphabetically instead * backwards compatibility * Changed four events into transpilers (#451) * Additions `[Exiled.Events]` + Changed Handcuffing, ActivatingWarheadPanel, StartingRecall and FinishingRecall to transpilers. * Updated a comment * Changed opcodes flow + Inverted the logic of the item check. + Used Call instead of Callvirt to call List<string>::Add. * Changed a Brfalse_S to Brfalse Since the BodyCmd_ByteAndGameObject is a very long method and the return label is 216 instructions below, this patch may break in future updates if they'll add more instructions in it. * Adds TryingNotToCry, Charging, and ChargingPlayer events (#455) * Adds TryingNotToCry and Charging events Adds two new events which invoke before SCP-096 tries not to cry or charges respectively. * Adds the ChargingPlayer event Adds an event which fires before SCP-096 hits a player during its charge. * Get the Player from the ReferenceHub Removed .gameObject from a few methods to get the player directory from the RH. * Turn the giant CallCmdShoot prefix patch into a transpiler. (#453) * Turn the giant CallCmdShoot prefix patch into a transpiler. * Re-position the first event so that it is triggered before removing ammo from the weapon. * Changed offsets to be negative, with index using + offset for consistency with other patches. Changed this.gameObject to this._hub Changed ev1 and ev2 to shootingEv and shotEv respectively. Changed callvirt calls on this.x to call * Updated offset for ShotEvent * I'm an egg * I'm a monkey in disguise. * Allows NW to be aware of custom items that may impact gameplay (#450) * Allows NW to be aware of custom items that may impact gameplay in a way that could be considered hacking. * This is NOT a config option, and can only be set by the plugin author. * Version bump * Fixes base-game enrage command. * We don't need that * This needs to be displayname not nickname * remove debugging info lines * Fixing escaping with custom items. Fixes weapons being able to increase damage of other sources. * Actual fix for that * Fix for NullRef on CustomItems.PlayerHandler.OnChangingRole when a round first starts. * Removed more debugging lines, oops * Change ChargingPlayer and TryingNotToCry into transpilers (#456) * Change ChargingPlayer and TryingNotToCry into transpilers, Fix ChargingPlayer ChargingPlayer was calling the event once per frame, now it will call once per player. * Remove unused warning disable * Remove unused usings * Comments and small changes * use Exiled.API.Features * Remove oldCount as it's no longer needed. Correct copied comment. * Move RoleType.GetRandomSpawnPoint extension to Extensions.Role (#461) * Move RoleType.GetRandomSpawnPoint to Extensions.Role * Remove Map.GetRandomSpawnPoint because of ambiguity it creates. * Readded Map.GetRandomSpawnPoint, Changed CustomItems to use it explicitly * Add method name to obsolete description. * Also throw an error if the old extension is used Co-authored-by: Nick Rebbok <[email protected]> * Fixed grenade chaining. * Version bump * Changed 5 events into transpilers (#458) * Changed 5 events into transpilers + Added ElevatorTeleportEventArgs::AuxiliaryPowerCost and made obsolete ElevatorTeleportEventArgs::APCost. + Added InteractingDoorEventArgs::AuxiliaryPowerCost. + Added InteractingTeslaEventArgs::AuxiliaryPowerCost. + Added StartingSpeakerEventArgs::AuxiliaryPowerCost and made obsolete StartingSpeakerEventArgs::APDrain. + Added Scp079::TriggeringDoor. + Added Scp079::ElevatorTeleporting. + Made obsolete Scp079::InteractingDoor. + Made obsolete Scp079::ElevatorTeleport. + Made obsolete ChangingCameraEventArgs::APCost in favor of ChangingCameraEventArgs::AuxiliaryPowerCost. + ElevatorTeleportEventArgs now inherits ElevatorTeleportingEventArgs. * Fix grenades fail to explode (#465) * fix grenades fail to explode * sure stylecop * add some explanatory comments * Converted ChangingCamera into a transpiler (#463) * Converted ChangingCamera into a transpiler + Fixed the logic of IsAllowed for Interacting patch. * CI.Spawn Pickup (#464) * Updated Spawn methods * Cleaning a little bit the example plugin (#466) * Changed Example plugin method calls order - Deleted the private constructor. - Moved down ``base.OnEnabled()`` and ``base.OnDisabled()``. Co-authored-by: Nick Rebbok <[email protected]> * Fixes AFK system being 'disabled' by exiled. * Update main.yml * YamlDotNet version bump * Anonymize userid's sent to credits API. (#467) * Anonymize userid's sent to credits API. * Plugin load logs (#469) * add a plugin load log * ignore rider options folder * Add ChangedRole event (#468) * Add ChangedRole event * MirrorExtesnions::ChangeRunningSpeed & MirrorExtesnions:ChangeWalkingSpeed methods (#471) * Add translations (#460) * Add translations * Don't make plugin translations if the plugin has no translations * Move translations to a separate class and stop using SortedDictionary * Create a separate "reload translations" command * Add Plugin class overload with translations * Move serializer/deserializer from config and translation managers to the same class and added ShouldReloadTranslationsAtRoundRestart config * Add compatibility for old plugins * Typo (#481) Co-authored-by: Nao <[email protected]> * Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479) Co-authored-by: Nick Rebbok <[email protected]> * Add Player.HasHint, Player.Zone and Player.ArtificialHealthDecay (#480) * Fix overwatch issue and remove older patch (#483) * remove older patch * Add Player.UnitName (#485) * Player UnitName * Update Exiled.API/Features/Player.cs Co-authored-by: Nick Rebbok <[email protected]> * Allow Handcuffing event.IsAllowed to override team checks. (#484) * Allow Handcuffing event.IsAllowed to override team checks. Co-authored-by: Pietro <[email protected]> * version bump * Fix DoorExtensions.GetDoorType (String.GetBefore) (#487) * Add PickingUpAmmo event (#489) * Add PickingUpAmmo event * disable warning SA1313 * Player.ResetInventory(List<string>) extension (#478) * Player.ResetInventory(List<string>) extension * Fix GetGroup (#470) * Fix GetGroup * Update Exiled.API/Extensions/UserGroupExtension.cs Co-authored-by: iRebbok <[email protected]> * fix: stop manipulating the local 'damage' after the Shoot event is fired * fix: add a return statement to the AC 'R3' patch (#490) * feat: anti cheat ignores custom colliders (#493) * Fixed a typo (#494) * Update Player::IsCuffed summary (#491) * feat: add UserGroupExtension::GetKey(UseGroup) & Server::PermissionsHandler (#495) * feat: let 'em get keys of usergroups * rename: UserGroupExtension -> UserGroupExtensions * Converted GainingExperience into a transpiler (#473) * Converted GainingExperience, EnteringPocketDimension, ActivatingWorkstation, DeactivatingWorkstation into transpilers. * Some clean up. * Update Uniq when setting CurrentItem (#498) * SessionVariables improvement (#503) * Better SessionVariables access * Update Exiled.API/Features/Player.cs Co-authored-by: Pietro <[email protected]> * Player.CountItem(ItemType) (#499) * Player.CountItem(ItemType) This is useful to count the items of a certain ItemType a player has in his inventory. Co-authored-by: Pietro <[email protected]> * Fixed Cassie not saying unit names, when their colors were changed (#496) * Added patch * Better name * Removed unnecessary string * Add Player:Ping (#501) * Add Player:Ping Co-authored-by: Pietro <[email protected]> * Fix Build Errors (#506) * Allow custom items to be given to all players at once (#510) * feat: add giving all players a custom item using * Co-authored-by: Pietro <[email protected]> * Added NetworkforceStopInputs (#508) * Added Player::CanSendInputs * Exiled.Events - Cassie (#505) * Added C.A.S.S.I.E. related events. * ChangingMicroHIDState and UsingMicroHIDEnergy events (#507) * Moved a Cassie folder to Patches/Events (#514) * Add Player::ShowHitMarker (#504) * Add Round::ProgressTime * Add Player::ShowHitMarker * Fix Typo * Remove Round::ProgressTime * Edit Player::ShowHitMarker * Create Player.cs Co-authored-by: green1052 <[email protected]> * Adds Radio instance to Player::UsingRadioBattery (#520) * graceful exceptions (#513) * graceful exceptions * namespace fail * new line fail * commit fixed build * fix build script * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * apple suggestion - avoid printing exception twice Co-authored-by: Pietro <[email protected]> * rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line Co-authored-by: Pietro <[email protected]> * This is a null check, so this should be Brfalse, otherwise we move to a "continue" whenever the player's object ISNT null, rather than when it is. (#521) * Add FirstAvailable as an InfoSide for CreditTags (#517) * feat: add FirstAvailable as an InfoSide for CreditTags * Update Exiled.CreditTags/Enums/InfoSide.cs Co-authored-by: Nick Rebbok <[email protected]> Co-authored-by: Nick Rebbok <[email protected]> * Vector2, Vector3 and Vector4 config converter (#519) * Vector2, Vector3 and Vector4 config converter +Unity Vector2, Vector3 and Vector4 can now be converted into configs and vice versa. +Exiled.CustomItems.API.Features.Vector has been deprecated. * Fixed build errors Co-authored-by: joker-119 <[email protected]> * Revert "graceful exceptions (#513)" This reverts commit c873cb5e * Reverting graceful exceptions * funni update tiem * lowercase because consistency * Adding Exiled.API.Features.Map.Seed (#524) * Adding Exiled.API.Features.Map.Seed. * Making Map.Seed also seteable. * Check if map is already generated. * Fixed UsingMicroHIDEnergy being called each frame + added MicroHID instances to both events (#526) * Fixed my shit * CurrentHidState * doc fix * Converted DamagingWindow into a transpiler (#525) * Adding Exiled.API.Features.Map.Seed * Making Map.Seed also seteable. * Oops, fixing build errors * Converted DamagingWindow into a transpiler * Reverting Map.Seed on damagingwindow-transpiler branch * 2.11 rc (#529) * Funni merge for rc.2 (#528) * Adding Exiled.API.Features.Map.Seed (#524) * Adding Exiled.API.Features.Map.Seed. * Making Map.Seed also seteable. * Check if map is already generated. * Fixed UsingMicroHIDEnergy being called each frame + added MicroHID instances to both events (#526) * Fixed my shit * CurrentHidState * doc fix * Converted DamagingWindow into a transpiler (#525) * Adding Exiled.API.Features.Map.Seed * Making Map.Seed also seteable. * Oops, fixing build errors * Converted DamagingWindow into a transpiler * Reverting Map.Seed on damagingwindow-transpiler branch Co-authored-by: xRoier <[email protected]> Co-authored-by: Michal78900 <[email protected]> * Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies. Co-authored-by: xRoier <[email protected]> Co-authored-by: Michal78900 <[email protected]> * Fixed Player.CanSendInputs being inverted (#530) * Added ForceCuff check in Player.IsCuffed (#532) Added the ForceCuff (RA) check in Player.IsCuffed bool Co-authored-by: Pietro <[email protected]> Co-authored-by: Tomorii <[email protected]> Co-authored-by: Nick Rebbok <[email protected]> Co-authored-by: BuildBoy12 <[email protected]> Co-authored-by: Steven Webster <[email protected]> Co-authored-by: SebasCapo <[email protected]> Co-authored-by: xRoier <[email protected]> Co-authored-by: PintTheDragon <[email protected]> Co-authored-by: Michal78900 <[email protected]> Co-authored-by: Nao <[email protected]> Co-authored-by: sanyae2439 <[email protected]> Co-authored-by: Raul125 <[email protected]> Co-authored-by: Gaby <[email protected]> Co-authored-by: Remuchi <[email protected]> Co-authored-by: 4310V343k <[email protected]> Co-authored-by: slid88 <[email protected]> Co-authored-by: Wydział Wewnętrzny <[email protected]> Co-authored-by: Jesús <[email protected]> Co-authored-by: green1052 <[email protected]> Co-authored-by: 0b10000 <[email protected]> Co-authored-by: green1052 <[email protected]> Co-authored-by: Lufou <[email protected]> * big funni (#537) * Changes (#439) * Changes [Exiled.Events] +Changed OnAddingTarget, OnUpgradingItems and OnGeneratorActivated into transpilers. +Some clean up. +Marked SendingConsoleCommandEventArgs::Allow as obsolete. [Exiled.Example] +Renamed Handlers folder into Events and its classes. +Added some events. * Changes + Used <remarks></remarks> block. + Changed Exception string. * Using the RH instead of the GameObject * Added \n to respect the format * Changed a …
- Loading branch information