Commit Graph

629 Commits

Author SHA1 Message Date
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
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
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
3dcf402269
chore(deps): Upgrade XSeries dependency for better MC 1.21.1 support 2024-08-17 16:53:23 +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
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
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
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
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
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
02dc18c50d
chore!: remove deprecated NBTItem implementations 2024-06-21 21:27:51 +02:00
ceze88
ed1f103131 Fix reflection issues 2024-05-26 19:45:48 +02:00
ceze88
03b6c3d554 Shade adventure stuff to avoid strange loading issues on 1.20.5+ paper servers 2024-05-26 15:56:40 +02:00
ceze88
c7d452d659 Add missing lib 2024-05-25 22:25:23 +02:00
ceze88
a064f76a9a Add missing serializer 2024-05-25 18:10:09 +02:00
ceze88
4fdb895b3b Fix NPE 2024-05-25 17:10:03 +02:00
ceze88
39d02dcda1 Update dependency loader versions 2024-05-13 19:13:50 +02:00
ceze88
7ade7030d7 Use Adventure api to send messages instead of reflections 2024-05-13 19:13:39 +02:00
Christian Koop
3feccc65b2
chore(deps): Update XSeries to v10.0.0 for better 1.20.6 compatibility 2024-05-11 15:29:17 +02:00
Christian Koop
7cbd105519
chore(deps): Update dependency versions in SongodaPlugin
These versions should be identical to the ones in the pom.xml files.
I recently merged a couple of dependabot pull requests.
2024-05-09 21:37:20 +02:00
Christian Koop
41dbafea69
test: Don't use Apache lang3 NotImplementedException in mock
No need to rely on external library exceptions in a mock for tests
2024-05-01 23:59:24 +02:00
Christian Koop
dd08670fc2
Revert "chore(build): Resolve versioning race condition by commenting StackerAPI"
This reverts commit e47d8aa530.
2024-05-01 12:23:19 +02:00
Christian Koop
e47d8aa530
chore(build): Resolve versioning race condition by commenting StackerAPI
UltimateStacker pipelines are broken because they want Core v3.0.6-SNAPSHOT.
Core pipelines (including v3.0.6-SNAPSHOT) are broken because they need the API changes from UltimateStacker.
2024-05-01 11:04:23 +02:00
ceze88
b44504efed Add option to customize delay and period 2024-04-15 14:09:34 +02:00
Christian Koop
d955cc9059
feat!: Updates mcMMO to v2.2.004 and drop support for v2.1-ish
The `RandomChanceUtil` class got deleted and I don't see anything `SkillActivationType` related.
The mcMMO changelog and the commit deleting the class doesn't help me answear the question,
whether that is important or not.

Users will have to update their mcMMO installation - But I think we don't want to support any non-supported
version of all the hooked plugins anyway
2024-04-06 19:32:27 +02:00
ceze88
99e5bfeeba Update UltimateStacker API 2024-04-06 13:08:24 +02:00
Brianna O'Keefe
e96e946b28 Head type util 2024-04-05 22:38:12 -05:00
Christian Koop
6a0a8203dc
fix: DiagCommand's compatibility with Paper builds without CB relocation 2024-03-29 15:28:41 +01:00
Christian Koop
3591bfe1a4
hotfix: Copy over old normalization logic for Hologram hooks for ceze 2024-03-28 10:49:42 +01:00
Brianna O'Keefe
7fccbc7f2a Updated to work with the latest version of WildStacker. 2024-03-27 13:12:30 -05:00
Christian Koop
f0d8aaffc7
chore!: Delete deprecated NmsManager class
Acording to the GitHub search this class is still used in some projects but there was enough
time to switch over to the Nms class + it's very easy to upgrade the usages to the new Nms class
2024-03-26 22:33:40 +01:00
Christian Koop
dce7adf81f
refactor: Refactors a couple of classes by applying our code style 2024-03-26 22:32:40 +01:00