turi0918_12986
πŸ“Ž 1 file 19,178 chars
πŸ“„
pasted-code-1786107159427.txt
txt 1062 lines
β–Ά
Uniform: White robe with red plum blossom embroidery.

Weapon: Mount Hua Sword β†’ True Plum Sword β†’ Plum Blossom Heavenly Sword

Sword Appearance: Long silver blade, crimson guard, plum blossom engraving, red sword aura.

Martial Arts

Basic Mount Hua Swordsmanship
Plum Blossom Sword Art
Twenty-Four Plum Blossom Sword Techniques
Plum Blossom Sword Intent
Ten Thousand Plum Blossoms
Violet Mist Divine Art (Internal Art)
Mount Hua Movement Art

Ultimate

Ten Thousand Plum Blossoms Bloom
Infinite Plum Sword Domain

Disciple Ranks

Outer Disciple
Third-Generation Disciple
Second-Generation Disciple
First-Generation Disciple
Personal Disciple
Elder
Sect Leader
Rank   HP   Damage
Outer   30   6
Third   40   9
Second   55   13
First   70   18
Personal   90   24
Elder   140   35
Sect Leader   220   50

Passive

+30% Critical Chance
+20% Sword Speed
Fall Damage Reduced

Appearance Change

Violet aura after mastering Violet Mist Divine Art.
Plum petals surround the player while attacking.
Zhongnan Sect (μ’…λ‚¨νŒŒ)

Location: Mount Zhongnan, Shaanxi Province

Uniform: Sky-blue Taoist robes.

Weapon: Zhongnan Tao Sword

Sword Appearance: Thin straight silver sword with blue tassel.

Martial Arts

Zhongnan Sword Art
Seven Stars Sword
Heavenly Cloud Sword
Taoist Internal Art
Eight Trigrams Footwork

Ultimate

Seven Stars Heaven Slash

Disciple Ranks
Outer β†’ Third β†’ Second β†’ First β†’ Core β†’ Elder β†’ Sect Leader

Rank   HP   Damage
Outer   28   5
Third   38   8
Second   50   11
First   65   16
Core   85   21
Elder   130   32
Leader   200   46

Passive

Mana regeneration
Dodge chance +15%

Appearance
Blue sword aura and floating Tao talismans.

Shaolin Sect (μ†Œλ¦Ό)

Location: Mount Song, Henan Province

Uniform: Orange monk robes.

Weapon

Monk Staff
Iron Staff
Vajra Staff

Appearance
Golden Buddhist aura.

Martial Arts

Arhat Fist
Dragon Claw Technique
Vajra Divine Art
Diamond Body
Seventy-Two Supreme Arts
Lion's Roar
Great Compassion Palm

Ultimate

Thousand Buddha Palm
Vajra Avatar

Disciple Ranks
Novice β†’ Disciple β†’ Warrior Monk β†’ Elite Monk β†’ Dharma Monk β†’ Elder β†’ Abbot

Rank   HP   Damage
Novice   40   5
Disciple   55   8
Warrior   80   14
Elite   110   20
Dharma   150   28
Elder   220   38
Abbot   300   48

Passive

Knockback Resistance
High Defense
Regeneration

Transformation
Golden Buddha Body.

Wudang Sect (무당)

Location: Mount Wudang, Hubei Province

Uniform: Black and white Taoist robes.

Weapon

Wudang Sword
Taiji Sword

Appearance
Black-and-white Yin-Yang aura.

Martial Arts

Taiji Sword
Taiji Fist
Soft Force
Wudang Internal Art
Cloud Step
Yin-Yang Sword Intent

Ultimate

Grand Taiji Domain

Disciple Ranks

Outer β†’ Third β†’ Second β†’ First β†’ Personal β†’ Elder β†’ Sect Leader

Rank   HP   Damage
Outer   30   5
Third   42   8
Second   58   12
First   75   17
Personal   100   24
Elder   160   35
Leader   250   47

Passive

Counterattack
Parry
Reduced Damage Taken

Transformation
Yin-Yang Aura Mode.

Kongtong Sect (κ³΅λ™νŒŒ)

Location: Mount Kongtong, Gansu Province

Uniform: Dark blue Taoist robes.

Weapon

Kongtong Sword
Heavenly Qi Sword

Appearance
Dark-blue qi surrounds the blade.

Martial Arts

Kongtong Sword Art
Five Elements Sword
Heavenly Qi Technique
Kongtong Palm
Phantom Footwork

Ultimate

Five Elements Heavenly Slash

Disciple Ranks

Outer β†’ Third β†’ Second β†’ First β†’ Core β†’ Elder β†’ Sect Leader

Rank   HP   Damage
Outer   32   6
Third   45   9
Second   60   13
First   80   18
Core   105   25
Elder   170   36
Leader   260   49

Passive

Qi Shield
Elemental Resistance
Increased Critical Damage

Transformation
Five-colored Qi Aura surrounds the player.
Qingcheng Sect (μ²­μ„±νŒŒ)

Location: Mount Qingcheng, Sichuan Province

Uniform: Dark green Taoist robes.

Weapon: Qingcheng Sword β†’ Swift Wind Sword β†’ Emerald Spirit Sword

Sword Appearance: Slim jade-green blade with a curved guard and emerald glow.

Martial Arts

Qingcheng Swift Sword
Flowing Wind Sword Art
Shadow Step
Flying Swallow Footwork
Green Cloud Internal Art
Wind Spirit Slash

Ultimate

Thousand Wind Blades
Emerald Tempest Domain

Disciple Ranks
Outer Disciple β†’ Third-Generation β†’ Second-Generation β†’ First-Generation β†’ Core Disciple β†’ Elder β†’ Sect Leader

Rank   HP   Damage
Outer   28   6
Third   38   9
Second   52   13
First   70   18
Core   95   25
Elder   150   36
Sect Leader   230   48

Passive

+30% Movement Speed
+20% Dodge Chance
Faster Attack Speed

Appearance Change
Green wind aura surrounds the player while moving.

Emei Sect (μ•„λ―ΈνŒŒ)

Location: Mount Emei, Sichuan Province

Uniform: White and pale green robes.

Weapon: Emei Sword β†’ Jade Lotus Sword

Sword Appearance: Elegant silver blade with a jade lotus guard.

Martial Arts

Emei Sword Art
Jade Maiden Sword
Falling Petal Sword
Lotus Finger Technique
Moonlight Internal Art
Gentle Breeze Footwork

Ultimate

Heavenly Lotus Bloom
Moonlight Sword Domain

Disciple Ranks
Outer Disciple β†’ Third-Generation β†’ Second-Generation β†’ First-Generation β†’ Personal Disciple β†’ Elder β†’ Sect Leader

Rank   HP   Damage
Outer   30   6
Third   40   9
Second   55   13
First   72   18
Personal   98   24
Elder   155   35
Sect Leader   235   47

Passive

HP Regeneration
Healing Bonus
Increased Magic Resistance

Appearance Change
White lotus petals and a silver aura appear during combat.

Dian Cang Sect (점창파)

Location: Mount Diancang, Yunnan Province

Uniform: Light blue robes.

Weapon: Dian Cang Sword

Sword Appearance: Long, narrow blade with a sapphire-blue guard.

Martial Arts

Dian Cang Sword Art
Blue Cloud Sword
Flash Step
Sky Stream Technique
Azure Qi Art

Ultimate

Heavenly Azure Strike

Disciple Ranks
Outer β†’ Third β†’ Second β†’ First β†’ Core β†’ Elder β†’ Sect Leader

Rank   HP   Damage
Outer   30   6
Third   42   9
Second   58   13
First   76   18
Core   100   24
Elder   160   36
Sect Leader   240   48

Passive

Increased Critical Chance
Faster Dash Cooldown

Appearance Change
Blue sword aura trails behind every slash.

Kunlun Sect (κ³€λ₯œνŒŒ)

Location: Kunlun Mountains, Qinghai Province

Uniform: White robes with blue trim.

Weapon: Kunlun Divine Sword

Sword Appearance: Long silver blade with icy-blue runes.

Martial Arts

Kunlun Sword Art
Heavenly Ice Sword
Snow Wind Technique
Kunlun Divine Qi
Cloud Step

Ultimate

Frozen Heaven Slash
Kunlun Divine Domain

Disciple Ranks
Outer β†’ Third β†’ Second β†’ First β†’ Core β†’ Elder β†’ Sect Leader

Rank   HP   Damage
Outer   32   7
Third   45   10
Second   62   14
First   82   20
Core   108   27
Elder   175   38
Sect Leader   270   52

Passive

Cold Resistance
Mana Regeneration
Increased Sword Range

Appearance Change
Snowflakes and icy mist surround the player.

Hainan Sect (ν•΄λ‚¨νŒŒ)

Location: Hainan Island

Uniform: White robes with ocean-blue accents.

Weapon: Sea Spirit Sword

Sword Appearance: Blue blade with wave-shaped guard.

Martial Arts

Ocean Wave Sword
Sea Dragon Slash
Tidal Footwork
Ocean Heart Internal Art
Water Flow Technique

Ultimate

Endless Tidal Wave

Disciple Ranks
Outer β†’ Third β†’ Second β†’ First β†’ Core β†’ Elder β†’ Sect Leader

Rank   HP   Damage
Outer   30   6
Third   42   9
Second   58   13
First   76   19
Core   102   25
Elder   165   36
Sect Leader   245   49

Passive

Water Walking
Reduced Fall Damage
Increased Swimming Speed

Appearance Change
Blue water aura and flowing wave particles.

Beggars' Sect (개방)

Location: Headquarters in Kaifeng, with branches throughout the Central Plains.

Uniform: Worn, patched brown and gray clothing.

Weapon: Beggar's Staff β†’ Dragon Staff

Weapon Appearance: Long bamboo staff reinforced with iron rings.

Martial Arts

Dog Beating Staff Technique
Eighteen Dragon Subduing Palms
Beggar's Movement Art
Drunken Footwork
Roaring Dragon Palm

Ultimate

Eighteen Dragons Descend
Heavenly Beggar King Technique

Disciple Ranks
Junior Beggar β†’ Disciple β†’ Elite Disciple β†’ Hall Master β†’ Elder β†’ Chief Elder β†’ Beggars' Sect Leader

Rank   HP   Damage
Junior   32   6
Disciple   45   10
Elite   65   15
Hall Master   90   22
Elder   150   35
Chief Elder   220   46
Sect Leader   320   60

Passive

Food restores 50% more HP
High Knockback Resistance
Chance to stun enemies with staff attacks

Appearance Change
Golden dragon aura surrounds the player while using the Eighteen Dragon Subduing Palms.
Namgung Family (남ꢁ세가)

Location: Nanjing, Jiangsu Province

Uniform: Royal blue robes with golden dragon embroidery and silver shoulder guards.

Weapon: Namgung Divine Sword β†’ Thunder Dragon Sword β†’ Heavenly Emperor Sword

Sword Appearance: A long silver blade with a blue-gold guard, engraved with dragon scales. Blue lightning surrounds the blade.

Martial Arts

Namgung Sword Art
Heavenly Thunder Sword
Azure Dragon Sword
Thunder Flash Step
Heavenly Sword Intent
Imperial Sword Qi

Ultimate

Heavenly Thunder Judgment
Azure Dragon Heavenly Slash
Sword Emperor Domain

Disciple Ranks
Outer Member β†’ Junior Disciple β†’ Senior Disciple β†’ Core Disciple β†’ Direct Descendant β†’ Elder β†’ Family Head

Rank   HP   Damage
Outer   40   8
Junior   55   13
Senior   75   18
Core   100   26
Direct   130   34
Elder   200   48
Family Head   320   65

Passive

+30% Critical Damage
Lightning Immunity
+15% Attack Speed

Appearance Change
Blue lightning surrounds the body and dragon-shaped sword aura appears.

Sichuan Tang Family (μ‚¬μ²œλ‹Ήκ°€)

Location: Chengdu, Sichuan Province

Uniform: Dark blue robes with hidden pockets and silver Tang insignia.

Weapon

Poison Needles
Hidden Daggers
Flying Knives
Tang Sword

Weapon Appearance
Short black blades coated with poison, hidden launchers on sleeves.

Martial Arts

Hidden Weapon Art
Thousand Needles Technique
Poison Mist
Venom Palm
Shadow Movement
Mechanical Weapon Arts

Ultimate

Heavenly Thousand Poison Storm
Endless Hidden Weapons
Poison Domain

Disciple Ranks
Outer β†’ Junior β†’ Senior β†’ Elite β†’ Direct β†’ Elder β†’ Family Head

Rank   HP   Damage
Outer   28   10
Junior   40   16
Senior   55   24
Elite   75   32
Direct   95   42
Elder   160   56
Head   260   70

Passive

Poison Immunity
Poison Damage +100%
Invisible Trap Detection

Appearance Change
Purple poison mist surrounds the body.

Hebei Peng Family (ν•˜λΆνŒ½κ°€)

Location: Hebei Province

Uniform: Heavy brown armor with black fur cloak.

Weapon: Giant Saber β†’ Heavenly Saber β†’ Tyrant Dragon Saber

Weapon Appearance
A massive two-handed saber with a thick spine and black steel edge.

Martial Arts

Peng Family Saber Art
Tyrant Saber Technique
Mountain Breaking Slash
Earth Shaking Strike
Iron Body Art

Ultimate

Heaven Splitting Saber
Tyrant King's Execution

Disciple Ranks
Outer β†’ Junior β†’ Senior β†’ Elite β†’ Direct β†’ Elder β†’ Family Head

Rank   HP   Damage
Outer   55   9
Junior   75   15
Senior   100   22
Elite   135   30
Direct   170   40
Elder   260   58
Head   380   76

Passive

+50% Knockback Resistance
Defense +35%
Armor Durability Bonus

Appearance Change
Brown earth aura and massive saber energy.

Murong Family (λͺ¨μš©μ„Έκ°€)

Location: Liaodong

Uniform: White robes with gold embroidery and a crimson cape.

Weapon: Murong Noble Sword

Sword Appearance
Elegant silver blade with a phoenix-shaped golden guard.

Martial Arts

Murong Sword Art
Returning Sword Technique
Star Reflection Sword
Heavenly Spear Art
Noble Qi Technique

Ultimate

Heavenly Phoenix Descent
Infinite Returning Sword

Disciple Ranks
Outer β†’ Junior β†’ Senior β†’ Elite β†’ Direct β†’ Elder β†’ Family Head

Rank   HP   Damage
Outer   36   8
Junior   52   13
Senior   72   19
Elite   98   27
Direct   126   36
Elder   190   50
Head   300   68

Passive

Counterattack Chance
Sword Reflection
Increased Accuracy

Appearance Change
Golden phoenix wings briefly appear during ultimate attacks.

Zhuge Family (μ œκ°ˆμ„Έκ°€)

Location: Shandong Province

Uniform: Dark green scholar robes with gold trim.

Weapon: Strategy Fan β†’ Seven-Star Sword

Weapon Appearance
A jade folding fan engraved with the Eight Trigrams and a slender ceremonial sword.

Martial Arts

Eight Trigram Formation
Seven-Star Formation
Illusion Barrier
Heavenly Strategy Art
Spirit Array Technique
Qi Control

Ultimate

Grand Heavenly Formation
Endless Eight Trigrams
Seven-Star Heavenly Array

Disciple Ranks
Outer β†’ Junior β†’ Senior β†’ Elite β†’ Direct β†’ Elder β†’ Family Head

Rank   HP   Damage
Outer   30   6
Junior   42   10
Senior   60   16
Elite   82   24
Direct   110   32
Elder   180   46
Head   290   62

Passive

+30% Mana Regeneration
Formation Damage Bonus
Summons Formation Guardians

Appearance Change
A glowing Eight Trigrams circle appears beneath the player, while floating talismans and golden runes surround them during high-level techniques.

Heavenly Demon Cult (μ²œλ§ˆμ‹ κ΅)

Location: Western Regions, beyond the Kunlun Mountains

Uniform: Black robes with crimson and gold embroidery, demon insignia, flowing cape.

Weapon: Heavenly Demon Sword β†’ Blood Demon Sword β†’ Heavenly Demon Divine Blade

Weapon Appearance: Jet-black blade with crimson veins and glowing demonic runes. Emits a dark-red aura.

Martial Arts

Heavenly Demon Divine Art
Heavenly Demon Sword Art
Blood Demon Slash
Demonic Qi Explosion
Heavenly Demon Body
Blood Shadow Movement
Demonic Soul Art
Demon King's Aura

Ultimate

Heavenly Demon Descends
Blood Moon Annihilation
World-Destroying Demon Slash
Heavenly Demon Domain

Disciple Ranks
Outer Cultist β†’ Inner Cultist β†’ Elite Cultist β†’ Demon Commander β†’ Demon General β†’ Elder β†’ Vice Cult Leader β†’ Cult Leader

Rank   HP   Damage
Outer   45   10
Inner   65   16
Elite   90   24
Commander   130   34
General   180   45
Elder   260   60
Vice Leader   360   78
Cult Leader   500   100

Passive

Lifesteal +20%
Fear Aura
Demonic Regeneration
Immune to Poison

Appearance Change
Black wings, crimson eyes, floating demonic symbols, black lightning.

North Sea Ice Palace (뢁해빙ꢁ)

Location: Northern Icefields

Uniform: White robes trimmed with pale blue fur.

Weapon: Frost Sword β†’ Ice Crystal Sword β†’ Eternal Glacier Sword

Weapon Appearance: Transparent crystal blade covered with frost.

Martial Arts

Ice Palace Sword Art
Frozen Heaven Slash
Blizzard Step
Eternal Ice Qi
Ice Mirror Technique
Frozen Soul Art

Ultimate

Eternal Blizzard
Absolute Zero Domain
Frozen World

Disciple Ranks
Outer β†’ Junior β†’ Senior β†’ Elite β†’ Princess/Prince β†’ Elder β†’ Palace Lord

Rank   HP   Damage
Outer   35   8
Junior   50   13
Senior   70   19
Elite   95   27
Royal   130   36
Elder   210   50
Palace Lord   330   72

Passive

Freeze enemies
Ice Resistance
Slow Aura

Appearance Change
Snowstorm follows the player and the eyes glow icy blue.

Southern Barbarian Beast Palace (λ‚¨λ§Œμ•Όμˆ˜κΆ)

Location: Southern Yunnan (Nanman)

Uniform: Leather armor decorated with beast fangs, feathers, and fur.

Weapon

Beast Fang Blade
Bone Spear
Tribal Axe

Weapon Appearance
Primitive weapons crafted from giant monster bones.

Martial Arts

Beast King's Body
Savage Strike
Beast Taming
Venom Fang
Jungle Sprint
Wild Roar

Ultimate

Beast King Transformation
Ancient Beast Summon
Hundred Beast Stampede

Disciple Ranks
Hunter β†’ Warrior β†’ Elite Warrior β†’ Beast Master β†’ Great Beast Master β†’ Elder β†’ Palace Lord

Rank   HP   Damage
Hunter   45   9
Warrior   65   15
Elite   90   22
Beast Master   125   31
Great Master   170   42
Elder   260   58
Palace Lord   390   82

Passive

Tamed beasts fight alongside the player
Poison Resistance
Increased Sprint Speed

Appearance Change
Glowing tribal tattoos and spectral beast spirits appear around the player.

Potala Palace (ν¬λ‹¬λžκΆ)

Location: Tibet

Uniform: Crimson and gold monk robes.

Weapon: Vajra Staff

Weapon Appearance
Golden staff engraved with Buddhist scriptures.

Martial Arts

Vajra Palm
Great Compassion Palm
Sacred Mantra
Diamond Body
Spiritual Barrier

Ultimate

Golden Buddha Avatar
Sacred Mountain Seal

Disciple Ranks
Novice β†’ Monk β†’ Warrior Monk β†’ Lama β†’ High Lama β†’ Elder β†’ Palace Master

Rank   HP   Damage
Novice   40   7
Monk   55   11
Warrior   80   17
Lama   110   25
High Lama   150   34
Elder   220   46
Master   340   68

Passive

High Defense
Magic Resistance
HP Regeneration

Appearance Change
Golden halo and floating Buddhist symbols.

Thunder Sound Temple (λ‡ŒμŒμ‚¬)

Location: Tianzhu (India)

Uniform: Bright yellow monk robes.

Weapon: Thunder Staff

Weapon Appearance
Golden staff crackling with electricity.

Martial Arts

Thunder Palm
Lion's Roar
Thunder Body
Heavenly Sound Technique
Vajra Strike

Ultimate

Heavenly Thunder Buddha
Divine Thunder Judgment

Disciple Ranks
Novice β†’ Disciple β†’ Warrior Monk β†’ Elite Monk β†’ Dharma Master β†’ Elder β†’ Temple Master

Rank   HP   Damage
Novice   38   7
Disciple   54   12
Warrior   78   18
Elite   108   26
Master   145   35
Elder   215   48
Temple Master   330   70

Passive

Lightning Resistance
Stun Chance
Increased Mana Regeneration

Appearance Change
Golden lightning surrounds the player.

Flame Worship Cult (배화ꡐ)

Location: Persia

Uniform: Crimson robes with gold flame embroidery.

Weapon: Flame Sword β†’ Inferno Blade

Weapon Appearance
Black steel blade engulfed in magical fire.

Martial Arts

Flame God Art
Inferno Slash
Fire Dragon Strike
Burning Aura
Fire Step

Ultimate

World Burning Inferno
Phoenix Flame Domain

Disciple Ranks
Follower β†’ Warrior β†’ Elite β†’ Priest β†’ High Priest β†’ Elder β†’ Cult Leader

Rank   HP   Damage
Follower   34   8
Warrior   50   13
Elite   72   20
Priest   100   29
High Priest   140   38
Elder   210   52
Cult Leader   320   74

Passive

Fire Immunity
Burn Damage Bonus
Fire Aura

Appearance Change
Flames cover the body and phoenix-shaped fire wings appear during ultimate skills.

Changbai Sect (μž₯백파)

Location: Changbai Mountains (Manchuria)

Uniform: White-gray winter robes with fur cloak.

Weapon: Snow Wolf Sword

Weapon Appearance
Long white blade with icy-blue engravings.

Martial Arts

Snow Wolf Sword Art
White Frost Slash
Winter Step
Cold Wind Qi
Ice Fang Strike

Ultimate

Endless Snowstorm
White Wolf Domain

Disciple Ranks
Outer β†’ Junior β†’ Senior β†’ Elite β†’ Core β†’ Elder β†’ Sect Leader

Rank   HP   Damage
Outer   36   8
Junior   50   12
Senior   70   18
Elite   95   26
Core   125   35
Elder   195   48
Sect Leader   300   70

Passive

Snow Movement Speed +30%
Freeze Resistance
Increased Critical Chance in snowy biomes

Appearance Change
A blizzard surrounds the player, with white wolf spirits appearing during ultimate techniques.
Kodari AI
KodariAug 7 at 12:54 pm 2
WuxiaSectPlugin
WuxiaSectPlugin is a Minecraft plugin that lets players join one of 25 authentic wuxia sects, each with unique uniforms, weapons, martial arts, and ultimate abilities. Players progress through seven disciple ranks, gaining HP and damage bonuses per rank. Each sect features distinct passives, elemental auras, and visual transformations. The plugin includes custom sword models, particle effects, and combat mechanics such as critical strikes, dodging, lifesteal, and elemental resistances. Players can master internal arts, unlock ultimate skills, and experience sect-specific gameplay styles ranging from Shaolin's defensive tanking to the Heavenly Demon Cult's aggressive lifesteal.
  1. Create the Gradle project and plugin metadata.

  2. Add the complete sect/rank configuration from the supplied design.

  3. Implement sect models, registry, persistence, commands, progression, passives, and combat behavior.

  1. Created the Gradle Paper plugin project and metadata.

  2. Added configuration for all supplied sects, ranks, stats, martial arts, ultimates, passives, and transformations.

  3. Implemented:

    • Sect and rank models

    • YAML-based sect registry

    • Persistent player profiles

    • Sect selection and progression

    • Cultivation experience from mob kills

    • /sect commands and tab completion

    • Rank-based health and damage

    • Critical hits, dodge, lifesteal, defense, fall-damage, and movement passives

    • Player join/quit persistence handling

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
13 1,108
src/main/java/com/kodari/murim/MurimPlugin.java
package com.kodari.murim;

import com.kodari.murim.command.SectCommand;
import com.kodari.murim.listener.SectListener;
import com.kodari.murim.service.SectProfileManager;
import com.kodari.murim.service.SectRegistry;
import com.kodari.murim.service.SectService;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class MurimPlugin extends JavaPlugin {
    private SectRegistry sectRegistry;
    private SectProfileManager profileManager;
    private SectService sectService;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        sectRegistry = new SectRegistry();
        sectRegistry.load(getConfig());
        profileManager = new SectProfileManager(this);
        sectService = new SectService(this, sectRegistry, profileManager);

        SectCommand command = new SectCommand(sectService, sectRegistry);
        PluginCommand sectCommand = getCommand("sect");
        if (sectCommand != null) {
            sectCommand.setExecutor(command);
            sectCommand.setTabCompleter(command);
        }
        getServer().getPluginManager().registerEvents(new SectListener(this, sectService), this);
    }

    @Override
    public void onDisable() {
        if (profileManager != null) {
            profileManager.saveAll();
        }
    }

    public int experiencePerKill() {
        return getConfig().getInt("settings.experience-per-kill", 25);
    }

    public int rankupCost(int rankIndex) {
        int base = getConfig().getInt("settings.rankup-base-cost", 100);
        int increase = getConfig().getInt("settings.rankup-cost-increase", 75);
        return base + rankIndex * increase;
    }
}