Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #╔═════════════════════════════════════════════╗
- # ✖ WELCOME ✖
- #╚═════════════════════════════════════════════╝
- # Information
- # Author: @Religion
- # Version: 2.0
- # Contact: Tropical#9699
- #
- # Permissions:
- # disguise.use - Access to /disguise & /undisguise
- # disguise.admin - Access to /disguisecheck
- #
- # Like this Skript? Consider donating, everything helps :)
- # http://www.paypal.me/Religions
- #
- # If this script helped you, review it 5 stars here! Thanks in advance!
- # http://www.mc-market.org/resources/3800/
- #╔═════════════════════════════════════════════╗
- # ✖ CODE ✖
- #╚═════════════════════════════════════════════╝
- options:
- p: &8[&cDisguise&8]
- perm: &cYou do not have permission to disguise! Consider donating to unlock this feature!
- permadmin: &cYou must be Staff to use this command!
- command /pdisguise:
- permission: disguise.use
- permission message: {@perm}
- aliases: pd
- trigger:
- if {disguise.active.%uuid of player%} is not set:
- set {disguise.active.%uuid of player%} to true
- set {_disguise-name} to text from url "http://chromapvp.esy.es/kelime.php"
- send "{@p} &c&lWarning! &cThis command is logged!"
- send "{@p} &cStaff can see your real name!"
- send "{@p} &c&oGenerating your username&8..."
- wait 5 ticks
- send "{@p} &7You now appear as &c%{_disguise-name}%"
- send "{@p} &7To undisguise, use &c/pd"
- set {disguise::%player%} to {_disguise-name}
- make console execute command "/pex user %player% group add Disguised"
- make console execute command "/nick %player% %{_disguise-name}%"
- set player's display name to "&f%{_disguise-name}%"
- set player's tablist name to "&f%{_disguise-name}%"
- else if {disguise.active.%uuid of player%} is false:
- set {disguise.active.%uuid of player%} to true
- set {_disguise-name} to text from url "http://chromapvp.esy.es/kelime.php"
- send "{@p} &c&lWarning! &cThis command is logged!"
- send "{@p} &cStaff can see your real name!"
- send "{@p} &c&oGenerating your username&8..."
- wait 5 ticks
- send "{@p} &7You now appear as &c%{_disguise-name}%"
- send "{@p} &7To undisguise, use &c/pd"
- set {disguise::%player%} to {_disguise-name}
- make console execute command "/pex user %player% group add Disguised"
- make console execute command "/nick %player% %{_disguise-name}%"
- set player's display name to "&f%{_disguise-name}%"
- set player's tablist name to "&f%{_disguise-name}%"
- else if {disguise.active.%uuid of player%} is true:
- set {disguise.active.%uuid of player%} to false
- delete {disguise::%player%}
- make console execute command "/pex user %player% group remove Disguised"
- make console execute command "/nick %player% off"
- set player's display name to "%player%"
- set player's tablist name to "%player%"
- message "{@p} &7You are now undisguised."
- command /disguisecheck [<player>]:
- permission: disguise.admin
- permission message: {@permadmin}
- aliases: /dc
- trigger:
- arg 1 is not online:
- send "{@p} &cThat player is not online."
- if arg 1 is set:
- if arg 1 is online:
- if {disguise::%argument 1%} is set:
- message "{@p} &2%{disguise::%arg 1%}% &6&m----&r&8> &c%{Name::%argument 1%}%"
- else:
- send "{@p} &cPlayer is not disguised." to sender
- else:
- send "{@p} &cThat player is not online." to sender
- else:
- send "{@p} &c/disguisecheck &a<disguisename>" to sender
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement