✯ Custom Enchantments 3 - RPG ✯ [1.16-1.21.11] [ALL IN ONE PUGIN][PREMIUM]

VIP Plugins ✯ Custom Enchantments 3 - RPG ✯ [1.16-1.21.11] [ALL IN ONE PUGIN][PREMIUM]

Version: 1.6.0
Update 1.6.0 Hi guys. 1.5.0 was the release that filled the plugin up. This one is about the economy: Custom Enchantments 3 now works alongside Kumandra's Economy, so RACO and Kumandra currency can be spent on each other, plus there are 25 new enchantments and 15 new treasure items. Enchantments go from 134 to 159. Treasure items go from 134 to 149. Tested on Minecraft 26.2. Please back up your plugins/CustomEnchantments3 folder before updating, and let me know if anything acts up in the discussions page. Read this first Your config carries over. On the first start after updating, the plugin rewrites config.yml with the new keys and keeps every value you had set, saving the old file as config.yml.old. Prices, rates and toggles all survive. You do not need Kumandra's Economy. Custom Enchantments 3 is still standalone and runs exactly as it did in 1.5.0 without it. Everything in the next section only turns on when both plugins are installed. If you do not want it even then, set KumandraEconomySupport: false. Kumandra's Economy 2.1 or newer is recommended. 2.0 works and is what this was built and tested against. Anything older than 2.0 is detected and the integration stays off, because the older API cannot pay an offline seller safely. Nothing about RACO changed. The supply, the price curve, the CLVL exchange and every existing shop all behave exactly as they did. Kumandra's Economy support If you run both plugins, your players can now pay for RACO priced things with Kumandra currency, and swap between the two currencies. The important part: Kd never becomes RACO out of thin air. RACO has a hard supply cap of 1,250,000 and Kumandra money does not have a cap at all, so the two cannot just be added together. When somebody pays with Kd, the plugin buys RACO for them out of the same circulating supply the CLVL exchange draws on, and then spends that RACO the normal way. Which means:
  • If your RACO supply has run dry, the Kd payment is refused and the Kd is given back. Your currency does not inflate.
  • Somebody selling in the RACO shop gets paid in RACO, whatever the buyer paid with.
  • Your existing economy numbers still mean what they always meant.
Where Kd can be spent:
  • The RACO shop, when the buyer is short on RACO
  • Enchantment books you have priced in RACO (the ones ending in C)
  • The new conversion buttons in the currency exchange screen
  • Cofferguard, the new chestplate enchantment that spends a coin to soak a hit
A player holding enough RACO always spends the RACO. Kd is a fallback, never the default. Nobody's Kumandra balance gets quietly spent while they were sitting on the plugin's own currency. The settings:
Code (Text):
KumandraEconomySupport: true # master switch KumandraExchangeRate: 25.0 # Kd per 1 RACO KumandraConversionFee: 0.05 # 5% KumandraShopPayment: true KumandraEnchantPayment: true KumandraConversionEnabled: true
The fee comes off the proceeds when converting RACO to Kd, and goes on top as a surcharge when paying with Kd, so holding RACO is always slightly better than paying in the foreign currency. Set it to 0 if you would rather it were a straight rate. The currency exchange screen has a new bottom row: buy 1, 5 or 10 RACO with Kd on the left, sell the same amounts on the right, and the live rate and fee in the middle. 25 new enchantments 7 for weapons, 2 for tridents, 3 for bows, 4 for wands, 6 for armor, 3 for tools. A few of them to give you the shape of it: Tallyscar (sword, spear) marks the enemy rather than tracking your streak, so the marks stay on them if you look away, several people can pile them onto the same target, and the fifth mark bursts the whole tally at once. Ledgerburn (sword, mace) hits harder the more health you are missing, topping out at 70% missing so you do not have to sit on one heart to get anything from it. Knucklebone (mace) is a gamble every swing. Most rolls are a small bonus, about one in twelve is a big one, and a low roll takes a quarter off the hit. It comes out ahead on average at every level. Voidtithe (wand) takes a slice of the target's current health, so it is at its best as an opener and weakest as a finisher. A third of it comes back to you as mana. Capped at 12 magic damage so it cannot delete a boss in one cast. Cofferguard (chestplate) spends one RACO to absorb up to 60% of a heavy hit. It only fires on hits worth paying for, so it will not empty your wallet on chip damage in a mob farm, and an empty wallet just means an ordinary chestplate. Vaultskin (any armor) takes a flat amount off every hit instead of a percentage. Tank and Magic Resist are what you want against one enormous blow; this is what you want when you are being pecked to death. Coinvein (pickaxe), Titherow (hoe) and Dredgeline (fishing rod) pay out in coin as you work. They move currency out of the supply rather than creating it, so they cannot inflate your economy, and they stop paying if the supply runs dry. Titherow only counts fully grown crops, so nobody can farm seedlings for money. The rest: Coinbite, Gallowswing, Rimefang, Saltspine, Harpoonwake, Brinelash, Tollshot, Ravenquill, Splintervolley, Embertoll, Starvein, Glyphwrack, Ironvow, Paleward, Tombstride and Wardenknot. All of them are priced in config.yml like everything else, and any of them can be disabled by setting the price to 0. 15 new treasure items Pirate flavoured, and they slot into the same weighted drop table 1.5.0 introduced. Doubloon of the Drowned Mate, Bosun's Cracked Whistle, Krakenbone Fishhook, Marooner's Split Compass, Powder Monkey's Tinderbox, Gibbet Cage Key, Salt Rimed Spyglass, Quartermaster's Short Straw, Bilge Rat Skull, Letter of Marque (Unsigned), Scuttler's Auger, Wreckwood Splinter, Cutthroat's Wedding Ring, Dead Man's Chest Hasp, and the Black Spot Token, which is Legendary and correspondingly rare. The treasure catalogue has a sixth page for them. Resource pack Updated, with 15 new textures. Please re-download it if you use it, otherwise the new treasures show as plain gold nuggets and coal. Same six client range downloads as before, 1.16 through 26.2. One thing worth knowing, and it is not new: the 1.16 to 1.19 packs cannot show treasures added in 1.5.0 or 1.6.0, because those client versions use an older model format the pack does not carry for them. They show as their base vanilla item instead. Everything from 1.21 up is fine. Fixes You can take your own RACO shop listing back down again. Before this, if you listed an item and then spent your RACO, the shop told you that you could not afford your own item. Taking a listing down was never supposed to cost anything and now it does not.
Optimization

PlayerData modification, added caching to reduce lag from being re-created on load
Move/Attacking/Join Event is optimized, implemented data caching for faster load


Note: Please save a copy of the files inside CustomEnchantments3 before installing the update.
Bug Fixes
- Fixed issue where skills were not disabled in other worlds [again]
- Fixed TNTError spam in console, this happens when it fails to detect the source entity
- Added Support for 1.21.8
- Security Patches
Set CustomEnchantsWorld to empty array [], which means that the plugin enables all its effects on all world registered in the server. This should fix the "This enchant doesn't allow you to use in this world" issue. If you wish to only let the plugin take effect on a specific world, then follow the steps below:

1. Turn off server
2. Locate the config.yml in plugins/CustomEnchantments3
3. Enter your world in CustomEnchantsWorld section
Example:
- CustomEnchantsWorld: [ "private_world", "arena_world" ]
4. Save the config file
5. Start the server
- Security Patch
- Added EnableAuthorizationYML in the config.yml with a default value of 'false' to reduce the hassle of users setting up in aternos, but it's highly recommended to set it to true if you want a specific player to access the plugin admin commands. If 'false' then players with OP role can use the plugin admin commands, otherwise if true, then only the players that are listed inside the Authorization.yml can use the plugin admin commands.
Cooldown Modification:
- Cooldown chat messages can now be disabled through config.yml [EnableCooldownMessage]
- When disabled, it will play an EXP ORB sound instead [1.19+]

Fix and Modifications:
- Companion Healing will now apply to wolf armor
- Auto Repair can now be applied to wolf armor

New Enchantment
- Companion Thorns (10 levels)
applies thorn effect with slowness debuff to enemy
TRADING MODIFICATIONS:
- Added Market Capitalization and Circulation Supply
- Default Max Raco Supply is 1_250_000 (Can be adjusted in config.yml)
- Default Price for Raco is 0.1 CLVL (Can be adjusted in TradeData.yml)
- Buy/Sell adjustment factor is 0.008%. Selling too much burns a portion of CLVL (to avoid spam buy/sell)
- Earning Raco from Mob kill, Give command, P2P Payment, Quest rewards, Buy and Sell Exchanges, Heist Enchant, and Treasure bonus will also adjust the total circulation supply
COMPATIBILITY UPDATE
- Supports MC version 1.21.5

MODIFICATIONS:
- Major overhaul on Particle Handler, PotionEffect Handler, Attribute identifier, and ItemFlag identifier to support 1.21.5 while maintaining backward support down to 1.16
- Increased Treasure Item rarity chance from 2% to 5%, can be modified in config.yml (TreasureItemChance)

NEW CRAFTING RECIPE:
- Added Mana Splash Potion - Add Mana to player within the surrounding area
- Added Anti Mana Splash Potion - Drains Mana to player within the surrounding area
- Added Fire Splash Potion - Inflict flame and removes fire resistance
- Added Dynamite - Explodes on target

NEW HELP GUI TREASURE ITEMS (found on /ce help)

NEW TREASURE ITEM (more info on /ce help)
- Wind Orb [MC-1.21+]
- Magical Amethyst [MC-1.17+]
- Ancient Chicken BBQ
- Ancient Netherite Scrap

This is still a beta version, expect any issues but please report it at the discussions page