Christian Koop
7ff7a46bf5
Implement NMS stuff for Minecraft 1.18
2021-12-02 16:33:24 +01:00
Christian Koop
5da52ca60e
Update dependency spigot-api
to 1.18
2021-12-02 16:33:24 +01:00
Christian Koop
4335022c3e
CompatibleSound: Minor code cleanup
...
The whole class needs some work and should probably be used similar to `CompatibleMaterial`
2021-12-02 16:33:24 +01:00
Christian Koop
e1db9b11cd
GitHub Actions: Run static code analysis with Java 17
2021-12-02 16:33:24 +01:00
Christian Koop
f8d218ff3d
CompatibleMaterial: Adds missing materials to some property methods
...
For `#isFuel`, `#isItem`, and `#isInteractable`
2021-12-02 16:33:24 +01:00
Christian Koop
7d255685ed
ServerProject and ServerVersion: Adds support for BukkitMock
2021-12-02 16:32:48 +01:00
Christian Koop
d64dfbf5c6
Add unit tests for CompatibleMaterial
...
This especially eases adding support for new Minecraft versions
2021-12-02 16:32:48 +01:00
Christian Koop
01e171ff44
GitHub Actions: Compile the project with Java 17
...
Minecraft 1.18 will require Java 17 to run
2021-11-21 19:51:46 +01:00
Christian Koop
cfdebcba56
Merge branch 'development'
2021-11-01 22:32:48 +01:00
Christian Koop
fd2809f982
Version 2.5.14
2021-11-01 22:30:51 +01:00
Christian Koop
6453c7b6f6
Recode BlockUtils#updateAdjacentComparators
to work in older versions
...
The old implementation relied on methods that were only available in newer versions - This should be more future proof
2021-11-01 22:27:12 +01:00
Christian Koop
bfe329c73b
Adds CraftMagicNumbers
to the class mappings
2021-11-01 22:24:46 +01:00
Christian Koop
7c6817c470
Minor cleanup of #27
...
* Code style
* Method name and access modifier
* JavaDoc
2021-11-01 20:29:16 +01:00
Christian Koop
af9def96b3
Merge branch 'Exortions/SongodaCore:master' into development ( #27 )
2021-11-01 20:18:04 +01:00
Exortions
3aaed3bcde
Remove duplicate code
...
This commit removes the duplicate error message run when the plugin crashes and turns it into one method 'crash'. This method takes in a throwable, which will be printed once the error message is logged.
2021-11-01 11:23:42 -07:00
Christian Koop
e379ae601d
Fixed typo
2021-10-30 23:45:22 +02:00
Christian Koop
779d5a27e5
Uses *JaCoCo* to generate coverage reports
...
This can additionally be used by SonarCloud for its coverage report/visualization
2021-10-30 16:17:19 +02:00
Christian Koop
783400d9a9
Adds SonarCloud (static analysis tool)
2021-10-30 15:22:23 +02:00
Christian Koop
ba7054c1e7
Fix failing test cases
...
The disabled test cases have been written without looking at the implementation - But it looks like the implementation is faulty and needs a patch.
We'll take a look at a later time and decide about backwards compatibility etc.
2021-10-30 15:19:53 +02:00
Christian Koop
cbee2ed45e
Merge branch 'code-cleanup-and-unit-tests' into development
2021-10-30 14:54:25 +02:00
Christian Koop
b4d1f4fc60
Implement first unit tests
2021-10-30 14:53:23 +02:00
Christian Koop
afb53ba3a0
Add dependencies for unit tests
2021-10-30 14:53:23 +02:00
Christian Koop
0712730ca6
Updates dependency org.jetbrains:annotations
from 13.0 to 22.0.0
2021-10-30 14:27:51 +02:00
Christian Koop
93fbc6463f
General code cleanup [DEV-2]
...
Hopefully no breaking changes
2021-10-30 14:10:57 +02:00
Christian Koop
97feaf3b9c
Removes @author
and @since
from class comments
...
These kind of information can easily be found in git/on GitHub
2021-10-30 14:10:22 +02:00
Christian Koop
39bdd862fb
Apply new code style [DEV-2]
2021-10-30 14:10:22 +02:00
Christian Koop
92f42e6261
Update EditorConfig [DEV-2]
2021-10-30 14:10:22 +02:00
Christian Koop
a23224dbe2
ClientVersion: Fixes default version trying to return the server version
2021-10-30 14:09:45 +02:00
Christian Koop
04bc2145a1
ClientVersion: Adds 1.17.1 protocol version
2021-10-30 14:09:08 +02:00
Christian Koop
ae767011d9
Merge branch 'development'
2021-10-27 19:52:02 +02:00
Christian Koop
749c3a9a28
Version 2.5.13
2021-10-27 19:51:54 +02:00
Christian Koop
aa587361ed
Version 2.5.13-SNAPSHOT
2021-10-26 23:05:54 +02:00
Christian Koop
6a858c9c30
DataManagerAbstract: Add single threaded task queue (experimental)
...
We had some reports about server outright crashing because EpicFurnaces (maybe others too) because there are too many async tasks queue at once. Every async task scheduled to spigot (as of 1.17) creates a new thread
This should help a bit and the `FIXME` has to be taken care of when more time is at hand... The whole data storing stuff is just bad which shows as soon as servers (or the plugin use e.g. many furnaces) get bigger... (am a bit annoyed 🤷 )
2021-10-26 23:05:37 +02:00
Christian Koop
0bdb0af890
Merge branch 'development'
2021-10-26 21:19:53 +02:00
Christian Koop
e528f51388
Replace dependency viaversion-bukkit
with latest viaversion-api
2021-10-26 21:19:05 +02:00
Fernando Pettinelli
fb8d38f54b
Version 2.5.12
2021-10-16 21:37:26 -03:00
Fernando Pettinelli
56b945edf6
Add cave spider translation.
2021-10-16 21:28:32 -03:00
Christian Koop
ac1239ad9b
Adds some additional repos trying to fight missing dependencies
...
Maybe some stuff moved to another URL, got their own repo now, or whatever, but this fixes failing builds locally (Hopefully helps with GitHub Actions too)
2021-10-02 22:11:55 +02:00
Christian Koop
9605ac5ded
Prevents #getRandomPlayer from throwing an Exception on 0 online players
2021-10-02 14:58:14 +02:00
Christian Koop
ce72ab7291
Fix numbers being formatted wrong on some machines [DEV-5]
...
My system is configured to use German causing the method to use the wrong decimal seperator for the given format
2021-10-02 11:27:18 +02:00
Christian Koop
5255dbf701
Disables Dependabot for now
2021-10-02 09:44:32 +02:00
Fernando Pettinelli
904a6cb22c
Merge remote-tracking branch 'origin/master'
2021-09-30 13:11:40 -03:00
Fernando Pettinelli
e2b8f61385
Merge branch 'development'
...
# Conflicts:
# Compatibility/pom.xml
# Core/pom.xml
# Core/src/main/java/com/songoda/core/SongodaCore.java
# NMS/NMS-API/pom.xml
# NMS/NMS-v1_10_R1/pom.xml
# NMS/NMS-v1_11_R1/pom.xml
# NMS/NMS-v1_12_R1/pom.xml
# NMS/NMS-v1_13_R1/pom.xml
# NMS/NMS-v1_13_R2/pom.xml
# NMS/NMS-v1_14_R1/pom.xml
# NMS/NMS-v1_15_R1/pom.xml
# NMS/NMS-v1_16_R1/pom.xml
# NMS/NMS-v1_16_R2/pom.xml
# NMS/NMS-v1_16_R3/pom.xml
# NMS/NMS-v1_17_R1/pom.xml
# NMS/NMS-v1_8_R1/pom.xml
# NMS/NMS-v1_8_R2/pom.xml
# NMS/NMS-v1_8_R3/pom.xml
# NMS/NMS-v1_9_R1/pom.xml
# NMS/NMS-v1_9_R2/pom.xml
# pom.xml
2021-09-30 13:11:16 -03:00
Fernando Pettinelli
820b7ffbd3
Version 2.5.11
2021-09-30 13:03:36 -03:00
Fernando Pettinelli
133388ea87
Adds raw ores to the getBurnResult method, add isBrewingStandIngredient.
2021-09-30 13:02:12 -03:00
Christian Koop
183d56c488
Update .github/FUNDING.yml
(Adds Songoda+ page)
2021-09-25 21:22:52 +02:00
Christian Koop
c3caf391cd
Update .gitignore
2021-09-25 21:21:01 +02:00
divios
c0a2bc8cc5
Added asyncFuture
...
Added a method to run a task async but return a CompletableFuture. Useful if you want the task to be asynchronous but also wait for it to finish and concatenate another task or more functionalities with the CompletableFuture API
2021-09-12 11:08:08 +02:00
Christian Koop
799bf30651
Version 2.5.10
2021-08-30 21:53:47 +02:00
Fernando Pettinelli
0cd5f9071b
Merge branch 'development'
2021-08-29 17:44:49 -04:00