77 - ' v*'
88 pull_request :
99 branches : [ master, main ]
10- workflow_dispatch : # Allow manual trigger
10+ workflow_dispatch :
1111
1212jobs :
1313 build :
1616 steps :
1717 - name : Checkout code
1818 uses : actions/checkout@v4
19+ with :
20+ lfs : true
1921
2022 - name : Set up Java 25
2123 uses : actions/setup-java@v4
2426 distribution : ' temurin'
2527 cache : maven
2628
27- - name : Create lib directory
28- run : mkdir -p lib
29-
30- - name : Download HytaleServer.jar from secret URL
31- if : ${{ vars.HYTALE_SERVER_URL != '' }}
32- run : curl -L -o lib/HytaleServer.jar "${{ vars.HYTALE_SERVER_URL }}"
33-
34- - name : Check for HytaleServer.jar in lib folder
35- run : |
36- if [ ! -f lib/HytaleServer.jar ]; then
37- echo "ERROR: HytaleServer.jar not found!"
38- echo ""
39- echo "To fix this, do ONE of the following:"
40- echo "1. Add a repository variable HYTALE_SERVER_URL with a download link"
41- echo "2. Add lib/HytaleServer.jar to the repository"
42- echo ""
43- exit 1
44- fi
45- echo "Found HytaleServer.jar"
46-
4729 - name : Build with Maven
48- run : mvn clean package -Dhytale.server.path=${{ github.workspace }}/lib/HytaleServer.jar
30+ run : mvn clean package
4931
5032 - name : Upload artifact
5133 uses : actions/upload-artifact@v4
7153 id : version
7254 run : echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
7355
74- - name : Rename JAR to include version
75- run : |
76- cd dist
77- mv HomeEssentials-*.jar HomeEssentials-${{ steps.version.outputs.VERSION }}.jar
56+ - name : Rename JAR
57+ run : mv dist/HomeEssentials-*.jar dist/HomeEssentials-${{ steps.version.outputs.VERSION }}.jar
7858
7959 - name : Create Release
8060 uses : softprops/action-gh-release@v2
@@ -83,37 +63,17 @@ jobs:
8363 body : |
8464 ## HomeEssentials v${{ steps.version.outputs.VERSION }}
8565
86- A home management plugin for Hytale servers.
87-
8866 ### Installation
89- 1. Download `HomeEssentials-${{ steps.version.outputs.VERSION }}.jar` below
67+ 1. Download `HomeEssentials-${{ steps.version.outputs.VERSION }}.jar`
9068 2. Place in your Hytale server's `mods/` folder
9169 3. Restart the server
9270
93- ### Quick Setup
94- Run in server console:
71+ ### Setup
9572 ```
9673 perm group add default homes.use
9774 perm group add default homes.limit.1
9875 ```
9976
10077 ### Commands
101- | Command | Description |
102- |---------|-------------|
103- | `/sethome [name]` | Save your location |
104- | `/home [name]` | Teleport to home |
105- | `/homes` | List all homes |
106- | `/delhome <name>` | Delete a home |
107- | `/homehelp` | Show full help |
108-
109- ### Permissions
110- | Permission | Description |
111- |------------|-------------|
112- | `homes.use` | Basic access |
113- | `homes.limit.1` | 1 home (default) |
114- | `homes.limit.3` | 3 homes |
115- | `homes.limit.5` | 5 homes |
116- | `homes.limit.unlimited` | Unlimited |
117- files : ./dist/HomeEssentials-${{ steps.version.outputs.VERSION }}.jar
118- draft : false
119- prerelease : false
78+ `/sethome [name]` `/home [name]` `/homes` `/delhome <name>` `/homehelp`
79+ files : dist/HomeEssentials-${{ steps.version.outputs.VERSION }}.jar
0 commit comments