This repository has been archived by the owner on Dec 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
101 changed files
with
73 additions
and
193 deletions.
There are no files selected for viewing
Binary file not shown.
14 changes: 7 additions & 7 deletions
14
UltimateCuffing-Exiled/UltimateCuffing.sln → UltimateCuffing 2.0/UltimateCuffing 2.0.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.31205.134 | ||
VisualStudioVersion = 16.0.31702.278 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UltimateCuffing", "UltimateCuffing\UltimateCuffing.csproj", "{1ACEF69F-AC33-4D13-A97B-F3B40B9ED781}" | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UltimateCuffing 2.0", "UltimateCuffing 2.0\UltimateCuffing 2.0.csproj", "{10F66671-3968-4C49-8445-84181680D068}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{1ACEF69F-AC33-4D13-A97B-F3B40B9ED781}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{1ACEF69F-AC33-4D13-A97B-F3B40B9ED781}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{1ACEF69F-AC33-4D13-A97B-F3B40B9ED781}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{1ACEF69F-AC33-4D13-A97B-F3B40B9ED781}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{10F66671-3968-4C49-8445-84181680D068}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{10F66671-3968-4C49-8445-84181680D068}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{10F66671-3968-4C49-8445-84181680D068}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{10F66671-3968-4C49-8445-84181680D068}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {E7D64EDB-790B-4EE1-9124-CAB67948DFAA} | ||
SolutionGuid = {C9B709D3-B548-4EA7-90BD-EB9C65CB7E02} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Exiled.API.Interfaces; | ||
|
||
namespace UltimateCuffing_2._0 | ||
{ | ||
public class Config : IConfig | ||
{ | ||
public bool IsEnabled { get; set; } = true; | ||
|
||
public List<Team> cuffedteams { get; } = new List<Team> { Team.CDP, Team.TUT, Team.SCP, Team.MTF, Team.CHI }; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using Exiled.Events.EventArgs; | ||
|
||
namespace UltimateCuffing_2._0 | ||
{ | ||
public class EventHandlers | ||
{ | ||
public Plugin plugin; | ||
public EventHandlers(Plugin plugin) => this.plugin = plugin; | ||
public void OnCuffed(HandcuffingEventArgs ev) | ||
{ | ||
if (plugin.Config.cuffedteams == null) | ||
return; | ||
if (ev.Cuffer.Team == ev.Target.Team && plugin.Config.cuffedteams.Contains(ev.Target.Team)) | ||
ev.IsAllowed = true; | ||
} | ||
} | ||
} |
24 changes: 10 additions & 14 deletions
24
...eCuffing-Exiled/UltimateCuffing/Plugin.cs → ...Cuffing 2.0/UltimateCuffing 2.0/Plugin.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,29 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Exiled.API.Features; | ||
using Player = Exiled.Events.Handlers.Player; | ||
using Exiled.API.Features; | ||
|
||
namespace UltimateCuffing | ||
namespace UltimateCuffing_2._0 | ||
{ | ||
|
||
public class Plugin : Plugin<Config> | ||
{ | ||
public override string Author { get; } = "Space"; | ||
public override string Author { get; } = "G-Man"; | ||
public override string Name { get; } = "UltimateCuffing"; | ||
public override string Prefix { get; } = "UltimateCuffing"; | ||
public override Version Version { get; } = new Version(1, 0, 0); | ||
public override Version RequiredExiledVersion { get; } = new Version(2, 10, 0); | ||
|
||
public EventHandlers EventHandler; | ||
public override Version Version { get; } = new Version(2, 0, 0); | ||
public override Version RequiredExiledVersion { get; } = new Version(3, 0, 0); | ||
public EventHandlers EventHandler; | ||
|
||
public override void OnEnabled() | ||
{ | ||
{ | ||
EventHandler = new EventHandlers(this); | ||
Player.Handcuffing += EventHandler.OnCuff; | ||
|
||
Player.Handcuffing += EventHandler.OnCuffed; | ||
base.OnEnabled(); | ||
} | ||
public override void OnDisabled() | ||
{ | ||
Player.Handcuffing -= EventHandler.OnCuff; | ||
|
||
Player.Handcuffing -= EventHandler.OnCuffed; | ||
EventHandler = null; | ||
base.OnDisabled(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Binary file added
BIN
+225 KB
UltimateCuffing 2.0/UltimateCuffing 2.0/bin/Debug/Assembly-CSharp-firstpass.dll
Binary file not shown.
Binary file added
BIN
+1.95 MB
UltimateCuffing 2.0/UltimateCuffing 2.0/bin/Debug/Assembly-CSharp.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+15 KB
UltimateCuffing 2.0/UltimateCuffing 2.0/bin/Debug/Exiled.CreditTags.dll
Binary file not shown.
Binary file added
BIN
+49.5 KB
UltimateCuffing 2.0/UltimateCuffing 2.0/bin/Debug/Exiled.CustomItems.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+23 KB
UltimateCuffing 2.0/UltimateCuffing 2.0/bin/Debug/Exiled.Permissions.dll
Binary file not shown.
Binary file renamed
BIN
+22 KB
...imateCuffing/bin/Debug/Exiled.Updater.dll → ...eCuffing 2.0/bin/Debug/Exiled.Updater.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added
BIN
+6 KB
UltimateCuffing 2.0/UltimateCuffing 2.0/bin/Debug/UltimateCuffing 2.0.dll
Binary file not shown.
Binary file added
BIN
+25.5 KB
UltimateCuffing 2.0/UltimateCuffing 2.0/bin/Debug/UltimateCuffing 2.0.pdb
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+6 KB
UltimateCuffing 2.0/UltimateCuffing 2.0/obj/Debug/UltimateCuffing 2.0.dll
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-1.87 MB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/Assembly-CSharp.dll
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-14.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/Exiled.CreditTags.dll
Binary file not shown.
Binary file removed
BIN
-47.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/Exiled.CustomItems.dll
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-23 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/Exiled.Permissions.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-29.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UltimateCuffing.pdb
Binary file not shown.
Binary file removed
BIN
-43.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.AIModule.dll
Binary file not shown.
Binary file removed
BIN
-12.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.ARModule.dll
Binary file not shown.
Binary file removed
BIN
-12 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.AccessibilityModule.dll
Binary file not shown.
Binary file removed
BIN
-56 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.AndroidJNIModule.dll
Binary file not shown.
Binary file removed
BIN
-143 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.AnimationModule.dll
Binary file not shown.
Binary file removed
BIN
-21 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.AssetBundleModule.dll
Binary file not shown.
Binary file removed
BIN
-56 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.AudioModule.dll
Binary file not shown.
Binary file removed
BIN
-15.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.ClothModule.dll
Binary file not shown.
Binary file removed
BIN
-10 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.ClusterInputModule.dll
Binary file not shown.
Binary file removed
BIN
-9 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.ClusterRendererModule.dll
Binary file not shown.
Binary file removed
BIN
-9.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.CrashReportingModule.dll
Binary file not shown.
Binary file removed
BIN
-17.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.DSPGraphModule.dll
Binary file not shown.
Binary file removed
BIN
-13 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.DirectorModule.dll
Binary file not shown.
Binary file removed
BIN
-26.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.GameCenterModule.dll
Binary file not shown.
Binary file removed
BIN
-13.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.GridModule.dll
Binary file not shown.
Binary file removed
BIN
-153 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.IMGUIModule.dll
Binary file not shown.
Binary file removed
BIN
-12.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.ImageConversionModule.dll
Binary file not shown.
Binary file removed
BIN
-25 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.InputLegacyModule.dll
Binary file not shown.
Binary file removed
BIN
-12 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.InputModule.dll
Binary file not shown.
Binary file removed
BIN
-10.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.JSONSerializeModule.dll
Binary file not shown.
Binary file removed
BIN
-9.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.LocalizationModule.dll
Binary file not shown.
Binary file removed
BIN
-132 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.ParticleSystemModule.dll
Binary file not shown.
Binary file removed
BIN
-9 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.PerformanceReportingModule.dll
Binary file not shown.
Binary file removed
BIN
-104 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.Physics2DModule.dll
Binary file not shown.
Binary file removed
BIN
-85 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.PhysicsModule.dll
Binary file not shown.
Binary file removed
BIN
-9.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.ScreenCaptureModule.dll
Binary file not shown.
Binary file removed
BIN
-19 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.SharedInternalsModule.dll
Binary file not shown.
Binary file removed
BIN
-10 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.SpriteMaskModule.dll
Binary file not shown.
Binary file removed
BIN
-13.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.SpriteShapeModule.dll
Binary file not shown.
Binary file removed
BIN
-9.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.StreamingModule.dll
Binary file not shown.
Binary file removed
BIN
-16.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.SubsystemsModule.dll
Binary file not shown.
Binary file removed
BIN
-78.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.TerrainModule.dll
Binary file not shown.
Binary file removed
BIN
-9.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.TerrainPhysicsModule.dll
Binary file not shown.
Binary file removed
BIN
-180 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.TextCoreModule.dll
Binary file not shown.
Binary file removed
BIN
-27 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.TextRenderingModule.dll
Binary file not shown.
Binary file removed
BIN
-24.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.TilemapModule.dll
Binary file not shown.
Binary file removed
BIN
-709 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.UIElementsModule.dll
Binary file not shown.
Binary file removed
BIN
-22.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.UIModule.dll
Binary file not shown.
Binary file removed
BIN
-75.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.UNETModule.dll
Binary file not shown.
Binary file removed
BIN
-32 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.UnityAnalyticsModule.dll
Binary file not shown.
Binary file removed
BIN
-10.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.UnityConnectModule.dll
Binary file not shown.
Binary file removed
BIN
-11.5 KB
...Cuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.UnityWebRequestAssetBundleModule.dll
Binary file not shown.
Binary file removed
BIN
-11 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.UnityWebRequestAudioModule.dll
Binary file not shown.
Binary file removed
BIN
-42 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.UnityWebRequestModule.dll
Binary file not shown.
Binary file removed
BIN
-10.5 KB
...mateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.UnityWebRequestTextureModule.dll
Binary file not shown.
Binary file removed
BIN
-20 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.UnityWebRequestWWWModule.dll
Binary file not shown.
Binary file removed
BIN
-38 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.VFXModule.dll
Binary file not shown.
Binary file removed
BIN
-34 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.VRModule.dll
Binary file not shown.
Binary file removed
BIN
-12.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.VehiclesModule.dll
Binary file not shown.
Binary file removed
BIN
-28 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.VideoModule.dll
Binary file not shown.
Binary file removed
BIN
-9.5 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.WindModule.dll
Binary file not shown.
Binary file removed
BIN
-53 KB
UltimateCuffing-Exiled/UltimateCuffing/bin/Debug/UnityEngine.XRModule.dll
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-7.5 KB
...teCuffing-Exiled/UltimateCuffing/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Binary file not shown.
Empty file removed
0
UltimateCuffing-Exiled/UltimateCuffing/obj/Debug/UltimateCuffing.csproj.CopyComplete
Empty file.
1 change: 0 additions & 1 deletion
1
...teCuffing-Exiled/UltimateCuffing/obj/Debug/UltimateCuffing.csproj.CoreCompileInputs.cache
This file was deleted.
Oops, something went wrong.
75 changes: 0 additions & 75 deletions
75
UltimateCuffing-Exiled/UltimateCuffing/obj/Debug/UltimateCuffing.csproj.FileListAbsolute.txt
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-404 KB
...ateCuffing-Exiled/UltimateCuffing/obj/Debug/UltimateCuffing.csprojAssemblyReference.cache
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-29.5 KB
UltimateCuffing-Exiled/UltimateCuffing/obj/Debug/UltimateCuffing.pdb
Binary file not shown.