mirror of
https://github.com/telegramcores/mod-premium.git
synced 2026-01-13 00:58:36 +00:00
Readme + example of use
Co-authored-by: Knindzagxg <knindzagxg@gmail.com> Improved Readme Added sql example for easy testing (optional)
This commit is contained in:
13
README.md
13
README.md
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
This is a module for [AzerothCore](http://www.azerothcore.org) that adds Premium account features to players.
|
This is a module for [AzerothCore](http://www.azerothcore.org) that adds Premium account features to players.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
Current features:
|
Current features:
|
||||||
|
|
||||||
This module allows players to:
|
This module allows players to:
|
||||||
@@ -23,7 +25,7 @@ Upcoming features:
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
Premium module currently requires: players to import the sql into character datavase
|
Premium module currently requires: players to import the sql into character database
|
||||||
|
|
||||||
AzerothCore v1.0.1+
|
AzerothCore v1.0.1+
|
||||||
|
|
||||||
@@ -35,9 +37,9 @@ You can do clone it via git under the azerothcore/modules directory:
|
|||||||
|
|
||||||
`cd path/to/azerothcore/modules`
|
`cd path/to/azerothcore/modules`
|
||||||
|
|
||||||
`git clone https://github.com/talamortis/mod-premium.git`
|
`git clone https://github.com/azerothcore/mod-premium.git`
|
||||||
|
|
||||||
or you can manually [download the module](https://github.com/talamortis/mod-premium/archive/master.zip), unzip the premium folder and place it under the `azerothcore/modules` directory.
|
or you can manually [download the module](https://github.com/azerothcore/mod-premium/archive/master.zip), unzip the premium folder and place it under the `azerothcore/modules` directory.
|
||||||
|
|
||||||
assign the script to an item such as hearthstone using the script name 'premium_account'
|
assign the script to an item such as hearthstone using the script name 'premium_account'
|
||||||
|
|
||||||
@@ -50,6 +52,11 @@ assign the script to an item such as hearthstone using the script name 'premium_
|
|||||||
If you need to change the module configuration, go to your server configuration folder (e.g. **etc**), copy `premium.conf.dist` to `premium.conf` and edit it as you prefer.
|
If you need to change the module configuration, go to your server configuration folder (e.g. **etc**), copy `premium.conf.dist` to `premium.conf` and edit it as you prefer.
|
||||||
|
|
||||||
|
|
||||||
|
## Test the module
|
||||||
|
|
||||||
|
There is a SQL query so you can create an item and test it quickly.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
BIN
screenshots/item.png
Normal file
BIN
screenshots/item.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 211 KiB |
BIN
screenshots/script.png
Normal file
BIN
screenshots/script.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 536 KiB |
4
sql/example_item_9017.sql
Normal file
4
sql/example_item_9017.sql
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-- Replace an unused item (so no worries) by this one with the premium account script + description + item quality
|
||||||
|
-- Try the item with: .add 9017
|
||||||
|
|
||||||
|
REPLACE INTO `item_template` (`entry`, `class`, `subclass`, `SoundOverrideSubclass`, `name`, `displayid`, `Quality`, `Flags`, `FlagsExtra`, `BuyCount`, `BuyPrice`, `SellPrice`, `InventoryType`, `AllowableClass`, `AllowableRace`, `ItemLevel`, `RequiredLevel`, `RequiredSkill`, `RequiredSkillRank`, `requiredspell`, `requiredhonorrank`, `RequiredCityRank`, `RequiredReputationFaction`, `RequiredReputationRank`, `maxcount`, `stackable`, `ContainerSlots`, `StatsCount`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `ScalingStatDistribution`, `ScalingStatValue`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `delay`, `ammo_type`, `RangedModRange`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmRate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmRate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmRate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmRate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmRate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `description`, `PageText`, `LanguageID`, `PageMaterial`, `startquest`, `lockid`, `Material`, `sheath`, `RandomProperty`, `RandomSuffix`, `block`, `itemset`, `MaxDurability`, `area`, `Map`, `BagFamily`, `TotemCategory`, `socketColor_1`, `socketContent_1`, `socketColor_2`, `socketContent_2`, `socketColor_3`, `socketContent_3`, `socketBonus`, `GemProperties`, `RequiredDisenchantSkill`, `ArmorDamageModifier`, `duration`, `ItemLimitCategory`, `HolidayId`, `ScriptName`, `DisenchantID`, `FoodType`, `minMoneyLoot`, `maxMoneyLoot`, `flagsCustom`, `VerifiedBuild`) VALUES (9017, 15, 4, -1, 'Book of Powers', 1143, 7, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54406, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 'Premium Account Magic!\r\nUse with caution!\r\n\r\nAllowed by Brann Bronzebeard!', 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 'premium_account', 0, 0, 0, 0, 0, 12340);
|
||||||
Reference in New Issue
Block a user