heyitsbench / mod-ptr-template

Module for AzerothCore that adds character templates akin to Blizzlike implementation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PTR Character Templates

This is a module for AzerothCore that adds commands for creating characters from preset templates.

Demonstration video (35s)

Important Notes

This module depends on the selection of certain template sets that have already been filled out. The sets included in this module are based on the following:

  • Template characters as seen on the Classic Era, Season of Mastery, and Wrath Classic public test realms.
  • Best-in-slot gear lists from Wowhead for the various phases of Classic's release.
  • Premade characters used in VMaNGOS.

In the future, this may be expanded to include many more sets, and anyone willing is free to contribute to this module.

Check issues page for current progress on included templates.

How to Install

For the most part, the guide found here can be referred to. However, the SQL portion needs a bit of attention.

This module does have certain SQL queries in automated directories.

Queries required to use the module are automated, as well as any completed template sets. Automated template sets are enabled and available to apply by default.

Any incomplete template set queries will need to be run manually while in development. They are disabled and need to be enabled manually (by command or editing the index entry) to be available to apply.

(Optional) Edit Module Configuration

You are also able to edit the mod_ptr_template.conf to your liking. At the time of writing, you can pick and choose what parts of the template sets it should apply, whether it announces itself on login, the security level required to apply templates, and whether it can only be applied at the start level of a character.

Usage

By default, any account can list and apply enabled templates using .template list and .template apply [template index number] respectively. Gamemaster or higher security will also have disabled templates listed with the list command. Administrators are the only ones that can apply a disabled template. Administrators and the console are also the only ones that can enable/disable templates through the .template enable/disable [template index number] command.

Creating Template Sets

For information on creating your own template sets (and submitting them here for others to use), please refer to the wiki.

How to Uninstall

To uninstall the module, you must remove the module from the modules directory of your AC source, rerun CMake steps depending on your OS, and recompile. You will also need to run the uninstall.sql on your world DB to remove vestigial entries and tables.

Credits

  • acidmanifesto for providing portions of the skip-dk-starting-area module as well as an example of storing SQL results into variables.
  • AnchyDev for pointing out some much needed info regarding item storage and TaskScheduler implementation.
  • Nyeriah for identifying a couple points of confusion to me, resulting in issues.
  • ratkosrb for creating the VMaNGOS premade character sets and allowing them to be adapted for this module.

About

Module for AzerothCore that adds character templates akin to Blizzlike implementation.

License:GNU Affero General Public License v3.0


Languages

Language:C++ 99.7%Language:C 0.3%