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.
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.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.
You need to run this SQL query in your Character DB to use this scripts full potential.
You also need to add this to the bottom of your optional.conf to enable DB queries.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`) )
And finally here is the pastebin link to the script: [Only registered and activated users can see links. ]Code:<LUAppArc AllowCharDBQueries="1">
Even if you don't use it, please post what you think of it.
That's all from me this time
Thanks
Kerp



LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks