Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

big funni #537

Merged
merged 88 commits into from
Jul 10, 2021
Merged

big funni #537

merged 88 commits into from
Jul 10, 2021

Conversation

joker-119
Copy link
Contributor

No description provided.

iopietro and others added 30 commits March 7, 2021 18:49
* 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 <amathor929@gmail.com>
Use customitems.spawn instead of customitems.list
Spawn isn't a List's command parent after all.
[Exiled.Events]
+ Changed PreAuthenticating patch into a transpiler.

[Exiled.Example]
+ Added Player::OnPreAuthenticating event.
* Additions
+Added ChangingRadioPreset and UsingRadioBattery events.
+Some clean up.
…n applied to SCP-106 by base-game in CallCmdShoot.

Fixes #448
* 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
* sorting config keys alphabetically instead

* backwards compatibility
* 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 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.

* 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 in a way that could be considered hacking.

* This is NOT a config option, and can only be set by the plugin author.
Fixes weapons being able to increase damage of other sources.
* 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 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 <irebbok@outlook.com>
* 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

* sure stylecop

* add some explanatory comments
* Converted ChangingCamera into a transpiler
+ Fixed the logic of IsAllowed for Interacting patch.
Michal78900 and others added 20 commits June 27, 2021 18:42
* Add Round::ProgressTime

* Add Player::ShowHitMarker

* Fix Typo

* Remove Round::ProgressTime

* Edit Player::ShowHitMarker

* Create Player.cs

Co-authored-by: green1052 <cydyellowgreen@gmail.com>
* graceful exceptions

* namespace fail

* new line fail

* commit fixed build

* fix build script

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>
… a "continue" whenever the player's object ISNT null, rather than when it is. (#521)
* feat: add FirstAvailable as an InfoSide for CreditTags

* Update Exiled.CreditTags/Enums/InfoSide.cs

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>
* 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 <amathor929@gmail.com>
* Adding Exiled.API.Features.Map.Seed.

* Making Map.Seed also seteable.

* Check if map is already generated.
…stances to both events (#526)

* Fixed my shit

* CurrentHidState

* doc fix
* 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
* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Added the ForceCuff (RA) check in Player.IsCuffed bool
* Update ChangedRoleEventArgs.cs

* Update ChangingRole.cs

* Update ChangedRoleEventArgs.cs

* Update ChangedRoleEventArgs.cs

* Update ChangedRoleEventArgs.cs

* Update ChangedRoleEventArgs.cs

* Update ChangedRoleEventArgs.cs
@joker-119 joker-119 merged commit fa4bd24 into master Jul 10, 2021
joker-119 added a commit that referenced this pull request Jul 21, 2021
* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* Revert "graceful exceptions (#513)"

This reverts commit c873cb5

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* Revert "graceful exceptions (#513)"

This reverts commit c873cb5

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>

* 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 <amathor929@gmail.com>
Co-authored-by: Pietro <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>
Co-authored-by: babyboucher <48159308+babyboucher@users.noreply.github.com>
joker-119 added a commit that referenced this pull request Jul 26, 2021
* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* Revert "graceful exceptions (#513)"

This reverts commit c873cb5

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* Revert "graceful exceptions (#513)"

This reverts commit c873cb5

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>

* Fixing the Coroutine example (#545)

* WaitForSeconds not WaitForSecond

* Log.Info not Plugin.info

* Michal fixes

* Added Player.SetLevel() and edited Player::Level

* Update Exiled.API/Features/Player.cs

Co-authored-by: Pietro <iopietro@hotmail.it>

* Removed Player.SetLevel()

* Removed Animeworld

lol

Co-authored-by: joker-119 <amathor929@gmail.com>
Co-authored-by: Pietro <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>
Co-authored-by: babyboucher <48159308+babyboucher@users.noreply.github.com>
joker-119 added a commit that referenced this pull request Aug 6, 2021
* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* Revert "graceful exceptions (#513)"

This reverts commit c873cb5

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* Revert "graceful exceptions (#513)"

This reverts commit c873cb5

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>

* Fixing the Coroutine example (#545)

* WaitForSeconds not WaitForSecond

* Log.Info not Plugin.info

* Michal fixes

* Removed rendundant check from Player::IsHuman

Co-authored-by: joker-119 <amathor929@gmail.com>
Co-authored-by: Pietro <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>
Co-authored-by: babyboucher <48159308+babyboucher@users.noreply.github.com>
joker-119 added a commit that referenced this pull request Aug 10, 2021
* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* Revert "graceful exceptions (#513)"

This reverts commit c873cb5

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* Revert "graceful exceptions (#513)"

This reverts commit c873cb5

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>

* Fixing the Coroutine example (#545)

* WaitForSeconds not WaitForSecond

* Log.Info not Plugin.info

* Michal fixes

* Add beta workflow action

* Allow manual triggering of workflow

* Update beta.yml

* Fix typo in the returned door name

"079_SECONDARY" is incorrect, should be "079_SECOND"

Co-authored-by: joker-119 <amathor929@gmail.com>
Co-authored-by: Pietro <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>
Co-authored-by: babyboucher <48159308+babyboucher@users.noreply.github.com>
BuildBoy12 pushed a commit that referenced this pull request Aug 10, 2021
* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* Revert "graceful exceptions (#513)"

This reverts commit c873cb5

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* Revert "graceful exceptions (#513)"

This reverts commit c873cb5

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>

* Fixing the Coroutine example (#545)

* WaitForSeconds not WaitForSecond

* Log.Info not Plugin.info

* Michal fixes

* Add Camera IEnumerable

* Make Room a method

* remove trailing whitespace

* How did I miss this?

Co-authored-by: joker-119 <amathor929@gmail.com>
Co-authored-by: Pietro <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>
Co-authored-by: babyboucher <48159308+babyboucher@users.noreply.github.com>
BuildBoy12 pushed a commit that referenced this pull request Aug 11, 2021
* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* Revert "graceful exceptions (#513)"

This reverts commit c873cb5

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* Revert "graceful exceptions (#513)"

This reverts commit c873cb5

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>

* Fixing the Coroutine example (#545)

* WaitForSeconds not WaitForSecond

* Log.Info not Plugin.info

* Michal fixes

* Added Ragdoll class

* Moved Ragdoll methods and properties to Ragdoll class

* Deleted Ragdoll extensions

* Readded and deprecated Ragdoll methods and properties

* Deprecated methods now use new methods

* Fixed a typo

* Fixed a typo

* Updated docs

* Readded extensions and marked as deprecated

* Integration

* Added Map.Ragdolls

* Integration

* Skipping original method

* Fixed build errors

* Summary changes

* Added missing using

* Added missing using

* Added missing using

* Update Ragdoll.cs

* Update Map.cs

* Update SpawningRagdoll.cs

* Update Ragdoll.cs

* Fixed build errors

* Fixed build errors

* Fixed build errors

* Added setters to Ragdoll::Position, Ragdoll::Scale

* Made ragdoll public

* Added Ragdoll::Base

Co-authored-by: joker-119 <amathor929@gmail.com>
Co-authored-by: Pietro <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>
Co-authored-by: babyboucher <48159308+babyboucher@users.noreply.github.com>
joker-119 added a commit that referenced this pull request Aug 21, 2021
* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>

* 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 <amathor929@gmail.com>
Co-authored-by: Pietro <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>
Co-authored-by: babyboucher <48159308+babyboucher@users.noreply.github.com>

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>

* 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 …
joker-119 added a commit that referenced this pull request Oct 8, 2021
* forgot one

* Fixed documentation

* Added Door.Scale
Added a remark about changing ev.IsAllowed to false when ev.IsEscape is true in ChangingRoleEventArgs

* Fix typo in the returned door name (#570)

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>

* Fixing the Coroutine example (#545)

* WaitForSeconds not WaitForSecond

* Log.Info not Plugin.info

* Michal fixes

* Add beta workflow action

* Allow manual triggering of workflow

* Update beta.yml

* Fix typo in the returned door name

"079_SECONDARY" is incorrect, should be "079_SECOND"

Co-authored-by: joker-119 <amathor929@gmail.com>
Co-authored-by: Pietro <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>
Co-authored-by: babyboucher <48159308+babyboucher@users.noreply.github.com>

* Allows Custom Items to be spawned inside lockers. (#564)

* Allows Custom Items to be spawned inside lockers.

* use Loader.Random

* Update CustomItem.cs

adding missing break

* Version bump be liek

* Add Cameras IEnumerable to Room (#569)

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.no…
joker-119 added a commit that referenced this pull request Oct 8, 2021
* Added Door.Scale
Added a remark about changing ev.IsAllowed to false when ev.IsEscape is true in ChangingRoleEventArgs

* Fix typo in the returned door name (#570)

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>

* Fixing the Coroutine example (#545)

* WaitForSeconds not WaitForSecond

* Log.Info not Plugin.info

* Michal fixes

* Add beta workflow action

* Allow manual triggering of workflow

* Update beta.yml

* Fix typo in the returned door name

"079_SECONDARY" is incorrect, should be "079_SECOND"

Co-authored-by: joker-119 <amathor929@gmail.com>
Co-authored-by: Pietro <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>
Co-authored-by: PintTheDragon <PintTheDragon@hotmail.com>
Co-authored-by: babyboucher <48159308+babyboucher@users.noreply.github.com>

* Allows Custom Items to be spawned inside lockers. (#564)

* Allows Custom Items to be spawned inside lockers.

* use Loader.Random

* Update CustomItem.cs

adding missing break

* Version bump be liek

* Add Cameras IEnumerable to Room (#569)

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanyae2439 <30918724+sanyae2439@users.noreply.github.com>
Co-authored-by: Raul125 <71040879+Raul125@users.noreply.github.com>
Co-authored-by: Gaby <37053956+Barna13@users.noreply.github.com>
Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
Co-authored-by: 4310V343k <56449763+4310V343k@users.noreply.github.com>
Co-authored-by: slid88 <61168189+slid88@users.noreply.github.com>
Co-authored-by: Wydział Wewnętrzny <35401291+grzes0071@users.noreply.github.com>
Co-authored-by: Jesús <69375249+Jesus-QC@users.noreply.github.com>
Co-authored-by: green1052 <cydyellowgreen@gmail.com>
Co-authored-by: 0b10000 <81607037+0b10000@users.noreply.github.com>
Co-authored-by: green1052 <green1052@protonmail.ch>
Co-authored-by: Lufou <lucas.damase@laposte.net>

* 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 <amathor929@gmail.com>

* 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 <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* 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 <60253860+ThatsDekuu@users.noreply.github.com>

* Add a description for the ShouldReloadConfigsAtRoundRestart config & explicitly set to false (#479)


Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <irebbok@outlook.com>

* Allow Handcuffing event.IsAllowed to override team checks. (#484)

* Allow Handcuffing event.IsAllowed to override team checks.

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <iopietro@hotmail.it>

* 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 <cydyellowgreen@gmail.com>

* 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 <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* apple suggestion - avoid printing exception twice

Co-authored-by: Pietro <iopietro@hotmail.it>

* rolling back new line mess in Loader.cs, also removes an actual useless whitespace on 363 line

Co-authored-by: Pietro <iopietro@hotmail.it>

* 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 <irebbok@outlook.com>

Co-authored-by: Nick Rebbok <irebbok@outlook.com>

* 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 <amathor929@gmail.com>

* 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 <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* Version bump & quick dirty patch to loader to make sure we aren't trying to load 2 CustomItem assemblies.

Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>

* 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 <iopietro@hotmail.it>
Co-authored-by: Tomorii <60253860+ThatsDekuu@users.noreply.github.com>
Co-authored-by: Nick Rebbok <irebbok@outlook.com>
Co-authored-by: BuildBoy12 <jwbradley2003@gmail.com>
Co-authored-by: Steven Webster <steveowebster8@gmail.com>
Co-authored-by: SebasCapo <sebascapoxo@gmail.com>
Co-authored-by: xRoier <58123692+xRoier@users.noreply.github.com>
Co-authored-by: PintTheDragon <64887885+PintTheDragon@users.noreply.github.com>
Co-authored-by: Michal78900 <75911188+Michal78900@users.noreply.github.com>
Co-authored-by: Nao <60253860+NaoUnderscore@users.noreply.github.com>
Co-authored-by: sanya…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.