Attributes
Version 1.9.4+ Added guild attributes
Image Display




Buff Types
- AttributePlus
- SX-Attribute
- AttributeSystem
- MythicLib
- MythicMobs
- Vanilla potion effects
Buff Process
- Players join guild and mine ores daily at guild sacred stone using different types of pickaxes
- Guild leader uses ores to upgrade and unlock guild attributes
- Guild attributes take effect for all guild members
Configuration Process
- Need to configure in sacredStone.yml, there's a buff node (regenerate file if not present)
- Can configure multiple buffs, freely configure attributes as desired
- Can customize maximum upgrade level for each buff
- Can use custom formulas to calculate upgrade materials needed per buff level and buff attributes
First configure enabled types
# buff type
buffType: "attribute_plus"Attribute example:
# Actual effective attributes level is current level variable ${} contains operators, supports +-*/ and numeric variables
attribute:
- '&ePhysical Damage: ${level * 1}'MythicLib / MMOItems Configuration Method
Format is attribute_name:value
For example MAX_HEALTH: 5 increases 5 health points (corresponding to MMOItems/Language/stats.yml attribute ID)
Attribute name is case-insensitive, can directly copy attributes from stats.yml
# Can configure multiple corresponding attributes
attribute:
- 'max-health: ${level * 1}'
- 'attack-damage: ${level * 1}'
# Because mmo attribute nodes are in English, you can configure ${buff} variable content to display in lore here
display:
- '&eIncrease Health: ${level * 1}'
- '&eAttack Damage: ${level * 1}'MythicMobs Configuration Method
Requires a MythicMobs version that provides the Stats system (5.x); the type is skipped when not installed or unsupported.
Format isattribute:value;-in the name is converted to_and matching is case-insensitive.
The stat name must be registered on the server. You can use a custom MythicMobs stat such asGUILD_ATTACK_POWER: 5; invalid names are silently ignored.
# Set buffType to MythicMobs
buffType: "MythicMobs"
attribute:
- 'GUILD_ATTACK_POWER: ${level * 1}'
- 'GUILD_ARMOR: ${level * 1}'
display:
- '&eAttack Power: ${level * 1}'
- '&eArmor: ${level * 1}'Duplicate MythicMobs stats within one configuration list are summed first. When PlayerGuild writes the same stat again later, it replaces its previous value. The value is re-applied after the player reconnects. The stat must be registered in MythicMobs. Unknown stat names are ignored.