Skip to content

Commit d9859eb

Browse files
authored
Merge pull request #66 from BentoBoxWorld/develop
Release 2.1.0
2 parents d1fbf6f + d18a496 commit d9859eb

File tree

14 files changed

+2978
-1300
lines changed

14 files changed

+2978
-1300
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ jobs:
1111
name: Build
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
with:
1616
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
17-
- name: Set up JDK 17
18-
uses: actions/setup-java@v2
17+
- name: Set up JDK 21
18+
uses: actions/setup-java@v3
1919
with:
2020
distribution: 'adopt'
21-
java-version: 17
21+
java-version: 21
2222
- name: Cache SonarCloud packages
23-
uses: actions/cache@v2
23+
uses: actions/cache@v3
2424
with:
2525
path: ~/.sonar/cache
2626
key: ${{ runner.os }}-sonar
2727
restore-keys: ${{ runner.os }}-sonar
2828
- name: Cache Maven packages
29-
uses: actions/cache@v2
29+
uses: actions/cache@v3
3030
with:
3131
path: ~/.m2
3232
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

README.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,56 @@
11
# SkyGrid
2-
Game Mode Add-on for BentoBox the provides a SkyGrid experience
2+
Welcome to the SkyGrid for Minecraft! This game introduces a unique and challenging gameplay experience where you find yourself navigating a grid of floating blocks high in the sky. Your goal is to survive, gather resources, and conquer the SkyGrid!
3+
4+
This is a Game Mode Add-on that uses the BentoBox library plugin.
5+
6+
<img src="https://github.com/BentoBoxWorld/SkyGrid/assets/4407265/d350349a-ff46-4f1e-9900-4690bae41fac" width="200" height="200">
7+
8+
## Features
9+
10+
- **Challenging Gameplay**: SkyGrid presents a challenging environment where you must carefully navigate from block to block to avoid falling.
11+
- **Randomized Grid**: Each player will have a unique grid layout - a fresh and unpredictable experience every time.
12+
- **Limited Resources**: Resources are scarce, so you must strategize and prioritize what to gather and when to use them.
13+
- **Mobs and Dangers**: The SkyGrid is not empty. Beware of hostile mobs and other dangers that lurk in the grid!
14+
- **Multiplayer Support**: Enjoy the SkyGrid mini game with your friends; form a team or coop.
315

416
## Installation
517

18+
To play the SkyGrid mini game, follow these steps:
19+
620
1. Place the addon jar in the addons folder of the BentoBox plugin
721
2. Restart the server
822
3. The addon will create worlds and a data folder and inside the folder will be a config.yml
923
4. Stop the server
1024
5. Edit the config.yml how you want.
1125
6. Delete any worlds that were created by default.
1226
7. Restart the server
27+
9. Launch the game and type /sg to enjoy the SkyGrid!
28+
29+
## How to Play
30+
31+
The objective of the SkyGrid mini game is to survive and complete various challenges in the grid (install the Challenges addon to enable this). Here are some essential gameplay tips:
32+
33+
- **Avoid Falling**: Falling off the grid means certain death. Always be cautious when moving from block to block.
34+
- **Gather Resources**: Break blocks to collect resources such as wood, stone, and ores. Use these resources wisely to craft tools and equipment.
35+
- **Complete Challenges**: The SkyGrid mini game may have specific challenges to complete. Pay attention to your objectives and try to achieve them.
36+
- **Interact with Mobs**: Hostile mobs roam the grid. You can fight them for valuable loot or choose to avoid them altogether. There are also mob spawners that can be used to farm mobs.
37+
- **Use Your Skills**: Utilize your Minecraft skills to their fullest. Building, crafting, and combat will all play a significant role in your survival.
38+
39+
## Contributing
40+
41+
Contributions to the SkyGrid GitHub project are welcome! If you have ideas, bug fixes, or new features to propose, follow these steps:
42+
43+
1. Fork the repository on GitHub.
44+
2. Create a new branch with a descriptive name for your changes.
45+
3. Make your modifications and additions.
46+
4. Test your changes to ensure they work as intended.
47+
5. Commit your changes and push them to your forked repository.
48+
6. Submit a pull request to the main repository, explaining the purpose and details of your changes.
49+
50+
## License
51+
52+
The SkyGrid mini game is released under the [Eclipse Public License 2.0]([LICENSE](https://github.com/BentoBoxWorld/SkyGrid/blob/develop/LICENSE)). Feel free to modify and distribute the game, but remember to credit the original authors.
53+
54+
## Contact
1355

56+
If you have any questions, suggestions, bug reports, or feedback regarding the SkyGrid mini game, you can file them on [GitHub](https://github.com/BentoBoxWorld/SkyGrid/issues). We would love to hear from you!

pom.xml

Lines changed: 58 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@
5454
<properties>
5555
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5656
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
57-
<java.version>17</java.version>
57+
<java.version>21</java.version>
5858
<!-- Non-minecraft related dependencies -->
59-
<powermock.version>2.0.2</powermock.version>
59+
<powermock.version>2.0.9</powermock.version>
6060
<!-- More visible way how to change dependency versions -->
61-
<spigot.version>1.19.4-R0.1-SNAPSHOT</spigot.version>
62-
<bentobox.version>1.23.0</bentobox.version>
61+
<spigot.version>1.21-R0.1-SNAPSHOT</spigot.version>
62+
<bentobox.version>2.4.1-SNAPSHOT</bentobox.version>
6363
<!-- Revision variable removes warning about dynamic version -->
6464
<revision>${build.version}-SNAPSHOT</revision>
6565
<!-- Do not change unless you want different name for local builds. -->
6666
<build.number>-LOCAL</build.number>
6767
<!-- This allows to change between versions. -->
68-
<build.version>1.19.0</build.version>
68+
<build.version>2.1.0</build.version>
6969
<!-- SonarCloud -->
7070
<sonar.projectKey>BentoBoxWorld_SkyGrid</sonar.projectKey>
7171
<sonar.organization>bentobox-world</sonar.organization>
@@ -113,6 +113,14 @@
113113
</properties>
114114
</profile>
115115
</profiles>
116+
117+
<pluginRepositories>
118+
<pluginRepository>
119+
<id>apache.snapshots</id>
120+
<url>https://repository.apache.org/snapshots/</url>
121+
</pluginRepository>
122+
</pluginRepositories>
123+
116124

117125
<repositories>
118126
<repository>
@@ -145,7 +153,7 @@
145153
<dependency>
146154
<groupId>org.mockito</groupId>
147155
<artifactId>mockito-core</artifactId>
148-
<version>3.0.0</version>
156+
<version>3.11.1</version>
149157
<scope>test</scope>
150158
</dependency>
151159
<dependency>
@@ -219,45 +227,74 @@
219227
<plugin>
220228
<groupId>org.apache.maven.plugins</groupId>
221229
<artifactId>maven-resources-plugin</artifactId>
222-
<version>3.1.0</version>
230+
<version>3.2.0</version>
223231
<configuration>
224232
<nonFilteredFileExtensions>
225-
<nonFilteredFileExtension>schem</nonFilteredFileExtension>
233+
<nonFilteredFileExtension>blu</nonFilteredFileExtension>
226234
</nonFilteredFileExtensions>
227235
</configuration>
228236
</plugin>
229237
<plugin>
230238
<groupId>org.apache.maven.plugins</groupId>
231239
<artifactId>maven-compiler-plugin</artifactId>
232-
<version>3.7.0</version>
240+
<version>3.8.1</version>
233241
<configuration>
234242
<release>${java.version}</release>
235243
</configuration>
236244
</plugin>
237245
<plugin>
238246
<groupId>org.apache.maven.plugins</groupId>
239247
<artifactId>maven-surefire-plugin</artifactId>
240-
<version>2.22.0</version>
248+
<version>3.0.0-M5</version>
249+
<configuration>
250+
<argLine>
251+
${argLine}
252+
--add-opens java.base/java.lang=ALL-UNNAMED
253+
--add-opens java.base/java.math=ALL-UNNAMED
254+
--add-opens java.base/java.io=ALL-UNNAMED
255+
--add-opens java.base/java.util=ALL-UNNAMED
256+
--add-opens
257+
java.base/java.util.stream=ALL-UNNAMED
258+
--add-opens java.base/java.text=ALL-UNNAMED
259+
--add-opens
260+
java.base/java.util.regex=ALL-UNNAMED
261+
--add-opens
262+
java.base/java.nio.channels.spi=ALL-UNNAMED
263+
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
264+
--add-opens java.base/java.net=ALL-UNNAMED
265+
--add-opens
266+
java.base/java.util.concurrent=ALL-UNNAMED
267+
--add-opens java.base/sun.nio.fs=ALL-UNNAMED
268+
--add-opens java.base/sun.nio.cs=ALL-UNNAMED
269+
--add-opens java.base/java.nio.file=ALL-UNNAMED
270+
--add-opens
271+
java.base/java.nio.charset=ALL-UNNAMED
272+
--add-opens
273+
java.base/java.lang.reflect=ALL-UNNAMED
274+
--add-opens
275+
java.logging/java.util.logging=ALL-UNNAMED
276+
--add-opens java.base/java.lang.ref=ALL-UNNAMED
277+
--add-opens java.base/java.util.jar=ALL-UNNAMED
278+
--add-opens java.base/java.util.zip=ALL-UNNAMED
279+
</argLine>
280+
</configuration>
241281
</plugin>
242282
<plugin>
243283
<groupId>org.apache.maven.plugins</groupId>
244284
<artifactId>maven-jar-plugin</artifactId>
245-
<version>3.1.0</version>
285+
<version>3.2.0</version>
246286
</plugin>
247-
<plugin>
287+
<plugin>
248288
<groupId>org.apache.maven.plugins</groupId>
249289
<artifactId>maven-javadoc-plugin</artifactId>
250290
<version>3.3.0</version>
251291
<configuration>
252292
<failOnError>false</failOnError>
253293
<additionalJOption>-Xdoclint:none</additionalJOption>
254-
<!-- To compile with Java 11, this tag may be required -->
255-
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
256294
</configuration>
257295
<executions>
258296
<execution>
259297
<id>attach-javadocs</id>
260-
<phase>install</phase>
261298
<goals>
262299
<goal>jar</goal>
263300
</goals>
@@ -267,7 +304,7 @@
267304
<plugin>
268305
<groupId>org.apache.maven.plugins</groupId>
269306
<artifactId>maven-source-plugin</artifactId>
270-
<version>3.0.1</version>
307+
<version>3.2.1</version>
271308
<executions>
272309
<execution>
273310
<id>attach-sources</id>
@@ -280,23 +317,25 @@
280317
<plugin>
281318
<groupId>org.apache.maven.plugins</groupId>
282319
<artifactId>maven-install-plugin</artifactId>
283-
<version>2.5.2</version>
320+
<version>3.0.0-M1</version>
284321
</plugin>
285322
<plugin>
286323
<groupId>org.apache.maven.plugins</groupId>
287324
<artifactId>maven-deploy-plugin</artifactId>
288-
<version>2.8.2</version>
325+
<version>3.0.0-M1</version>
289326
</plugin>
290327
<plugin>
291328
<groupId>org.jacoco</groupId>
292329
<artifactId>jacoco-maven-plugin</artifactId>
293-
<version>0.8.3</version>
330+
<version>0.8.10</version>
294331
<configuration>
295332
<append>true</append>
296333
<excludes>
297334
<!-- This is required to prevent Jacoco from adding
298335
synthetic fields to a JavaBean class (causes errors in testing) -->
299336
<exclude>**/*Names*</exclude>
337+
<!-- Prevents the Material is too large to mock error -->
338+
<exclude>org/bukkit/Material*</exclude>
300339
</excludes>
301340
</configuration>
302341
<executions>

0 commit comments

Comments
 (0)