Skip to content

Game Reference

These are mostly static reference tables seeded once and rarely modified.

Maps EverQuest class titles to level thresholds. When a character levels up via /ding, the bot checks this table to announce title changes (e.g. a Cleric reaching level 51 becomes a “Templar”).

ColumnTypeNotes
Idbigint PKAuto-generated
CharacterClasstextBase class (e.g. "Cleric")
ClassNametextTitle at this level (e.g. "Templar")
LevelAttainedbigintMinimum level for this title

Used by: /ding

TypeORM Entity
entities/ClassDefinitions.ts
@Index('idx_17834_class_definitions_pkey', ['Id'], { unique: true })
@Entity('class_definitions', { schema: 'public' })
export class ClassDefinitions {
@Column('text', { name: 'class_name' })
ClassName: string;
@Column('text', { name: 'character_class' })
CharacterClass: string;
@PrimaryGeneratedColumn({ type: 'bigint', name: 'id' })
Id: string;
@Column('bigint', { name: 'level_attained' })
LevelAttained: number;
}

Flavour text for each EverQuest class. Displayed in informational embeds.

ColumnTypeNotes
Idbigint PKAuto-generated
CharacterClasstextEverQuest class name
DescriptiontextLore/flavour description
TypeORM Entity
entities/ClassLore.ts
@Index('idx_17829_class_lore_pkey', ['Id'], { unique: true })
@Entity('class_lore', { schema: 'public' })
export class ClassLore {
@Column('text', { name: 'character_class', nullable: true })
CharacterClass: string | null;
@Column('text', { name: 'description', nullable: true })
Description: string | null;
@PrimaryGeneratedColumn({ type: 'bigint', name: 'id' })
Id: string;
}

Maps EverQuest classes to Discord roles. When a character is registered via /main, /alt, or /bot, the bot auto-assigns the corresponding Discord role.

ColumnTypeNotes
Idbigint PKAuto-generated
CharacterClasstextEverQuest class name (e.g. "Warrior")
RoleIdbigintDiscord role snowflake ID to assign

Used by: /main, /alt, /bot, /claim

TypeORM Entity
entities/ClassRoles.ts
@Index('idx_17857_class_roles_pkey', ['Id'], { unique: true })
@Entity('class_roles', { schema: 'public' })
export class ClassRoles {
@Column('text', { name: 'character_class', nullable: true })
CharacterClass: string | null;
@Column('bigint', { name: 'role_id', nullable: true })
RoleId: string | null;
@PrimaryGeneratedColumn({ type: 'bigint', name: 'id' })
Id: string;
}

Lookup table of valid EverQuest playable races. Used for validation during character registration.

ColumnTypeNotes
Idbigint PKAuto-generated
RacetextRace name (e.g. "Human", "Dark Elf", "Ogre")
TypeORM Entity
entities/Races.ts
@Index('idx_17797_races_pkey', ['Id'], { unique: true })
@Entity('races', { schema: 'public' })
export class Races {
@Column('text', { name: 'race', nullable: true })
Race: string | null;
@PrimaryGeneratedColumn({ type: 'bigint', name: 'id' })
Id: string;
}