-
Notifications
You must be signed in to change notification settings - Fork 15
Item Generator
MaksyKun edited this page Jul 25, 2026
·
4 revisions
Item Generator creates procedural items from material pools, tiers, names, stats, damage, defenses, sockets, and skills.
-
Settings:
modules/item_generator/settings.yml -
Templates:
items/common.yml
- Alias:
itemgenerator,itemgen - Shared
list,get,give,drop, andreload—divinity.admin - Generator commands accept an optional material after the level and amount arguments.
The common.yml template uses placeholders such as %BASE_NAME%, %GENERATOR_STATS%, and %GENERATOR_SOCKETS_GEM%. The generator section controls prefix/suffix chances and available materials.
- Random pools can produce combinations that are individually valid but overpowered together. Test minimum, average, and maximum rolls.
- Generator IDs and referenced tier, stat, socket, skill, material, prefix, and suffix IDs must remain stable.
- Use fixed levels and an explicit material while testing, then test random generation after the deterministic cases pass.
- Generate large batches on staging to find invalid combinations and measure performance before connecting the generator to mob drops.
items/common.yml — bundled generator template
name: '%BASE_NAME% %prefix_tier% %prefix_material% %item_type% %suffix_tier%'
lore:
- '%BASE_LORE%'
- '&7Tier: %TIER_NAME%'
- '&7Level: &f%ITEM_LEVEL%'
- '%GENERATOR_STATS%'
- '%GENERATOR_SOCKETS_GEM%'
- '%GENERATOR_SOCKETS_ESSENCE%'
- '%GENERATOR_SOCKETS_RUNE%'
unbreakable: true
item-flags:
- '*'
tier: common
level:
min: 1
max: 50
generator:
prefix-chance: 100.0
suffix-chance: 100.0See Modules and Commands and Permissions.