Skip to content

Commit

Permalink
feature: Eco 0.10.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdcdev committed Apr 27, 2024
1 parent 81cb66b commit 1fab741
Show file tree
Hide file tree
Showing 13 changed files with 38 additions and 38 deletions.
3 changes: 2 additions & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
## jcdcdev.Eco.Signs

![Eco Version](https://badgen.net/static/Eco/v0.10.3+/3a93b4)
![Eco Version](https://badgen.net/static/Eco/v0.10.2.1+/3a93b4)
[![Latest version on Github](https://badgen.net/github/tag/jcdcdev/jcdcdev.Eco.Signs?color=3a93b4&label=Mod)](https://github.com/jcdcdev/jcdcdev.Eco.Signs/releases/latest)

This mod extends the awesome Over9000SignPowerMod by adding patterns that I find useful on my server.

## Install Steps

- Download the latest version of this mod from [mod.io](https://mod.io/g/eco/m/jcdcdevecosigns)
- Download the latest version of `jcdcdev.Eco.Core` from [mod.io](https://mod.io/g/eco/m/jcdcdevecocore)
- Download the latest version of `Over9000SignPowerMod` from [mod.io](https://mod.io/g/eco/m/over9000signpowermod)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
env:
PROJECT_NAME: jcdcdev.Eco.Signs
PROJECT_PATH: ./src/jcdcdev.Eco.Signs.csproj
PROJECT_PATH: ./src/jcdcdev.Eco.Signs/jcdcdev.Eco.Signs.csproj
BUILD_OUTPUT: ./build-output
MOD_OUTPUT: ./build-assets/Mods/jcdcdev.Eco.Signs
ASSET_NAME: jcdcdev.Eco.Signs-dev-${{ github.sha }}
Expand All @@ -30,7 +30,7 @@ jobs:
with:
dotnet-version: 7.0.x
- name: Build project
run: dotnet build ${{ env.PROJECT_PATH }} -o ${{ env.MOD_OUTPUT }} --configuration Release
run: dotnet build ${{ env.PROJECT_PATH }} -o ${{ env.MOD_OUTPUT }} --configuration Release
- uses: vimtor/action-zip@v1
with:
files: ${{ env.ARTIFACT_OUTPUT }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
pull_request:
branches:
- main
types: [closed]
types: [ closed ]
workflow_dispatch:

jobs:
determine-version:
runs-on: ubuntu-latest
Expand All @@ -32,7 +32,7 @@ jobs:
SEMVER: ${{ needs.determine-version.outputs.semVer }}
ASSET_NAME: jcdcdev.Eco.Signs-${{ needs.determine-version.outputs.semVer }}
PROJECT_NAME: jcdcdev.Eco.Signs
PROJECT_PATH: ./src/jcdcdev.Eco.Signs.csproj
PROJECT_PATH: ./src/jcdcdev.Eco.Signs/jcdcdev.Eco.Signs.csproj
MOD_OUTPUT: ./build-assets/Mods/jcdcdev.Eco.Signs
ARTIFACT_OUTPUT: ./build-assets
outputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:
workflow_call:
repository_dispatch:
types: [sync-readme]
types: [ sync-readme ]
jobs:
sync_modio:
runs-on: ubuntu-latest
Expand Down
11 changes: 1 addition & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
Expand Down Expand Up @@ -74,12 +72,5 @@ crashlytics-build.properties
bin/
obj/
*/.idea/
/src/Client/Packages/
/src/Client/Library/
/src/Client/Temp
/src/Client/Logs/
/src/Client/AssetBundles/
**/.idea/
*.orig
/src/Client/Assets/Seed Storage/Icons/*.pdn*
/src/lib/
*.orig/src/lib/
16 changes: 0 additions & 16 deletions src/.editorconfig

This file was deleted.

25 changes: 25 additions & 0 deletions src/jcdcdev.Eco.Signs.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "jcdcdev.Eco.Signs", "jcdcdev.Eco.Signs\jcdcdev.Eco.Signs.csproj", "{27015631-EC1F-423C-9295-ED4792115151}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Files", "Files", "{7685A80B-4378-47E0-B2F4-F03A590C50AA}"
ProjectSection(SolutionItems) = preProject
..\.github\workflows\build.yml = ..\.github\workflows\build.yml
..\.github\workflows\release.yml = ..\.github\workflows\release.yml
..\.github\workflows\sync-readme.yml = ..\.github\workflows\sync-readme.yml
..\.github\README.md = ..\.github\README.md
..\.github\dependabot.yml = ..\.github\dependabot.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{27015631-EC1F-423C-9295-ED4792115151}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{27015631-EC1F-423C-9295-ED4792115151}.Debug|Any CPU.Build.0 = Debug|Any CPU
{27015631-EC1F-423C-9295-ED4792115151}.Release|Any CPU.ActiveCfg = Release|Any CPU
{27015631-EC1F-423C-9295-ED4792115151}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class OnlineCountSign : IOver9000SignPowerModPluginTag
public bool CanProcessed(WorldObject worldObject, User registrar) => true;

public string ProcessTag(Match match, int tagNum, WorldObject worldObject, User registrar) =>
UserManager.OnlineUsers.Count.ToString();
UserManager.Users.Count(x => x.IsOnline).ToString();

public string TagName => "onlineCount";
public bool Enabled => true;
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ElixrMods.Framework" Version="3.5.2" />
<PackageReference Include="jcdcdev.Eco.Core" Version="0.4.1" />
<PackageReference Include="jcdcdev.Eco.Core" Version="0.5.0"/>
</ItemGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<Version>$([System.DateTime]::UtcNow.ToString(`yyyy`).TrimStart(`0`)).$([System.DateTime]::UtcNow.ToString(`MM`).TrimStart(`0`))$([System.DateTime]::UtcNow.ToString(`dd`).TrimStart(`0`)).$([System.DateTime]::UtcNow.ToString(`Hmm`).TrimStart(`0`))</Version>
</PropertyGroup>

<ItemGroup>
<Reference Include="Over9000SignPowerMod">
<HintPath>lib\Over9000SignPowerMod.dll</HintPath>
Expand Down

0 comments on commit 1fab741

Please sign in to comment.