Fork of upstream mod-congrats-on-level with local fixes for the Mythica playerbots server.
Find a file
Claude 0ad5f1d345
Some checks failed
core-build / build (pull_request) Has been cancelled
fix: skip playerbots so bot re-rolls do not spam the server
PlayerbotFactory calls Player::GiveLevel() in six places while randomising a
bot, and GiveLevel fires OnPlayerLevelChanged exactly as a real ding does. On
a Playerbots realm that means every bot re-roll past level 10/20/.../80 sends
a server-wide broadcast plus a raid warning and hands the bot gold and two
reward items. Turning off CongratsPerLevel.Enable does not help: the
reward-level announcements sit outside that gate.

Adds Congrats.SkipBots (default 1). The bot test is guarded by
#ifdef MOD_PLAYERBOTS, which the core defines for every module when
mod-playerbots is present, so a core built without it is unaffected.

Also adds the missing `override` on OnPlayerLogin. The signature already
matched the base, so behaviour is unchanged -- it just stops a future
signature change from silently detaching the hook.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019vTNrJGsprcjdjjjDJD5ZM
2026-09-03 17:21:11 +00:00
.github feat. Add option to Learn or cast spells (#30) 2023-09-05 05:17:05 -03:00
conf fix: skip playerbots so bot re-rolls do not spam the server 2026-09-03 17:21:11 +00:00
data feat. Add option to Learn or cast spells (#30) 2023-09-05 05:17:05 -03:00
src fix: skip playerbots so bot re-rolls do not spam the server 2026-09-03 17:21:11 +00:00
.editorconfig sync with skeleton module and fix announcer 2019-05-26 01:14:47 +10:00
.gitattributes sync with skeleton module and fix announcer 2019-05-26 01:14:47 +10:00
.gitignore sync with skeleton module and fix announcer 2019-05-26 01:14:47 +10:00
include.sh First commit (separate each module from original repo of StygianTheBest) 2018-03-05 18:02:58 +01:00
LICENSE.md First commit (separate each module from original repo of StygianTheBest) 2018-03-05 18:02:58 +01:00
pull_request_template.md feat. (Repository): Add issue and pull request templates (#26) 2023-07-12 06:30:52 -03:00
README.md feat. Add option to Learn or cast spells (#30) 2023-09-05 05:17:05 -03:00

logo AzerothCore

mod-congrats-on-level

This is a module for AzerothCore

  • Latest build status with azerothcore:

Build Status

About the module

This module allows you to configure a series of prizes, by class, race and levels. To the extent that players reach these levels, they can obtain gold, spells, or items. If you don't want to deliver any of them, it's always possible to leave it at 0. All items were moved to the database. Inside the table, you could customize the prizes, however you want.

Table structure

  1. level: Level that the player must have to get the reward.
  2. money: Amount of money to deliver, it can be 0.
  3. spell: Id of the spell that you want to teach or cast, it can be 0.
  4. learn: If it's 0, the spell is cast. If it is 1, it is learned.
  5. itemId1: Id of the item that you want to deliver, it can be 0.
  6. itemId2: Id of the item that you want to deliver, it can be 0.
  7. race: 0 for all or specify race id.
  8. class: 0 for all, or specify the class id.
ID className (enUS)
1 Warrior
2 Paladin
3 Hunter
4 Rogue
5 Priest
6 Death Knight
7 Shaman
8 Mage
9 Warlock
11 Druid
ID Race .raceName (enUS) Faction .name (enUS)
1 Human Alliance
2 Orc Horde
3 Dwarf Alliance
4 Night Elf Alliance
5 Undead Horde
6 Tauren Horde
7 Gnome Alliance
8 Troll Horde
10 Blood Elf Horde
11 Draenei Alliance

How to install

  1. Simply place the module under the modules folder of your AzerothCore source folder.
  2. Re-run cmake and launch a clean build of AzerothCore
  3. Done :)

Credits