Copy Trinitycore Core and Add Custom Function