Welcome to the MMOtop - Arcemu, Mangos, Trinity.
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Grandelf's Avatar
    Status : Grandelf is offline
    Join Date : Nov 2009
    Posts : 117
    Thanks: 1
    Thanked 23 Times in 13 Posts
    Rep Power : 4
    Reputation:153Grandelf has a spectacular aura about Grandelf has a spectacular aura about

    Default [Lua] Teleport to Players - Chat commands

    Credits Kerp.
    I shared this script here because there has been putted a lot of effort in this script.


    Here is a list of features this script comes with.
    • Cooldown - Yes you can set a cooldown on the port function.
    • Restrict zones - Restrict predefined ones like instances or choose your own.
    • Restrict Areas - Restrict your own areas to get more control.
    • Play a visual spell when the player ports.
    • Make it cost gold, tokens or require a donator rank.
    • Let the players choose if they want to be appearable - saves between restarts.
    • Players can block one person from appearing them - saves between restarts.
    • More commands for Gamemasters to make sure they can handle problems.

    Here is the list of commands.

    Code:
    --Player commands.
    local TeleCommand = "#telefriend " --The prefix you want to use for the players to write, eg: #telefriend "Name" without the " ".
    local tfPrefix = "#tf " -- The prefix used before the player commands.
    local EnableAppearing = "on" -- The command for players to enable other players to appear them.
    local DisableAppearing = "off" -- The command for players to disable players from appearing them.
    local BlockPlayer = "blockplr " -- The command for players to block a specific player from appearing them.
    local CheckBlockedPlayer = "checkblock" -- The command for players to see which person they have blocked.
    local RemoveBlocking = "removeblock" --The command for players to remove the person they have blocked.
    local AppearStatus = "status" -- The command for players to see if they can be appeared.
    local CheckCD = "cd" -- The command to check how long you have left on your cooldown.
    local Commands = "list" -- The command for players to list the commands they can use.
    ----------------------------------------------------------------------------------------------------------------
    --GM commands.
    local GMPrefix = "#tfgm " -- The prefix used before the GM commands.
    local EnableCommand = "enable" -- The command Gamemasters use to enable the script.
    local DisableCommand = "disable" -- The command Gamemasters use to disable the script.
    local StatusCommand = "status" -- The command Gamemasters use to display if the script is enabled or disabled.
    local ListCommand = "list" -- Command for Gamemasters to see which commands they can use.
    local CDPlrCommand = "clearplrcd " -- Command for Gamemasters to clear a cooldown for a specific player, because of a bug or as a reward.
    local CDAllCommand = "clearallcd" -- Command for Gamemaster to clear the cooldown for all the players, because of a bug or as a reward.
    local CDCheckCommand = "checkplrcd " -- Command for Gamemasters to see the cooldown for a specified player, if the cooldown for some reason would bug.
    I know there are a lot of options and some of them might be unnecessary, but I wanted to make the script as customizable as possible so that many servers could use it if they want to.

    You need to run this SQL query in your Character DB to use this scripts full potential.

    Code:
    CREATE TABLE `TeleportToFriend` (
       `ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
       `Name` varchar(13) DEFAULT NULL,
       `EnabledAppear` int(1) DEFAULT NULL,
       `Blocked` varchar(13) DEFAULT NULL, 
       PRIMARY KEY (`ID`)
     )
    You also need to add this to the bottom of your optional.conf to enable DB queries.

    Code:
    <LUAppArc AllowCharDBQueries="1">
    And finally here is the pastebin link to the script: [Only registered and activated users can see links. ]

    Even if you don't use it, please post what you think of it.
    That's all from me this time
    Thanks
    Kerp

  2. The Following User Says Thank You to Grandelf For This Useful Post:

    Deathwalks (05-05-2011)

  3. #2
    Jerry's Avatar
    Status : Jerry is offline
    Join Date : Mar 2009
    Location : Serbia
    Posts : 2,321
    Thanks: 223
    Thanked 501 Times in 286 Posts
    Rep Power : 10
    Reputation:2077Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute

    Default

    Thanks for share...

  4. #3
    Status : Hex00010 is offline
    Join Date : Feb 2010
    Posts : 3
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Rep Power : 0
    Reputation:10Hex00010 is on a distinguished road

    Default

    thanks

  5. #4
    ak47sigh's Avatar
    Status : ak47sigh is offline
    Join Date : Apr 2011
    Location : wow-like.com
    Posts : 76
    Thanks: 18
    Thanked 6 Times in 4 Posts
    Rep Power : 2
    Reputation:20ak47sigh is on a distinguished road

    Default

    Thanks for share & useful +rep

  6. #5
    Deathwalks's Avatar
    Status : Deathwalks is offline
    Join Date : Dec 2010
    Location : Ohio, U.S.A
    Posts : 187
    Thanks: 56
    Thanked 2 Times in 2 Posts
    Rep Power : 2
    Reputation:10Deathwalks is on a distinguished road

    Default

    Thank you for sharing Grandelf.


 

Similar Threads

  1. GM commands for MaNGOS
    By Rakic in forum Mangos Guides
    Replies: 6
    Last Post: 05-18-2011, 02:47 PM
  2. Mangos Gm Commands
    By Jerry in forum Mangos Guides
    Replies: 9
    Last Post: 03-03-2011, 09:52 PM
  3. [Release]VIP Teleport Commands
    By Jerry in forum Emulator Website / Script's Releases
    Replies: 2
    Last Post: 07-19-2010, 10:09 PM
  4. Topaz Chat
    By Jerry in forum Warcraft Tools
    Replies: 0
    Last Post: 03-26-2009, 07:24 PM

Visitors found this page by searching for:

trinity how to teleport player command

trinity teleport to playertrinity teleport commandstrinity teleport playerteleport to player trinityteleport on chat luateleport player to you trinityteleport to player script arcemuteleport a player trinityarcemu teleport to playertrinity teleport playerscommande trinity teleportergm commands for players(arcemu)‎ luawow arcemu lua teleport commandtrinitycore teleport player to youteleporter lua trinitytrinity teleport player to Playertrinity zu einen player teleportierenchatcommands in luaget player location lua chat commandprobleme teleporter player trinitytrinity player teleporttrinity port to player commandhow to teleport a player trinitywow teleport to player command trinity
SEO Blog

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts