Commit Graph

1364 Commits

Author SHA1 Message Date
Christian Koop
874ecf63b2
feat!: delete v1_21_0 sub module
Spigot 1.21.0 can no longer be built and points to 1.21.1
1.21.0 should not be used anyways, as 1.21.1 contains a security fix.

This workaround is no longer supported and needed in my eyes.
2024-09-06 11:37:21 +02:00
Christian Koop
597796b3fd
reafactor: delete unnecessary class files from NMS/NMS-v1_21_0 submodule 2024-09-06 11:28:19 +02:00
Christian Koop
fb1b3197a2
build: fix misconfigured submodule NMS/NMS-v1_21_0 2024-09-06 11:27:37 +02:00
Christian Koop
cb25ddd7a1
Release v3.4.0-SNAPSHOT 2024-09-06 11:01:20 +02:00
Christian Koop
549f625509
Merge branch 'master' into development 2024-09-06 10:59:35 +02:00
Christian Koop
897e76771e
refactor: Replace reflections for GameProfile in ItemUtils with Nms 2024-09-06 10:59:05 +02:00
Christian Koop
704059d817
feat!: Remove ItemUtils#applyRandomEnchants method
Use `NmsItem#copyAndApplyRandomEnchantment` instead
2024-09-06 10:59:05 +02:00
Christian Koop
488490de18
feat: re-implement ItemUtils#applyRandomEnchants in NMS submodules
With this the implementation is more stable between version
and easier to maintain.
2024-09-06 10:59:04 +02:00
Christian Koop
9d7abf77c0
Delete .github/dependabot.yml 2024-09-01 14:17:36 +02:00
ceze88
265e5864c9 Add method to allow Number and Boolean types for placeholders 2024-08-26 19:53:41 +02:00
ceze88
0f2aff788f Only accept Strings for placeholder replacement to prevent toString issues on non convertable objects 2024-08-26 19:46:11 +02:00
ceze88
e4d46d1a4b Revert "Make legacz placeholders optional"
This reverts commit f100e3cd20.
2024-08-21 13:30:02 +02:00
ceze88
f100e3cd20 Make legacz placeholders optional 2024-08-21 13:21:23 +02:00
ceze88
3fc3c74d30 Fix AnvilGui support on 1.21 2024-08-21 12:54:34 +02:00
ceze88
2fbdf10627 Add option to set placeholder prefix and suffix 2024-08-21 11:28:19 +02:00
ceze88
d2766ca7c7 Add appendItemLore to AdventureUtils 2024-08-21 11:26:47 +02:00
Christian Koop
bbeb958931
fix: IllegalArgumentExepction in v1_21_R1's AnvilView in MC 1.21.1
The variable type got more specific it seems
2024-08-17 16:59:08 +02:00
Christian Koop
3dcf402269
chore(deps): Upgrade XSeries dependency for better MC 1.21.1 support 2024-08-17 16:53:23 +02:00
Christian Koop
2a8d30aefa
Release v3.3.0-SNAPSHOT 2024-08-11 10:45:11 +02:00
Christian Koop
bcc35c7f64
chore(deps): update item-nbt-api to v2.13.2 for Spigot 1.21.1 support 2024-08-11 10:45:11 +02:00
Christian Koop
97a9e5f6e8
feat: Compile v1_21_R1 nms module with Spigot 1.21.1 for compatibility 2024-08-11 10:39:45 +02:00
ceze88
91a92bc10b Merge branch 'development' of https://github.com/craftaro/SongodaCore into development 2024-07-22 15:33:59 +02:00
Christian Koop
4cd0c02aea
Release v3.2.0-SNAPSHOT 2024-07-19 19:36:57 +02:00
Christian Koop
d91c675bb7
feat: introduce new SkullItemCreator class for use instead of XSkull
If the XSkull class changes again, we only have to update the Core's implementation.
The #byPlayer method also handles offline mode servers
better than XSkull which essentially just fails right now
2024-07-19 19:15:19 +02:00
Christian Koop
9aad7f63f3
feat: Add NMSPlayer#getProfile(Player) method to get the GameProfile 2024-07-19 19:14:07 +02:00
Christian Koop
157150a2f1
feat: introduce MajorServerVersion class based on old ServerVersion class
FSB has too many usages of the ServerVersion class and
I don't feel like updating 50+ or 100+ or whatever uses of it.
It takes too much brain time for me to re-think the version constraints
2024-07-19 19:12:35 +02:00
Christian Koop
54494c8ad9
fix!: remove dependance on update.songoda.com which is not available
This also gets rid of auto-download of different locale files
as the services providing them finally stopped working.
2024-07-19 17:35:36 +02:00
Christian Koop
27115b20e8
fix: Fix NullpointerException when MarketplaceUrl is null in OverviewGUI 2024-07-19 17:34:23 +02:00
ceze88
4e4b1529ab Fix placeholder value is not parsed for colors 2024-07-16 17:29:36 +02:00
ceze88
9b7e65992a Add generic return type methods 2024-07-13 14:22:35 +02:00
ceze88
c3cd6baf49 Merge branch 'development' of https://github.com/craftaro/SongodaCore into development 2024-07-10 19:05:48 +02:00
ceze88
2fda84aad9 Add Adventure Component support for GUIs 2024-07-10 19:05:46 +02:00
Christian Koop
127a50ca83
Merge pull request #110 from TeamHRLive/development
Replacing server version checks for 1.8
2024-07-10 14:22:03 +02:00
TeamHRLive
926b5cbcf7 [Fixed] Error due to Particles in 1.8.8 2024-07-09 18:42:46 +05:30
ceze88
363ff47b34 Add placeholder prefix and suffix 2024-07-08 18:54:47 +02:00
ceze88
4ba9254913 Better placeholder replacing 2024-07-08 18:26:42 +02:00
ceze88
3a43b55e70 Fix 1.8 compatibility 2024-07-08 17:40:26 +02:00
Christian Koop
d431fdb708
chore(deps): update XSeries to v11.2.0 2024-07-08 09:18:10 +02:00
ceze88
0b57aaff21 Fix version check 2024-07-03 15:39:12 +02:00
ceze88
65e03a58ae Fix chat messages become blank for players 2024-07-02 16:56:02 +02:00
ceze88
af9e071ad8 Fix missing V1_20_6 server version enum 2024-07-02 15:49:18 +02:00
ceze88
c72f416f9b Fix CMILib dependency 2024-07-02 15:49:10 +02:00
Christian Koop
2bcaee34aa
fix: do not write to the locale file if nothing changed when updating it
Something in that mess of a code the charset gets lost or something
and breaks special characters like `prefix: '&f'`

So we just don't save the changes for now if nothing changed ^^
The system where locales are currently fetched for
merging with the existing one is abandoned anyway,
so I don't think there are any changes that would be merged
2024-06-26 23:41:04 +02:00
Christian Koop
dcc71e7ba9
fix: update XSeries version in SongodaPlugin class to be same as pom.xml 2024-06-22 19:45:14 +02:00
Christian Koop
64e28e7905
build: use manually uploaded artifact for CMI-API 2024-06-22 19:08:13 +02:00
ceze88
f05ca97af3 Add all versions of minecraft to ServerVersion 2024-06-22 15:53:54 +02:00
Christian Koop
4be282c3a6
Release v3.1.0-SNAPSHOT 2024-06-22 13:10:51 +02:00
Christian Koop
02dc18c50d
chore!: remove deprecated NBTItem implementations 2024-06-21 21:27:51 +02:00
Christian Koop
8db3aa109d
feat: add nms submodule for Minecraft 1.21 support 2024-06-21 21:27:51 +02:00
Christian Koop
7b4819875b
chore(deps): update nbt-injector from v2.12.4 to v2.13.0 2024-06-21 21:05:42 +02:00