Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
[PUSH] 3.1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Taurenkey committed Oct 15, 2023
1 parent b502e20 commit f6d72fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion XIVSlothCombo/XIVSlothCombo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
using XIVSlothCombo.Window.Tabs;
using ECommons;
using Dalamud.Plugin.Services;
using System.Reflection;
using ECommons.DalamudServices;

namespace XIVSlothCombo
{
Expand Down Expand Up @@ -112,6 +114,7 @@ private static void ResetFeatures()
Service.Configuration.ResetFeatures("v3.0.18.0_GNBCleanup", Enumerable.Range(7000, 700).ToArray());
Service.Configuration.ResetFeatures("v3.0.18.0_PvPCleanup", Enumerable.Range(80000, 11000).ToArray());
Service.Configuration.ResetFeatures("v3.0.18.1_PLDRework", Enumerable.Range(11000, 100).ToArray());
Service.Configuration.ResetFeatures("v3.1.0.1_BLMRework", Enumerable.Range(2000, 100).ToArray());
}

private void DrawUI() => configWindow.Draw();
Expand All @@ -128,14 +131,15 @@ private void PrintMotD()
{
try
{
string basicMessage = $"Welcome to XIVSlothCombo v{this.GetType().Assembly.GetName().Version}!";
using HttpResponseMessage? motd = httpClient.GetAsync("https://raw.githubusercontent.com/Nik-Potokar/XIVSlothCombo/main/res/motd.txt").Result;
motd.EnsureSuccessStatusCode();
string? data = motd.Content.ReadAsStringAsync().Result;
List<Payload>? payloads = new()
{
starterMotd,
EmphasisItalicPayload.ItalicsOn,
new TextPayload(data.Trim()),
string.IsNullOrEmpty(data) ? new TextPayload(basicMessage) : new TextPayload(data.Trim()),
EmphasisItalicPayload.ItalicsOff
};

Expand Down
2 changes: 1 addition & 1 deletion XIVSlothCombo/XIVSlothCombo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup>
<Authors>Team Sloth</Authors>
<Company>-</Company>
<Version>3.1.0.0</Version>
<Version>3.1.0.1</Version>
<!-- This is the version that will be used when pushing to the repo.-->
<Description>XIVCombo for lazy players</Description>
<Copyright>Copyleft attick 2021 thanks attick UwU</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion res/motd.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Welcome to XIVSlothCombo v3.1.0.0!
Please enjoy our new BLM rework!

0 comments on commit f6d72fc

Please sign in to comment.