Skip to content

Commit

Permalink
Fix AssemblyName and UpdateVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
louis1706 committed Dec 24, 2023
1 parent 2b38bc5 commit f48db84
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 23 deletions.
4 changes: 2 additions & 2 deletions AdminTools/AdminTools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\References\Assembly-CSharp-firstpass.dll</HintPath>
<HintPath>$(EXILED_REFERENCES)\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="Mirror, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>$(EXILED_REFERENCES)\Mirror.dll</HintPath>
Expand Down Expand Up @@ -118,7 +118,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="EXILED">
<Version>8.4.3</Version>
<Version>8.5.0-beta.1</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
2 changes: 1 addition & 1 deletion AdminTools/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class Config : IConfig

public bool Debug { get; set; }

[Description("Should the tutorial class be in God Mode? Default: true")]
[Description("Should the tutorial class be in God Mode? Default: false")]
public bool GodTuts { get; set; } = false;
}
}
36 changes: 19 additions & 17 deletions AdminTools/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ public class Main : Plugin<Config>
public override string Author { get; } = "Exiled-Team";
public override string Name { get; } = "Admin Tools";
public override string Prefix { get; } = "AT";
public override Version RequiredExiledVersion { get; } = new(8, 4, 3);
public override Version Version { get; } = new(7, 1, 0);

public EventHandlers EventHandlers;
public override Version RequiredExiledVersion { get; } = new(8, 5, 0);

public EventHandlers EventHandlers;
public static System.Random NumGen = new();
public static List<Jailed> JailedPlayers = new();
public static Dictionary<Player, InstantKillComponent> IkHubs = new();
Expand Down Expand Up @@ -50,22 +52,22 @@ public override void OnEnabled()

OverwatchFilePath = overwatchFileName;
HiddenTagsFilePath = hiddenTagFileName;
}
catch (Exception e)
{
Log.Error($"Loading error: {e}");
}

EventHandlers = new EventHandlers(this);
Handlers.Player.Verified += EventHandlers.OnPlayerVerified;
Handlers.Server.RoundEnded += EventHandlers.OnRoundEnd;
Handlers.Player.TriggeringTesla += EventHandlers.OnTriggerTesla;
Handlers.Player.ChangingRole += EventHandlers.OnSetClass;
Handlers.Server.WaitingForPlayers += EventHandlers.OnWaitingForPlayers;
Handlers.Player.InteractingDoor += EventHandlers.OnDoorOpen;
Handlers.Server.RoundStarted += EventHandlers.OnRoundStart;
Handlers.Player.Destroying += EventHandlers.OnPlayerDestroyed;
Handlers.Player.InteractingDoor += EventHandlers.OnPlayerInteractingDoor;
}
catch (Exception e)
{
Log.Error($"Loading error: {e}");
}
EventHandlers = new EventHandlers(this);
Handlers.Player.Verified += EventHandlers.OnPlayerVerified;
Handlers.Server.RoundEnded += EventHandlers.OnRoundEnd;
Handlers.Player.TriggeringTesla += EventHandlers.OnTriggerTesla;
Handlers.Player.ChangingRole += EventHandlers.OnSetClass;
Handlers.Server.WaitingForPlayers += EventHandlers.OnWaitingForPlayers;
Handlers.Player.InteractingDoor += EventHandlers.OnDoorOpen;
Handlers.Server.RoundStarted += EventHandlers.OnRoundStart;
Handlers.Player.Destroying += EventHandlers.OnPlayerDestroyed;
Handlers.Player.InteractingDoor += EventHandlers.OnPlayerInteractingDoor;
}

public override void OnDisabled()
Expand Down
6 changes: 3 additions & 3 deletions AdminTools/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[assembly: AssemblyTitle("AdminTools")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCompany("Exiled-Team")]
[assembly: AssemblyProduct("AdminTools")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyTrademark("")]
Expand All @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("6.0.0.0")]
[assembly: AssemblyFileVersion("6.0.0.0")]
[assembly: AssemblyVersion("7.1.0.0")]
[assembly: AssemblyFileVersion("7.1.0.0")]

0 comments on commit f48db84

Please sign in to comment.