MinePlugins Posté(e) le 21 juin 2015 Posté(e) le 21 juin 2015 Voici un petit youtuber GUI: Toute est dit dedans ;) command /youtube: usage: /youtube executable by: players aliases: /ytube, /youtubechannels trigger: open chest with 6 row named "&c&lYou&f&lTube" to player wait a tick set {_slot} to 0 loop {youtuber::*}: set {_head} to "%loop-value%" parsed as offline player format slot {_slot} of player with skull of {_head} named "&c&l%{_head}%" with lore "&3&l%{channel::%loop-index%}%" to close then run "sendmsg %player% &c&l%{_head}% http://YouTube.com/%{channel::%loop-index%}% %{_head}%" wait 3 tick add 1 to {_slot} command /youtubeadmin [<text>] [<text>] [<text>]: permission: youtube.admin trigger: if arg 1 is not set: send "&8&m===============[&r &aYoutube&r &8&m]===============" send "&a/youtubeadmin add (Joueur) (Chaine) &7Ajout un youtuber." send "&a/youtubeadmin remove (Joueur) (Chaine) &7Enlève un youtuber." if arg 1 is "add": if arg 2 is not set: send "&cTu n'as pas le pseudo" else: if arg 3 is not set: send "&cTu n'as pas la chaine" else: add arg 2 to {youtuber::*} add arg 3 to {channel::*} send "&aTu as bien mis le youtuber: %arg 2%" if arg 1 is "remove": if arg 2 is not set: send "&cTu n'as pas le pseudo" else: if arg 3 is not set: send "&cTu n'as pas la chaine" else: remove arg 2 from {youtuber::*} remove arg 3 from {channel::*} send "&aTu as bien retirer le youtuber: %arg 2%" command /sendmessage <player> <text> <text> <text>: executable by: console aliases: /sendmsg trigger: send json of "&7Chaine de %arg 2% &7&o(Click moi !)" tooltip "&7Clic pour voir la chaine de %arg 2%" open "%arg 3%" to arg-1 add 1 to {view.%arg 4%} command /youstats [<text>]: trigger: if arg is not set: send "&cTu n'as pas le pseudo" loop {youtuber::*}: if arg contains "%loop-value%": send "&7Le youtuber &c%loop-value% &7a &c%{view.%loop-value%}% &7vue sur le serveur." 3
Messages recommandés