You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/en/guides/plugin/setting-up-env.mdx
+29-3Lines changed: 29 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,9 +52,9 @@ We recommend IntelliJ IDEA Community Edition for Hytale modding.
52
52
53
53
### 3. Maven
54
54
55
-
1. Visit the official website: https://maven.apache.org/download.cgi
55
+
1. Visit the official website: https://maven.apache.org/download.cgi
56
56
2. Download this file: `apache-maven-3.9.12-bin.zip` (Binary zip archive)
57
-
3. Unzip it
57
+
3. Unzip it
58
58
4. Add the `apache-maven-3.9.12/bin/` folder to your PATH
59
59
60
60
You can now try the command `mvn -version` to verify Maven is installed correctly. Make sure to do this in a fresh new terminal instead of one you had opened from before!
@@ -104,6 +104,32 @@ mvn install:install-file -Dfile=[ROUTE TO HytaleServer.jar] -DgroupId=com.hypixe
104
104
105
105
Replace `[ROUTE TO HytaleServer.jar]` with the actual path to the `HytaleServer.jar` file on your system.
106
106
107
+
<Callouttype="warning">
108
+
If you are using Powershell you may stumble accross the following error:
109
+
```
110
+
[INFO] --------------------------------[ jar ]---------------------------------
This has something to do with how powershell struggles with the parameters when they are not wrapped inside strings. To solve this issue just wrap every parameter with `"`.
127
+
128
+
```bash
129
+
mvn install:install-file -Dfile="[ROUTE TO HytaleServer.jar]" -DgroupId="com.hypixel.hytale" -DartifactId="HytaleServer-parent" -Dversion="1.0-SNAPSHOT" -Dpackaging="jar"
130
+
```
131
+
</Callout>
132
+
107
133
## Next Steps
108
134
109
135
Now that you have your development environment set up with the plugin template:
@@ -116,4 +142,4 @@ Learn how to:
116
142
-[Create Commands](./creating-commands)
117
143
-[Create Events](./creating-events)
118
144
119
-
and more! Explore the documentation to learn about all available features and best practices.
145
+
and more! Explore the documentation to learn about all available features and best practices.
0 commit comments