2cb053e0ca
Add work type config gui
...
also add custom recipe use type
also fix increase not working for rename
2025-02-12 13:48:24 +01:00
b6d2c63b86
new work penalty
...
also removed old penalty config gui
2025-02-11 13:12:53 +01:00
ea19ffc4a1
create AnvilUseType enum
2025-02-11 11:31:39 +01:00
33474c379a
v1.7.1 ( #48 )
...
Fix getting cost for color renaming causing null pointer exception when
inventory name is null (Fix #47 )
Add safety when executing dependency handling code
2025-01-25 02:13:05 +01:00
5f557e3d49
v1.7.0 ( #45 )
...
Some changes for this version:
- Tried to make compatible with some legacy version of eco enchant (not assumed to work)
- Fix some enchantment test from other plugin not being taken into account.
Should work as expected now, but that mean it may not work as currently.
- Made Heaven bag works
- Updated Disenchantment, should work with disenchantment version >= 6.1.0. But break support for previous versions
2025-01-20 18:20:46 +01:00
4147f018a9
v1.6.13 ( #42 )
...
Make some legacy version of excellent enchantment work with custom anvil
2024-12-14 01:35:32 +01:00
fa042411ae
1.6.12 ( #41 )
...
Fix an important bug related to XP cost:
- sometimes XP cost limit is not respected.
2024-12-10 14:23:09 +01:00
70767aefd2
1.21.4 nms ( #39 )
...
Add support to disable too expensive for 1.21.4
2024-12-03 20:01:12 +01:00
ed58c9c107
Add some testing ( #38 )
2024-11-18 07:29:51 +01:00
798d6806ff
Add forgoten return on conflicting enchantment on same level
2024-11-05 18:33:16 +01:00
5e098c5118
Fix level buypass not buypassing merge limit
2024-11-05 01:44:04 +01:00
e231f0ad7b
Add nms for 1.21.2 & 1.21.3
...
updated nms for 1.21R1
version up to 1.6.7
2024-10-26 16:25:42 +02:00
36e26d762d
Do not check conflict if player can bypass & log it
2024-10-25 15:24:23 +02:00
c0af35fa0b
Fix enchantments avoiding custom anvil rules when an ExcellentEnchants enchantment is present. fix #36
...
Also version up
2024-10-18 17:43:33 +02:00
13b7e73d8c
Excellent enchants compatibility ( #34 )
...
Add compatibility with
[ExcellentEnchants](https://www.spigotmc.org/resources/excellentenchants-%E2%AD%90-75-vanilla-like-enchantments.61693/ )
2024-10-15 08:27:26 +02:00
7c283dc7f8
Splitted main logic to be more readable
2024-10-15 06:46:05 +02:00
7029254526
Improve registry and config ( #33 )
...
Use namespace instead of name to identify enchantments
2024-10-04 22:57:09 +02:00
a00bb919f4
Add merge level limit ( #32 )
...
Add merge level limit (aka "max before merge" or "disable merge over")
2024-10-04 16:55:55 +02:00
a915d5ad80
Compatibility with most plugin using wesjd anvil gui
2024-09-22 20:12:56 +02:00
f4f467f6fe
Fix 1.21 config being wrong:
...
fix 1.21 config updater and automatically repair previously broken config version:
- Allow 1.21 enchantment in enchantment book
- Add unit repair of mace with breeze rod
Also version up
2024-09-18 12:46:11 +02:00
cfe0faf456
Automaticly add default value when value is absent
2024-09-13 14:31:59 +02:00
3bdb0ce536
Moved "isFolia" to main module to avoid error on java version under 1.21
...
Also moved folia scheduler to another nms module allowing support of folia 1.20.4
2024-09-13 14:08:29 +02:00
1ec4bc27f2
dissalow use of gui and add warning for folia.
2024-09-13 12:53:33 +02:00
80aeb165cc
Add basic folia support
2024-09-13 12:53:27 +02:00
3f0b432e1a
Prepared for disenchantment v5.4.0 ( #28 )
...
Disenchantment updated to 5.4.0
2024-09-13 12:48:57 +02:00
ce01702cea
Add work type option for config gui.
...
Removed some useless function for setting guis.
fix work penalty increase_only not working.
2024-09-01 16:47:40 +02:00
519ab1853c
Add work penalty type
2024-08-31 15:09:52 +02:00
bf1956e01f
Prepare for disenchantment v1.4.0
2024-08-25 21:54:20 +02:00
92dcfd87cf
Moved some other function to the new util.
2024-08-21 03:41:07 +02:00
aa860bdbf0
Override Disenchantment xp.
...
This allows to use Custom Anvil xp settings !
2024-08-21 03:26:22 +02:00
804c11a7f4
Do not continue anvil process if Disenchantment done something.
2024-08-21 03:13:58 +02:00
d1cfd7443c
Only remove experience on custom anvil craft if player not in creative.
...
Remove the right amount of experience for custom craft.
2024-08-11 04:24:53 +02:00
4e1976b6bd
Add nms for 1.17 and 1.17.1 even if these version will not receive support and will not be tested.
...
Could not add nms for 1.16.5 bc of missing paper userdev.
2024-08-10 05:15:22 +02:00
2d5e83b87c
Create nms for 1.18 to 1.21.
...
Not tested for most version but should work as expected. will test for most versions before release.
2024-08-09 23:35:31 +02:00
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
6c5eab6fff
Add new Packet Manager Selector
2024-08-08 04:21:23 +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
851489068d
Register new enchantment on custom anvil reload.
2024-07-24 15:57:45 +02:00
e89fff951e
Add unit repair api.
2024-07-24 14:16:39 +02:00
e43f6276cd
Made unit repair test lower first.
...
Default config and creation use lowercase by default. testing lowercase first is a small improvement of performances.
2024-07-24 02:16:40 +02:00