Commit Graph

87 Commits

Author SHA1 Message Date
xsmeths
fc0e3ef7c0 translate colors for editor menu items that were just created 2024-04-15 00:18:00 +01:00
xsmeths
2a74183821 remove a debug line 2024-04-15 00:09:42 +01:00
xsmeths
ea3445280e Correctly show voucher item names in editor main menu 2024-04-15 00:06:09 +01:00
xsmeths
5c29ac1850 fix editor command 2024-04-14 22:28:47 +01:00
Christian Koop
abb770ef65
fix: Replaces usage of depreacted CompatibleSound with XSound
The CompatibleSound class will be removed from the Core and this ensures compatibility with
new versions of the Core and newer Minecraft versions
2024-03-27 09:43:40 +01:00
Christian Koop
57746b195c
Removes now no-longer needed #getDependencies from plugin main class
The core now provides an implementation which returns an empty Set
2024-01-13 22:12:47 +01:00
ceze88
b65cea5fa4 Migrate to dynamic dependency loading 2024-01-11 16:13:13 +01:00
Christian Koop
b859303553
Move classes from package com.songoda to com.craftaro 2023-07-18 15:34:16 +02:00
Christian Koop
bdf5caec99
Modernize and clean up pom.xml and plugin.yml 2023-07-18 15:23:51 +02:00
Christian Koop
6b930d3e25
Migrate from SongodaCore to CraftaroCore v3.0.0-SNAPSHOT 2023-07-18 15:14:50 +02:00
Christian Koop
b63bd350c6
Heavy code style changes and slight refactoring 2023-07-18 15:04:03 +02:00
Christian Koop
4aee977bfa
Makes legacy item checks configurable and have it disabled by default
The legacy checks is causing big performance problems on bigger servers.
It will be removed in the future
2023-07-18 15:03:02 +02:00
Christian Koop
29097b90c0
Improves legacy item performance and refactors PlayerInteractListener
I think the CachedSet was used wrong. I tried refactoring the class and properly check and add
ItemStacks to it properly.
If the user reports back with performance issues still persisting... Honestly I'll just remove support
for legacy items in general. Server/Users had enought time to redeem them by now.

CachedSet is using a WeakHashMap which might actually make the whole Set useless but I didn't do any testing on that today
2023-07-18 15:03:02 +02:00
Christian Koop
bb45ef13d7
Replace deprecated NBTItem calls 2022-03-18 17:53:57 +01:00
Christian Koop
0a3bafb953
Removes color codes from logging 2022-03-18 17:50:26 +01:00
Christian Koop
55cf082a57
Fix TabComplete suggesting online player names instead of nothing 2021-07-12 16:13:45 +02:00
Christian Koop
a53dab9e18
Hotfix /ev editor not working with too many vouchers
It is not able to show all Vouchers if the limit is exceeded but at least it opens the inventory for now
2021-07-12 16:12:47 +02:00
Christian Koop
d7801dd64f
Hotfix async vouchers.yml write task as large files cause lag [SD-8155]
I've some a TODO/FIXME explaining what to do. Wanna focus on bringing the tickets down first
2021-07-12 16:09:21 +02:00
Christian Koop
8aa5173a60
Try improving performance on legacy InteractEvent checks [SD-8155] 2021-07-11 01:57:21 +02:00
Christian Koop
a943cc9389 Cleanup project 2021-07-11 01:56:36 +02:00
Brianna
8d1adcbd79 Support 1.17 2021-06-13 17:42:08 -05:00
Brianna
f0d44f1756 Fixed an issue with incompatible sounds. 2020-11-19 12:43:31 -06:00
Fernando Pettinelli
b9baeaf2e1 remove useless import 2020-09-23 10:57:38 -05:00
Fernando Pettinelli
1fbb35d0e1 minor changes so codacy is happy 2020-09-23 10:57:32 -05:00
Fernando Pettinelli
af6f67ff9c Changes the Anvil GUI for SongodaCore's ChatPrompt. Also moves the redeem logic from the interact listener to the voucher to avoid duplicate code.
Adds support for custom player textures. You can get them from https://minecraft-heads.com. Copying the value or the Minecraft URL value works.

Changes the checks for a voucher for a very simple NBT check. Should also fix the random lore issue not working.
2020-09-23 10:57:27 -05:00
Brianna
7ffdb3d937 Unbreakable in 1.8 using the new SongodaCore NBT API. 2020-04-26 17:37:56 -04:00
Annie
0fe9d18401 Update en_US.lang, fixed missing apostrophe 2020-04-21 12:38:00 -04:00
Brianna
ac7ac899b7 Check for the vouchers file before saving it. 2020-04-11 07:44:04 -04:00
Brianna
7941f12bb0 Update language files. 2020-02-01 06:56:33 -05:00
Brianna
ecd8b99a88 1.15 2019-12-27 23:53:29 -05:00
Brianna
823b41ca1a Play voucher sounds only for the redeeming player. 2019-10-22 13:37:06 -04:00
Brianna
07b518ecdf Removed case sensitive voucher ids. 2019-10-12 19:07:25 -04:00
Brianna
e553c48099 Removed useless old save system. 2019-10-11 16:14:02 -04:00
Brianna
3470a75ea7 There was no save system???? Also added proper voucher management. 2019-10-11 15:56:08 -04:00
Brianna
03af751c1a Actually load the vouchers config. 2019-10-11 14:52:26 -04:00
Brianna
864b209c70 Init gui manager. 2019-10-09 12:08:24 -04:00
Brianna
24fb1545ca Added core functionality. 2019-10-09 11:24:42 -04:00
Lilac
85f758c1b3 Fixed some vouchers not working & added delay commands 2019-10-06 16:00:24 +01:00
Lilac
5b080fb669 Fixed vouchers not working with a white name 2019-09-21 21:59:41 +01:00
theone1000
80674df028 Optimization in base case and removal of final keyword 2019-09-17 01:54:10 -06:00
theone1000
bfa3c17292 Optimized CoolDownManager.java 2019-09-16 21:36:40 -06:00
theone1000
c1b57454b9 Made the classes (ForceRedeem, VoucherReceive, VoucherRedeem) follow the contract provided by Event properly 2019-09-16 20:43:21 -06:00
theone1000
f27a76a583 Optimized 2019-09-16 18:52:11 -06:00
theone1000
32f4479a09 Changed to match reload() method 2019-09-16 18:48:56 -06:00
Brianna
454d1b1e83 Just in case. 2019-08-21 10:19:11 -04:00
Brianna
0cec21b367 npe 2019-08-21 10:15:47 -04:00
Vrontis
cfc03a4790 Fix placeholders not being replaced (processPlaceholders already adds %%) 2019-08-11 21:04:05 +00:00
jascotty2
b177e9b095 optimize voucher check + only check permissions for valid voucher items 2019-08-09 11:03:23 -05:00
Brianna
b899db2790 fix 2019-07-25 16:30:58 -04:00
Brianna
a72c7ecae9 Merge remote-tracking branch 'origin/development' into development 2019-07-25 16:21:19 -04:00