Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicRPG MythicRPG
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 35
    • Issues 35
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicRPGMythicRPG
  • Wiki
  • Archetypes

Last edited by Lxlp Jan 29, 2025
Page history

Archetypes

What is an Archetype?

Archetypes in Mythic represent the idea of things like "classes", "professions", "jobs", etc. Rather then having separate generic systems for each, in Mythic you get the full set of tools to create these things however you want.

When creating Archetypes, they can be divided into groups. The most common group would probably be CLASS, and this is the default group when making an archetype.

Configuring Archetypes

Archetypes are configured in the Archetypes folder inside any Mythic pack. Just create a .yml file inside the Archetypes folder, and you can put as many archetypes inside this file as you'd like - organize it however makes sense to you!

The example pack generates a classes.yml file which contains several simple example classes.

Configuration

Option Description
Group The type of archetype this falls under, such as 'CLASS'
Display The proper display name of this archetype, such as 'Wizard'
Description The description of the archetype
BaseStats A list of base stats for this archetype
StatModifiers Unlike base stats, these will apply on top of a player's stats and can stack with other archetypes
SpellUnlocks A list of spells unlocked by this archetype
InitSkills A list of skills called when a player gains this class
QuitSkills A list of skills called when a player loses this class
LevelSkills A list of skills called when a player levels up this class
Skills A list of mechanics applied to anyone with this archetype. Functions the same as how Mythic Mobs are configured
Leveling A list of options regarding how the class levels up
Bindings Force a player's bindings as they level up

Default Archetypes

You can configure a 'default' archetype that new players will start as in the config-archetypes.yml file inside the MythicMobs plugin directory.

With the example files, by default, RPG comes with 2 archetype groups - class and profession - which can be changed or removed if you'd like. The example files also come with a default class - Adventurer. This class doesn't do anything by default but serves as a basic starting point for the examples.

ADVENTURER:
  Display: 'Adventurer'
  MaxLevel: 1

Examples

TestArchetype:
  Group: CLASS
  Display: 'an archetype'
  Leveling:
    MinLevel: 1
    MaxLevel: 50
    ExperienceCurve: TEST_STATIC
    ExperienceSource: MOBS
  BaseStats:
  - HEALTH '20 + 5L'
  StatModifiers:
  - HEALTH 2 ADDITIVE_MULTIPLIER
  InitSkills: []
  QuitSkills: []
  Bindings:
  - 1 Fireball
  - 2 IceBall
  - 3 PoisonBall
  Skills:
  - message{m="item"} ~onPickupItem ?triggeringItemType{type=TestFireWand}
TestMiner:
  Group: PROFESSION
  Display: 'Miner'
  Leveling:
    MinLevel: 1
    MaxLevel: 50
    ExperienceCurve: TEST_FORMULA
    ExperienceSource: MINING
Clone repository

MythicRPG

  • Home
  • Changelogs
  • Commands / Permissions
  • FAQ / Common Issues
Usage
  • Installation
  • Spells
    • Learning
    • Casting
    • Reagents
  • Archetypes
    • Leveling
    • Talents
    • Professions
    • Boosters
  • Currencies
  • Custom Commands
  • Custom Menus
  • Waypoints
Mechanics
  • Mechanics
  • Targeters
  • Triggers
  • Conditions
Placeholders
  • Placeholders