Skip to content
Permalink
Browse files

Libs and Release

  • Loading branch information...
Alexr03 committed Oct 7, 2016
1 parent 21eecc0 commit a49d41e2d8c0568df0ede0381e1416018d0fb1ff
Showing with 67,365 additions and 14,567 deletions.
  1. +2 −2 CommandIsGod.cs
  2. +2 −2 CommandIsVanish.cs
  3. +23 −21 IsAbusing.cs
  4. +1 −1 IsAbusingConfiguration.cs
  5. BIN bin/Debug/Assembly-CSharp-firstpass.dll
  6. BIN bin/Debug/IsAbusing.dll
  7. BIN bin/Debug/IsAbusing.pdb
  8. BIN bin/Debug/IsAbusing.zip
  9. BIN bin/Debug/UnityEngine.dll
  10. +20,873 −14,541 bin/Debug/UnityEngine.xml
  11. BIN bin/Release/Assembly-CSharp-firstpass.dll
  12. BIN bin/Release/Assembly-CSharp.dll
  13. BIN bin/Release/IsAbusing.dll
  14. BIN bin/Release/IsAbusing.pdb
  15. BIN bin/Release/Pathfinding.ClipperLib.dll
  16. BIN bin/Release/Pathfinding.Ionic.Zip.Reduced.dll
  17. BIN bin/Release/Pathfinding.JsonFx.dll
  18. BIN bin/Release/Pathfinding.Poly2Tri.dll
  19. BIN bin/Release/Rocket.API.dll
  20. BIN bin/Release/Rocket.Core.dll
  21. BIN bin/Release/Rocket.Unturned.dll
  22. BIN bin/Release/UnityEngine.CrashLog.dll
  23. BIN bin/Release/UnityEngine.dll
  24. +46,447 −0 bin/Release/UnityEngine.xml
  25. BIN lib/Assembly-CSharp-firstpass.dll
  26. BIN lib/Assembly-CSharp.dll
  27. BIN lib/Rocket.API.dll
  28. BIN lib/Rocket.Core.dll
  29. BIN lib/Rocket.Unturned.dll
  30. BIN lib/UnityEngine.dll
  31. BIN obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  32. BIN obj/Debug/IsAbusing.csprojResolveAssemblyReference.cache
  33. BIN obj/Debug/IsAbusing.dll
  34. BIN obj/Debug/IsAbusing.pdb
  35. BIN obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
  36. +17 −0 obj/Release/IsAbusing.csproj.FileListAbsolute.txt
  37. BIN obj/Release/IsAbusing.csprojResolveAssemblyReference.cache
  38. BIN obj/Release/IsAbusing.dll
  39. BIN obj/Release/IsAbusing.pdb
  40. 0 obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
  41. 0 obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
  42. 0 obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
@@ -56,11 +56,11 @@ public void Execute(IRocketPlayer caller, string[] command)
player2 = UnturnedPlayer.FromName(command[0]);
if (player2.GodMode == true)
{
UnturnedChat.Say(player2.CharacterName + "Has godmode enabled");
UnturnedChat.Say(player2.CharacterName + " Has godmode enabled");
}
else
{
UnturnedChat.Say(player2.CharacterName + "Has godmode disabled");
UnturnedChat.Say(player2.CharacterName + " Has godmode disabled");
}
}
}
@@ -56,11 +56,11 @@ public void Execute(IRocketPlayer caller, string[] command)
player2 = UnturnedPlayer.FromName(command[0]);
if (player2.VanishMode == true)
{
UnturnedChat.Say(player2.CharacterName + "Has vanish enabled");
UnturnedChat.Say(player2.CharacterName + " Has vanish enabled");
}
else
{
UnturnedChat.Say(player2.CharacterName + "Has vanish disabled");
UnturnedChat.Say(player2.CharacterName + " Has vanish disabled");
}
}

@@ -13,6 +13,7 @@
using Rocket.Unturned.Chat;
using Rocket.Core.Logging;
using System.IO;
using Rocket.Unturned.Commands;

namespace IsAbusing
{
@@ -28,12 +29,11 @@ protected override void Load()
{
Instance = this;
Rocket.Unturned.Events.UnturnedPlayerEvents.OnPlayerDeath += onplayerdeath;
Rocket.Core.Logging.Logger.Log("IsAbusing has loaded!");

Logger.Log("FUCKING LOCATION >> " + directory);

if (File.Exists(directory + "/Admin-Abuse.txt)"))
if (File.Exists(directory + "/Admin-Abuse.txt"))
{

Rocket.Core.Logging.Logger.Log(directory + "/Admin-Abuse.txt Already exists, loopholing...");
}
else
{
@@ -44,6 +44,7 @@ protected override void Load()
protected override void Unload()
{
Rocket.Unturned.Events.UnturnedPlayerEvents.OnPlayerDeath -= onplayerdeath;
Rocket.Core.Logging.Logger.Log("IsAbusing has unloaded!");
}

private void FixedUpdate()
@@ -65,35 +66,36 @@ private void onplayerdeath(UnturnedPlayer player, EDeathCause cause, ELimb limb,
murderer3 = UnturnedPlayer.FromCSteamID(murderer);
if (Configuration.Instance.ShowInChat == true)
{
try {
if (murderer3.GodMode == true)
{
UnturnedChat.Say(player.CharacterName + " Died by a player in godmode ABUSER: " + murderer3.CharacterName, UnturnedChat.GetColorFromName(Configuration.Instance.Color, Color.green));
if (cause == EDeathCause.SENTRY) { }
try
{
if (murderer3.GodMode == true)
{
UnturnedChat.Say(player.CharacterName + " Died by a player in godmode ABUSER: " + murderer3.CharacterName, UnturnedChat.GetColorFromName(Configuration.Instance.Color, Color.green));

using (StreamWriter w = File.AppendText(directory + "/Admin-Abuse.txt"))
{
w.WriteLine(player.CharacterName + " Died by a abusive admin! ABUSER: " + murderer3.CharacterName + " Steam64ID: " + murderer3.CSteamID + "\n)");
w.WriteLine(player.CharacterName + " Died by a abusive admin! ABUSER: " + murderer3.CharacterName + " Steam64ID: " + murderer3.CSteamID + w.NewLine);
w.Close();
}

}
else
{
Logger.Log(player.CharacterName + " Died by a player not in godmode");
}
else
{
Rocket.Core.Logging.Logger.Log(player.CharacterName + " Died by a player not in godmode");
}
catch (Exception e)
}
catch (Exception e)
{
if (Configuration.Instance.debug == true)
{
if (Configuration.Instance.debug == true)
{
Logger.LogException(e);
}
Rocket.Core.Logging.Logger.LogException(e);
}
}
}
else
{
Logger.Log("Chat is disabled to show messages.");
Rocket.Core.Logging.Logger.Log("Chat is disabled to show messages.");
}
}
}
}
}
@@ -13,7 +13,7 @@ public class IsAbusingConfiguration : IRocketPluginConfiguration
public bool ShowInChat;
public string Color;

public void LoadDefaults()
public void LoadDefaults()
{
debug = false;
ShowInChat = true;
Binary file not shown.
BIN +0 Bytes (100%) bin/Debug/IsAbusing.dll
Binary file not shown.
BIN +0 Bytes (100%) bin/Debug/IsAbusing.pdb
Binary file not shown.
BIN +47 Bytes (100%) bin/Debug/IsAbusing.zip
Binary file not shown.
BIN +259 KB (130%) bin/Debug/UnityEngine.dll
Binary file not shown.

0 comments on commit a49d41e

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