Try adding this script to your server:
Code:
function Teach_OnEnterWorld(event, player)
if (player:GetPlayerClass() == "Warrior") then
player:LearnSpell(6673) -- Battle Shout 1
player:LearnSpell(3127) -- Parry
player:LearnSpell(15590) -- Fist Weapons
player:LearnSpell(266) -- Guns
player:LearnSpell(196) -- One-Handed Axes
player:LearnSpell(198) -- One-Handed Maces
player:LearnSpell(197) -- Two-Handed Axes
player:LearnSpell(199) -- Two-handed Maces
player:LearnSpell(264) -- Bows
player:LearnSpell(1180) -- Daggers
player:LearnSpell(200) -- Polearms
player:LearnSpell(227) -- Staves
player:LearnSpell(201) -- One-Handed Swords
player:LearnSpell(2567) -- Thrown
player:LearnSpell(202) -- Two-Handed Swords
elseif (player:GetPlayerClass() == "Shaman") then
player:LearnSpell(8737) -- Mail Armor
player:LearnSpell(8017) -- Rockbiter Weapon
player:LearnSpell(15590) -- Fist Weapons
player:LearnSpell(196) -- One-Handed Axes
player:LearnSpell(197) -- Two-Handed Axes
player:LearnSpell(199) -- Two-handed Maces
player:LearnSpell(1180) -- Daggers
elseif (player:GetPlayerClass() == "Paladin") then
player:LearnSpell(465) -- Devotion Aura 1
player:LearnSpell(3127) -- Parry
player:LearnSpell(202) -- Two-Handed Swords
player:LearnSpell(196) -- One-Handed Axes
player:LearnSpell(198) -- One-Handed Maces
player:LearnSpell(197) -- Two-Handed Axes
player:LearnSpell(199) -- Two-handed Maces
player:LearnSpell(200) -- Polearms
player:LearnSpell(201) -- One-Handed Swords
elseif (player:GetPlayerClass() == "Rogue") then
player:LearnSpell(674) -- Dual Wield
player:LearnSpell(3127) -- Parry
player:LearnSpell(1804) -- Pick Lock
player:LearnSpell(1784) -- Stealth
player:LearnSpell(15590) -- Fist Weapons
player:LearnSpell(266) -- Guns
player:LearnSpell(196) -- One-Handed Axes
player:LearnSpell(198) -- One-Handed Maces
player:LearnSpell(264) -- Bows
player:LearnSpell(1180) -- Daggers
player:LearnSpell(201) -- One-Handed Swords
player:LearnSpell(2567) -- Thrown
elseif (player:GetPlayerClass() == "Priest") then
player:LearnSpell(1243) -- Power Word: Fortitude 1
player:LearnSpell(198) -- One-Handed Maces
player:LearnSpell(1180) -- Daggers
player:LearnSpell(227) -- Staves
player:LearnSpell(5009) -- Wands
player:LearnSpell(5019) -- Wand Shoot
elseif (player:GetPlayerClass() == "Death Knight") then
player:LearnSpell(202) -- Two-Handed Swords
player:LearnSpell(196) -- One-Handed Axes
player:LearnSpell(198) -- One-Handed Maces
player:LearnSpell(197) -- Two-Handed Axes
player:LearnSpell(199) -- Two-handed Maces
player:LearnSpell(200) -- Polearms
player:LearnSpell(201) -- One-Handed Swords
elseif (player:GetPlayerClass() == "Mage") then
player:LearnSpell(1459) -- Arcane Intellect 1
player:LearnSpell(201) -- One-Handed Swords
player:LearnSpell(1180) -- Daggers
player:LearnSpell(227) -- Staves
player:LearnSpell(5009) -- Wands
player:LearnSpell(5019) -- Wand Shoot
elseif (player:GetPlayerClass() == "Warlock") then
player:LearnSpell(348) -- Immolate
player:LearnSpell(688) -- Summon Imp
player:LearnSpell(201) -- One-Handed Swords
player:LearnSpell(1180) -- Daggers
player:LearnSpell(227) -- Staves
player:LearnSpell(5009) -- Wands
player:LearnSpell(5019) -- Wand Shoot
elseif (player:GetPlayerClass() == "Druid") then
player:LearnSpell(1126) -- Mark of the Wild 1
player:LearnSpell(227) -- Staves
player:LearnSpell(198) -- One-Handed Maces
player:LearnSpell(199) -- Two-handed Maces
player:LearnSpell(1180) -- Daggers
player:LearnSpell(15590) -- Fist Weapons
player:LearnSpell(200) -- Polearms
elseif (player:GetPlayerClass() == "Hunter") then
player:LearnSpell(3127) -- Parry
player:LearnSpell(1494) -- Track Beasts
player:LearnSpell(15590) -- Fist Weapons
player:LearnSpell(266) -- Guns
player:LearnSpell(196) -- One-Handed Axes
player:LearnSpell(197) -- Two-Handed Axes
player:LearnSpell(264) -- Bows
player:LearnSpell(1180) -- Daggers
player:LearnSpell(200) -- Polearms
player:LearnSpell(227) -- Staves
player:LearnSpell(201) -- One-Handed Swords
player:LearnSpell(2567) -- Thrown
player:LearnSpell(202) -- Two-Handed Swords
end
end
RegisterServerHook(3, "Teach_OnEnterWorld")
It will teach all new characters their weapon training when they log into the game for the first time. Good luck!