Commit graph

98 commits

Author SHA1 Message Date
0f2a295039
Created 1.18 R1 (plugin's native version) nms package.
Created 1.18 R1 handling of sending player abilities packet and tested on spigot.
Documented force_protocolib config.
2024-08-08 23:37:43 +02:00
7d20ea83c3
Create common nms module. 2024-08-07 23:20:04 +02:00
056892ee1e
Fix unit repair not increasing penalty and version up.
This was caused by previous fix fixing renaming increasing penalty.
2024-07-30 22:33:55 +02:00
904e7a769a
Fix anvil repair cost being increased for renaming. 2024-07-26 20:20:10 +02:00
f72d3622ca
Add use of color cost. 2024-07-26 20:20:09 +02:00
794a440d33
Add hexadecimal color support. 2024-07-26 16:06:39 +02:00
761f8ed4e8
Fix && being considered using color. 2024-07-26 15:30:34 +02:00
94941d1559
Correct logic for coloring using color code. 2024-07-26 15:25:31 +02:00
90344e635a
Fix not using the modified string. 2024-07-26 13:33:15 +02:00
b6853a6889
Fix mistake caused by string being imutable. 2024-07-26 13:29:07 +02:00
9744817c04
Fast build for color code support. 2024-07-26 13:25:12 +02:00
7a19632150
Add permission and config option in the config file. 2024-07-26 04:24:44 +02:00
e89fff951e
Add unit repair api. 2024-07-24 14:16:39 +02:00
03ae19e8a7
Fix reload command not executing the config event.
Also lazy loading of config guis.
2024-07-23 04:14:38 +02:00
5ed365b14d
Add DeletableResource and made every non default config a DeletableResource. 2024-07-23 03:01:57 +02:00
de5fa240a1
Add an api (#14)
This allows developers of custom enchantment plugins to be compatible or
use functionality of Custom Anvil.
2024-07-11 16:53:32 +02:00
b89a8951b7
Use Bulk operation object for bukkit and enchantment² enchants. 2024-07-11 16:23:53 +02:00
d3252eecbd
Add Bulk enchantment operation interface. 2024-07-11 16:23:53 +02:00
fc7e85529c
Write default config on enchant registering.
Fix Enchantment Squared group not adding element.
2024-07-10 23:29:33 +02:00
a5c647776c
Add event for external enchantment and config registering.
Fix startup.
2024-07-10 14:26:55 +02:00
365d0ea847
Dependency enchantment registering now use the api. 2024-07-09 21:21:10 +02:00
0da9d48ee9
Fix EcoEnchant enchantment disappearing on rename. 2024-07-08 19:32:00 +02:00
a4dda06602
Add default for eco enchant enchantments. 2024-06-23 22:13:55 +02:00
19806773a6
Partially implemented eco enchant compatibility. 2024-06-22 03:05:08 +02:00
3c60e157e4
Add comment and Finish test of conflict for CAEnchant. 2024-06-20 13:54:13 +02:00
dafe595c5b
Renamed WrappedEnchantment to CAEnchantment (CustomAnvilEnchantment).
created an interface out of CAEnchantment and moved the implementation to CAEnchantmentBase.
2024-06-20 13:09:27 +02:00
fa4752ea67
Rework the conflict system to be mostly handled by the enchantment. 2024-06-20 03:00:09 +02:00
fd1fb97174
Automatic Enchantment Squared configuration. 2024-06-18 17:09:55 +02:00
6553122819
Add permission check for Enchantment² enchantments. 2024-06-18 03:13:40 +02:00
fc033460b4
Use correct default. Also disable Enchantment Squared anvil listener. 2024-06-16 20:58:50 +02:00
88c4f0509b
Optimised Enchant Squared get and clean. 2024-06-16 19:58:24 +02:00
aa1f3a446e
Add enchant squared wrapper.
Fix dependency not being load before enchantment registering.
2024-06-16 14:48:11 +02:00
aad9974baf
Rewriten how dependency is handled 2024-06-16 12:58:44 +02:00
c7fee98d44
Fixed strange issue related to item meta.
Added more verbose debug log.
2024-06-16 04:57:18 +02:00
1eac81aef6
Attempt to switch from Enchantment to WrapperEnchantment 2024-06-16 04:57:18 +02:00
9f74c2cfff
Implemented multiples methods for enchantment wrapper. 2024-06-16 03:46:30 +02:00
f261e3c795
Start the implementation of a custom wrapper for enchantment.
This will aim to allow to implement support for custom implementation of enchantment
2024-06-16 02:25:51 +02:00
b8bcf09df7
Fix enchant cost not updating for 1.16.5 2024-06-15 00:09:29 +02:00
97bf57b8aa
Remove custom metric 2024-06-14 19:18:50 +02:00
a9c65dfddc
Add support for 1.21 2024-06-14 19:14:46 +02:00
6d3cd32705
Fix issue with init of main config gui. 2024-06-14 15:38:34 +02:00
f576654685
Fix issue on anvilconfigreload before loading main config gui. 2024-06-07 14:45:24 +02:00
bd47f9d81b
Fix unit repair max price being off by 1 2024-06-05 13:36:01 +02:00
49d8ba304d
Fix unit repair not being capped.
Also fix wrong range in lore.
2024-05-28 23:10:37 +02:00
78e77df071
Small range adjusment:
- set min value of max anvil cost to 0
- set max value for most config by 1000
2024-05-28 22:31:57 +02:00
0906bac103
Fix some settings
- Fix some settings text
- Max level now work as max level outside the cap
- Remove cost limit now lock max cost and cap cost.
- Move order of some factory arguments
2024-05-23 17:31:57 +02:00
f684e15c5b
Replace "to expensive" as config option.
- Added "replace_to_expensive" option and its usage.
- Changed "limit_repair_value" range
- Moved order of some field to make sens between code and config
2024-05-20 18:53:21 +02:00
de51617059
Add XP cost display above 40.
Need ProtocoLib installed.
2024-05-20 18:49:44 +02:00
adaba63d5e
Fixed issue about level in fusing.
when fusing item with enchant above level limit there was some strange uncapped cases.
Also fix a typo.
2024-04-28 04:24:11 +02:00
32b535efda
Better system for handling 1.20.5 sweeping edge. 2024-04-28 04:02:03 +02:00