Jump to content

I need a new command like .tele for the players


Guest admzangetsu

Recommended Posts

See how the command itself is implemented, then find a way to duplicate part of the implementation (or modify it).

.tele -> Level1.cpp -> ChatHandler::HandleTeleCommand -> extractGameTeleFromLink -> Chat.cpp -> return objmgr.GetGameTele() -> ObjectMgr.cpp -> ObjectMgr::GetGameTele -> ...

or did I miss something?

Link to comment
Share on other sites

You could go into the `command` table in the database `mangos` and set the field with "tele" to security 0 to allow everyone to use teles. Then of course they could teleport everywhere you can.

Also a command as custom as this would be a core modification and probably not be implemented into MaNGOS.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use