Hello, this is just a simple script I made that I figured could come to good use for some.
What it does
It sends a mail to all new created characters showing its appreciation to the player choosing to play on the server. It also has an option within the script to also include a welcoming package that contains a number of things such as mana potions, health potions, rage potions, energy potions, food and drinks.
It also rewards player for leveling up, each 10th level it sends the player an exact gold amount of the level its receiving. You can also easily edit the levels targeted and the amount of money you'd receive if you don't mind counting of course. The player also gets notified about this via a broadcast message
Here is the options I made
local logo = "TrinityCore"
local package = true
local notify = true
local package_repeat = true
local first_package = 55000
local multiplication = 10000
You can probably tell already what these mean but in case not here's a short explanation.
Logo, this is just your server logo such as TotalyLegitServer-WoW as an example, this logo will be used within the letter and message.
package, this is where you can choose between sending an reward to the player for leveling up and first time logging in. true indicates activated and false indicates deactivated.
notify, this is an smaller option that if set to true it will send a notification message to a player when he reaches an level targeted within the script. And if set to false it will not be notified by a message just whenever they notice it.
package_repeat, with this option activated the present will be sent to the player every time he reaches a targeted level.
first_package, this is the item id set for the package (present), its set to 55000 by default because that is the entry id I have chosen for the present.
multiplication, this is math. It takes the players level and times that by the value in this so 10000 in this case makes level 10 earn 10 gold and 80 earn 80 gold.