Commit Graph

377 Commits

Author SHA1 Message Date
Christian Koop
e379ae601d
Fixed typo 2021-10-30 23:45:22 +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
b4d1f4fc60
Implement first unit tests 2021-10-30 14:53:23 +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
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
Fernando Pettinelli
fb8d38f54b Version 2.5.12 2021-10-16 21:37:26 -03: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
Fernando Pettinelli
820b7ffbd3 Version 2.5.11 2021-09-30 13:03:36 -03: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
a601b86d68 Added Residence support. 2021-08-29 17:44:17 -04:00
Fernando Pettinelli
6951a7f4ad Merge remote-tracking branch 'origin/development' into development 2021-08-29 16:03:20 -04:00
Fernando Pettinelli
3ee798fe23 Add PIGLIN_BRUTE_SPAWN_EGG material. 2021-08-29 16:03:08 -04:00
Christian Koop
5921be70bb
Version 2.5.9 2021-08-29 15:49:06 +02:00
Christian Koop
2ed245389f
Allows respecting Unbreaking-Enchantment [SD-8182] 2021-08-29 15:49:06 +02:00
Christian Koop
03e2360a98
Updated logging to mostly use java.util.logging.Logger [SD-8645] 2021-08-29 13:49:01 +02:00
Christian Koop
c5569adc10
Change formatting a bit 2021-08-18 20:56:05 +02:00
ajgeiss0702
9f5daa2503
Don't try to change item meta when there is none 2021-08-06 20:40:56 -07:00
Christian Koop
60ceac5eb6 Version 2.5.8 2021-07-08 17:50:13 +02:00
Christian Koop
8eefbce68d Change dependency com.github.Zrips.Jobs version from LATEST to v4.17.2 2021-07-08 17:50:13 +02:00
Christian Koop
6dbf806e7d EditorConfig 2021-07-08 15:37:37 +02:00
Christian Koop
a73ed7908e Update pom.xml files and project structure
* Should fix IntelliJ sometimes not finding classes
* Should make things easier to understand and maintain
* Rename `LICENSE.md` to `LICENSE`
2021-07-08 15:37:37 +02:00
Christian Koop
f5bf5903c7
Dependency: Update mcMMO from v2.1.50 to v2.1.200
This fixes failing maven builds reporting a http repo being used and blocked - As only the patch version has been increased, there should be no problem related to this update (Core's only getting compiled against it's API anyway)
2021-07-06 13:15:17 +02:00
Fernando Pettinelli
e6398bca1f Version 2.5.7 2021-06-30 10:24:50 -04:00
Brianna
dddbc32459 version 2.5.6 2021-06-21 17:18:51 -05:00
Brianna
711125aa67 Added support for Worldborders in 1.17 2021-06-21 17:18:18 -05:00
Brianna
ebf0d06434 version 2.5.5 2021-06-13 18:08:18 -05:00
Brianna
c861aafe82 Added Lootables to SongodaCore. 2021-06-13 18:04:16 -05:00
Brianna
7430fcc34a version 2.5.4 2021-06-13 16:58:57 -05:00
Brianna
947e0d5b2d version 2.5.3 2021-06-13 13:23:29 -05:00
Brianna
76ea7f128f Ease of access. 2021-06-13 13:23:21 -05:00
Brianna
a608ac4cc7 version 2.5.2 2021-06-13 10:26:16 -05:00
Brianna
7c0ce2505c Use JDK 16 on the 1.17 module while using JDK 8 on everything else 2021-06-13 10:26:08 -05:00
Brianna
ff1c267de7 version 2.5.1 2021-06-13 10:10:46 -05:00
Brianna
b27d07dc47 version 2.5 2021-06-12 20:15:56 -05:00
dependabot[bot]
1ee756504a Bump snakeyaml from 1.25 to 1.26 in /Core
Bumps [snakeyaml](https://bitbucket.org/asomov/snakeyaml) from 1.25 to 1.26.
- [Commits](https://bitbucket.org/asomov/snakeyaml/branches/compare/snakeyaml-1.26..snakeyaml-1.25)

---
updated-dependencies:
- dependency-name: org.yaml:snakeyaml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-12 20:10:36 -05:00
Brianna
7ab0c4d106 1.17 Support 2021-06-12 20:04:20 -05:00
Brianna
3d415d6da6 Removed some illegal access reflection. 2021-06-09 12:33:53 -05:00
Brianna
e0bed2d80e Added WorldBorder support. 2021-06-01 16:14:23 -05:00
Brianna
4c4c80734c version 2.4.57 2021-06-01 12:13:43 -05:00
Brianna
ca4da1f748 Added String equation handler. 2021-06-01 12:13:39 -05:00
Brianna
462479d476 version 2.4.56 2021-05-27 17:16:49 -05:00
Brianna
07cb02a4ca Removed Songoda ads. Ugh. 2021-05-27 10:39:37 -05:00
Brianna
f2fb4bb65e version 2.4.55 2021-05-27 09:57:21 -05:00
Christian Koop
3d5ab04c79 CompatibleParticleHandler: Add support to send to a specific player 2021-05-27 09:56:20 -05:00
Brianna
1dd3f00978 Added WorldCore with some spawner functions. 2021-05-27 09:56:15 -05:00
Brianna
a818050daf Moved the compatibility API to its own module. 2021-05-27 09:56:04 -05:00
Brianna
07eb0d5710 Stacker plugin hook adjustment. 2021-05-27 09:55:55 -05:00
Brianna
853c6b2b40 version 2.4.54 2021-05-27 09:55:02 -05:00
Brianna
108ec6a2ed Allow updating holograms in bulk
This improves performance when using *HolographicDisplays* drastically on many holograms.

Plugins like *EpicAnchors* might need to manage and update a lot of holograms frequently, causing SongodaCore to fetch all the holograms from the external API (My test setup reduced the time needed to update from ~30ms to ~1ms)
2021-05-27 09:53:45 -05:00
Christian Koop
e218704d5b Fix bulk hologram update
Fixing a bug introduced in 1474980b63a9d4dd26bd84a5e433e585b54d51d5 causing some holograms to not update properly
2021-05-27 09:53:02 -05:00
Christian Koop
1db6c9bf79 Version 2.4.53 2021-05-27 09:52:08 -05:00
Christian Koop
dde2fd36c6 Allow updating holograms in bulk
This improves performance when using *HolographicDisplays* drastically on many holograms.

Plugins like *EpicAnchors* might need to manage and update a lot of holograms frequently, causing SongodaCore to fetch all the holograms from the external API (My test setup reduced the time needed to update from ~30ms to ~1ms)
2021-05-27 09:52:04 -05:00
Christian Koop
040eb14982 Fix NPE when using uppercase color chars in lang files (SD-7134) 2021-05-27 09:51:58 -05:00
Fernando Pettinelli
5b5bb17df9 Version 2.4.52 2021-04-15 12:19:12 -04:00
Fernando Pettinelli
17077dff78 Fix NoSuchMethodError on older versions. 2021-04-15 12:18:50 -04:00
Brianna
398d47c915 version 2.4.51 2021-04-12 13:03:52 -05:00
Fernando Pettinelli
9b9f0b9a52 Version 2.4.50 2021-04-11 15:20:47 -04:00
Christian Koop
f545dcc2d9
Fix charset not being detected correctly on UTF-8 files (SD-7843)
With this patch, the tested bytes are whole words/lines. This ensures that multi-byte characters (like in UTF-8) are not detected as malformed input and `ISO-8859-1` being detected because it just doesn't care about anything and replaces everything it doesn't know with something it does... Why no error? Would like to know that too :/

This *should* not be able to break existig files or plugins.
2021-04-06 18:46:56 +02:00
Christian Koop
21f8487988
Code cleanup and optimization
* I replaced some calls to the *Java Stream API*
* Using `new ArrayList<>()` instead of `new ArrayList()` because *SongodaCore* is compiled with Java 8
2021-04-06 18:46:56 +02:00
Brianna
bb7dbefb13 version 2.4.49 2021-04-05 13:49:27 -05:00
Brianna
e68909cddb Cleanup for PR. 2021-04-05 13:49:12 -05:00
Luis
e06be28709 Probably fix for build flag checks in WorldGuard? 2021-04-05 10:16:34 -05:00
Brianna
070dc30d7b version 2.4.48 2021-04-04 22:59:32 -05:00
Brianna
e264b3af65 Added Songoda+ ads. 2021-04-04 22:59:05 -05:00
Brianna
c47e864fa7 version 2.4.47 2021-02-25 11:47:21 -06:00
Brianna
2435d70236 Added quick access to the build flag. 2021-02-25 11:46:47 -06:00
Brianna
d77d723dc6 version 2.4.46 2021-02-22 09:50:36 -06:00
Brianna
6b9380fd50 Added compatibility with a 1.16.5 changed field name. 2021-02-22 09:50:22 -06:00
Brianna
fdbe0da191 version 2.4.45 2021-02-19 12:45:04 -06:00
Brianna
cca02a4777 Better compatibility support. 2021-02-19 12:43:59 -06:00
Brianna
f33b26c26e version 2.4.44 2021-02-08 11:24:27 -06:00
Brianna
5f6d736f72 Fixed CMI Holograms compatibility. 2021-02-08 11:24:18 -06:00
Brianna
c75048a0f0 Made the reset function more functional. 2021-02-07 09:51:54 -06:00
Fernando Pettinelli
b5eb651c59 Version 2.4.43 2021-02-07 09:51:35 -06:00
Fernando Pettinelli
917e62b4d7 Fixed BentoBox protection. 2021-02-07 09:51:31 -06:00
Fernando Pettinelli
99807da9c4 Version 2.4.42 2021-02-07 09:50:40 -06:00
Fernando Pettinelli
96249b1c2f Removed Towny protection hook. 2021-02-07 09:50:35 -06:00
Brianna
6374c7181c version 2.4.41 2021-01-22 07:59:34 -06:00
Brianna
3bbec08295 Allow the * value to work with numerical permissions. 2021-01-22 07:58:57 -06:00
Fernando Pettinelli
ba1e08d808 Version 2.4.40 2021-01-21 22:45:07 -03:00
Fernando Pettinelli
f6df166c5c Changed action type in Towny hook. 2021-01-21 21:51:45 -03:00
Brianna
5154324e78 version 2.4.39 2021-01-21 10:08:58 -06:00
Brianna
311a12d719 Destroy items with max durability. 2021-01-21 10:08:51 -06:00
Fernando Pettinelli
a4b7638c9e Version 2.4.38 2021-01-19 12:25:03 -06:00
Fernando Pettinelli
86bffc859c Added BentoBox protection support, and dodged an NPE in GriefPrevention. 2021-01-18 18:36:07 -03:00
Brianna
44673e3ed0 version 2.4.37 2021-01-15 10:45:47 -06:00
Brianna
c593a52791 Updated to no longer use the private repo. 2021-01-15 10:45:28 -06:00
Fernando Pettinelli
793581a853 Version 2.4.36 2021-01-14 17:21:37 -06:00
Fernando Pettinelli
1873b2f647 Added Towny protection, and fixed UltimateClaims and Lands NPEs. 2021-01-14 17:21:33 -06:00
Brianna
32dfc01a2a version 2.4.35 2021-01-14 11:58:41 -06:00
Brianna
c7218310c5 Added some crop methods. 2021-01-14 11:58:10 -06:00
Fernando Pettinelli
c7582778a5 Version 2.4.34 2021-01-13 20:57:38 -03:00
Fernando Pettinelli
98b63d5e0a Fixed small issue with UltimateClaims hook. 2021-01-13 20:56:39 -03:00