Set Bonuses

Set Bonuses

Fully configurable enchantments and set bonuses

by
866 Downloads
fabricequipmentmagic
Rent Server with this Mod

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

Source

enabled: boolean = true
id: string [Required!]
levels: int = 1 - amount of enchantment levels
toggleable: boolean = true - weather the player can toggle the enchantment using MMB
treasue: boolean = false - is treasure enchant
cursed: boolean = false - is cursed enchant
forEnchantedBook: boolean = true - can be gotten in an enchantment table
forRandomSelection: boolean = true - can be gotten by villager trading
slots: string[] = ["HEAD", "CHEST", "LEGS", "FEET"] - on what slots it will work
target: 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 level
stacking: string = "MAX" - "MAX" - highest, "ADDITIVE" - sum, "MULTIPLICATIVE" - product
effect: [] = [] - array of potion effects
> id: string [Required!]
> duration: int = 210
> ambient: boolean = false
> showParticles: boolean = false
> showIcon: boolean = true
materials: string[] = [] - empty array means any item, otherwise functions as whitelist
(valid values: "LEATHER", "CHAIN", "IRON", "GOLD", "DIAMOND", "TURTLE", "NETHERITE")

ConfigSetBonus

Source

enabled: boolean = true
effect: [] = [] - array of potion effects
> id: string [Required!]
> duration: int = 210
> ambient: boolean = false
> showParticles: boolean = false
> showIcon: boolean = true
toughness: float = 0 - added toughness per piece
protection: float = 0 - added protection per piece
knockbackResistance: float = 0 - added knockback resistance per piece
partial: 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 piece
material: 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

Beta v0.1.1release
MC 1.18fabric
November 30, 2021
Beta v0.1.0release
MC 1.17.1fabric
August 28, 2021

How to Install Set Bonuses on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.18).

3

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

fabric

Minecraft Versions

1.18, 1.17.1

Server-side

Required

Recommended 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.

Rent Modded Server

Install Set Bonuses with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
ISC License
Server-side
Required

Supported Versions

1.181.17.1