Set Bonuses
Fully configurable enchantments and set bonuses
About this Mod
Set Bonuses
This 1.17.1 Fabric mod requires Fabric API.
It was written by CodedSakura
for the Summer 2021 ServJam.
It includes in itself Polymer
and Server Translations API.
Set Bonuses adds fully configurable enchantments and set bonuses.
Config
Located in config/SetBonuses.json.
Root:enchantments:
> enabled: boolean = true
> list: ConfigEnchantment[] = []setBonuses:
> enabled: boolean = true
> list: ConfigSetBonus[] = []
ConfigEnchantment
enabled: boolean = trueid: string [Required!]levels: int = 1 - amount of enchantment levelstoggleable: boolean = true - weather the player can toggle the enchantment using MMBtreasue: boolean = false - is treasure enchantcursed: boolean = false - is cursed enchantforEnchantedBook: boolean = true - can be gotten in an enchantment tableforRandomSelection: boolean = true - can be gotten by villager tradingslots: string[] = ["HEAD", "CHEST", "LEGS", "FEET"] - on what slots it will worktarget: string = "ARMOR" - on what can be applied
(valid values: "ARMOR", "ARMOR_HEAD", "ARMOR_CHEST", "ARMOR_LEGS", "ARMOR_FEET")rarity: string = "UNCOMMON" - (valid values: "COMMON", "UNCOMMON", "RARE", "VERY_RARE")power: - level scaling in enchantment table
> base: int = 5 - base level
> delta: int = 5 - level range
> increment: int = 5 - increase to base per levelstacking: string = "MAX" - "MAX" - highest, "ADDITIVE" - sum, "MULTIPLICATIVE" - producteffect: [] = [] - array of potion effects
> id: string [Required!]
> duration: int = 210
> ambient: boolean = false
> showParticles: boolean = false
> showIcon: boolean = truematerials: string[] = [] - empty array means any item, otherwise functions as whitelist
(valid values: "LEATHER", "CHAIN", "IRON", "GOLD", "DIAMOND", "TURTLE", "NETHERITE")
ConfigSetBonus
enabled: boolean = trueeffect: [] = [] - array of potion effects
> id: string [Required!]
> duration: int = 210
> ambient: boolean = false
> showParticles: boolean = false
> showIcon: boolean = truetoughness: float = 0 - added toughness per pieceprotection: float = 0 - added protection per pieceknockbackResistance: float = 0 - added knockback resistance per piecepartial: string = "OFF" - "OFF" - only if all 4 pieces, "REDUCED_3" - reduced by half if 3 of 4 pieces"MISSING_CHEST" - 4 pieces or mismatched chest piecematerial: string [Required!] - (valid values: "LEATHER", "CHAIN", "IRON", "GOLD", "DIAMOND", "NETHERITE")
Thanks
Many thanks to the helpful people over at the ServJam discord and Fabric Server-Side Development discord!
Without your help I couldn't have rushed it last evening to completion it wouldn't be where it ended up being!
Special shout-outs to (in no particular order) BradBot_1#2042, TheEpicBlock_TEB#0452, Patbox#4687, Potatoboy#3053 and SpaceClouds42#2255!
Available Versions
How to Install Set Bonuses on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.18).
Install Mod
Open the mod browser in the dashboard and search for "Set Bonuses". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.18, 1.17.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Set Bonuses server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.18). You can switch loaders with one click in the panel.
Is Set Bonuses compatible with fabric?
Set Bonuses officially supports fabric for Minecraft 1.18, 1.17.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Set Bonuses – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Set Bonuses consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Set Bonuses with just one click on your server.