Skip to content
Permalink
Browse files

Plugin Updates

- Added some checks/validation
- Updated to work with latest rocket
  • Loading branch information...
M0RG4N01 committed Jul 17, 2019
1 parent d433166 commit ad202488b69b71d4f7d350f7fe21fafb792ef044
@@ -50,9 +50,9 @@ public List<string> Permissions

public void Execute(IRocketPlayer caller, string[] command)
{
if (command.Length == 1)
player2 = UnturnedPlayer.FromName(command[0]);
if (player2 != null)
{
player2 = UnturnedPlayer.FromName(command[0]);
if (player2.GodMode == true)
{
UnturnedChat.Say(player2.CharacterName + " Has godmode enabled");
@@ -62,6 +62,11 @@ public void Execute(IRocketPlayer caller, string[] command)
UnturnedChat.Say(player2.CharacterName + " Has godmode disabled");
}
}
else
{
UnturnedChat.Say("You may not have entered a player's name correctly or they are not in the server!");
UnturnedChat.Say("Correct usage: /isgod PLAYERNAME");
}
}
}
}
@@ -50,9 +50,10 @@ public List<string> Permissions

public void Execute(IRocketPlayer caller, string[] command)
{
if (command.Length == 1)

player2 = UnturnedPlayer.FromName(command[0]);
if (player2 != null)
{
player2 = UnturnedPlayer.FromName(command[0]);
if (player2.VanishMode == true)
{
UnturnedChat.Say(player2.CharacterName + " Has vanish enabled");
@@ -62,6 +63,10 @@ public void Execute(IRocketPlayer caller, string[] command)
UnturnedChat.Say(player2.CharacterName + " Has vanish disabled");
}
}
else
{
UnturnedChat.Say("You may not have entered a player's name correctly or they are not in the server! \nCorrect usage: /isvanish PLAYERNAME");
}

}
}
@@ -47,7 +47,7 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>lib\Rocket.Core.dll</HintPath>
</Reference>
<Reference Include="Rocket.Unturned, Version=4.9.3.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="Rocket.Unturned, Version=4.9.8.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>lib\Rocket.Unturned.dll</HintPath>
</Reference>
@@ -61,8 +61,7 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>lib\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<Reference Include="UnityEngine.CoreModule">
<HintPath>lib\UnityEngine.CoreModule.dll</HintPath>
</Reference>
</ItemGroup>
@@ -81,4 +80,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
Binary file not shown.
BIN +1.72 MB (200%) bin/Debug/Assembly-CSharp.dll
Binary file not shown.
BIN +512 Bytes (110%) bin/Debug/IsAbusing.dll
Binary file not shown.
BIN +0 Bytes (100%) bin/Debug/IsAbusing.pdb
Binary file not shown.
BIN +512 Bytes (100%) bin/Debug/Rocket.API.dll
Binary file not shown.
BIN +8 KB (110%) bin/Debug/Rocket.Core.dll
Binary file not shown.
BIN +8.5 KB (110%) bin/Debug/Rocket.Unturned.dll
Binary file not shown.
Binary file not shown.
BIN -1.01 MB (5.3%) bin/Debug/UnityEngine.dll
Binary file not shown.
Binary file not shown.
BIN +25.5 KB (100%) bin/Release/Assembly-CSharp.dll
Binary file not shown.
BIN +512 Bytes (110%) bin/Release/IsAbusing.dll
Binary file not shown.
BIN +0 Bytes (100%) bin/Release/IsAbusing.pdb
Binary file not shown.
Binary file not shown.
BIN +0 Bytes (100%) bin/Release/UnityEngine.dll
Binary file not shown.
Binary file not shown.
BIN +25.5 KB (100%) lib/Assembly-CSharp.dll
Binary file not shown.
BIN +0 Bytes (100%) lib/UnityEngine.CoreModule.dll
Binary file not shown.
BIN +0 Bytes (100%) lib/UnityEngine.dll
Binary file not shown.
Binary file not shown.
No changes.
@@ -0,0 +1 @@
4da85fa9307407c10faa6e917e2a2f973aed1602
@@ -15,3 +15,22 @@ c:\users\alex\documents\visual studio 2015\Projects\IsAbusing\IsAbusing\bin\Debu
c:\users\alex\documents\visual studio 2015\Projects\IsAbusing\IsAbusing\obj\Debug\IsAbusing.csprojResolveAssemblyReference.cache
c:\users\alex\documents\visual studio 2015\Projects\IsAbusing\IsAbusing\obj\Debug\IsAbusing.dll
c:\users\alex\documents\visual studio 2015\Projects\IsAbusing\IsAbusing\obj\Debug\IsAbusing.pdb
E:\Development\IsAbusing\bin\Debug\IsAbusing.dll
E:\Development\IsAbusing\bin\Debug\IsAbusing.pdb
E:\Development\IsAbusing\bin\Debug\Assembly-CSharp-firstpass.dll
E:\Development\IsAbusing\bin\Debug\Assembly-CSharp.dll
E:\Development\IsAbusing\bin\Debug\Rocket.API.dll
E:\Development\IsAbusing\bin\Debug\Rocket.Core.dll
E:\Development\IsAbusing\bin\Debug\Rocket.Unturned.dll
E:\Development\IsAbusing\bin\Debug\UnityEngine.CoreModule.dll
E:\Development\IsAbusing\bin\Debug\UnityEngine.dll
E:\Development\IsAbusing\bin\Debug\Pathfinding.JsonFx.dll
E:\Development\IsAbusing\bin\Debug\Pathfinding.Ionic.Zip.Reduced.dll
E:\Development\IsAbusing\bin\Debug\Pathfinding.ClipperLib.dll
E:\Development\IsAbusing\bin\Debug\Pathfinding.Poly2Tri.dll
E:\Development\IsAbusing\bin\Debug\UnityEngine.CrashLog.dll
E:\Development\IsAbusing\obj\Debug\IsAbusing.csprojAssemblyReference.cache
E:\Development\IsAbusing\obj\Debug\IsAbusing.csproj.CoreCompileInputs.cache
E:\Development\IsAbusing\obj\Debug\IsAbusing.csproj.CopyComplete
E:\Development\IsAbusing\obj\Debug\IsAbusing.dll
E:\Development\IsAbusing\obj\Debug\IsAbusing.pdb
Binary file not shown.
BIN +512 Bytes (110%) obj/Debug/IsAbusing.dll
Binary file not shown.
BIN +0 Bytes (100%) obj/Debug/IsAbusing.pdb
Binary file not shown.
No changes.
@@ -0,0 +1 @@
704dd581d670d3d7020fa0dd4c1db7dd4d2aecf8
@@ -27,3 +27,22 @@ D:\Gereksizler\GitHub\IsAbusing\bin\Release\Rocket.Core.dll
D:\Gereksizler\GitHub\IsAbusing\bin\Release\Rocket.Unturned.dll
D:\Gereksizler\GitHub\IsAbusing\bin\Release\UnityEngine.CoreModule.dll
D:\Gereksizler\GitHub\IsAbusing\bin\Release\UnityEngine.dll
E:\Development\IsAbusing\bin\Release\IsAbusing.dll
E:\Development\IsAbusing\bin\Release\IsAbusing.pdb
E:\Development\IsAbusing\bin\Release\Assembly-CSharp-firstpass.dll
E:\Development\IsAbusing\bin\Release\Assembly-CSharp.dll
E:\Development\IsAbusing\bin\Release\Rocket.API.dll
E:\Development\IsAbusing\bin\Release\Rocket.Core.dll
E:\Development\IsAbusing\bin\Release\Rocket.Unturned.dll
E:\Development\IsAbusing\bin\Release\UnityEngine.CoreModule.dll
E:\Development\IsAbusing\bin\Release\UnityEngine.dll
E:\Development\IsAbusing\bin\Release\Pathfinding.JsonFx.dll
E:\Development\IsAbusing\bin\Release\Pathfinding.Ionic.Zip.Reduced.dll
E:\Development\IsAbusing\bin\Release\Pathfinding.ClipperLib.dll
E:\Development\IsAbusing\bin\Release\Pathfinding.Poly2Tri.dll
E:\Development\IsAbusing\bin\Release\UnityEngine.CrashLog.dll
E:\Development\IsAbusing\obj\Release\IsAbusing.csprojAssemblyReference.cache
E:\Development\IsAbusing\obj\Release\IsAbusing.csproj.CoreCompileInputs.cache
E:\Development\IsAbusing\obj\Release\IsAbusing.csproj.CopyComplete
E:\Development\IsAbusing\obj\Release\IsAbusing.dll
E:\Development\IsAbusing\obj\Release\IsAbusing.pdb
Binary file not shown.
BIN +512 Bytes (110%) obj/Release/IsAbusing.dll
Binary file not shown.
BIN +0 Bytes (100%) obj/Release/IsAbusing.pdb
Binary file not shown.

0 comments on commit ad20248

Please sign in to comment.
You can’t perform that action at this time.