Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- On first join:
- set {jaime.%player%} to 0
- set {jaimes.%player%} to 0
- Options:
- logo: &8[&cAime&8]
- erreur: &8[&cErreur&8]
- fan: &8[&e&lFan&8]
- command /jaime <player> [<text>]:
- aliases: j, aime
- trigger:
- if arg 1 is not set:
- message "{@erreur} &cFait /jaime, j, aime <Joueur>" to player
- if arg 1 is set:
- if arg 2 is not set:
- wait 2 ticks
- open chest with 3 rows named "&c%arg 1% &l> &cAime Ou Pas :D" to player
- wait 1 tick
- format slot 4 of player with arg 1's skull named "&4%arg 1%" with lore "&cJ'aime : %{jaime.%UUID of arg 1%}%||&8J'aime pas : %{jaimes.%UUID of arg 1%}%||&e&lFan : %{fan.%UUID of arg 1%}%" to be unstealable
- format slot 11 of player with Rose Red named "&cJ'aime" to be unstealable
- format slot 15 of player with Gray Dye named "&8J'aime Pas" to be unstealable
- format slot 13 of player with Beacon named "&eDevenir &lFan" to be unstealable
- if arg 2 is "oui":
- message "{@logo} Tu as envoyé un J'aime à &c%arg 1%" to player
- message "{@logo} Tu as reçu un J'aime de &c%player%" to arg 1
- add 1 to {jaime.%UUID of arg 1%}
- if {jaime.%UUID of arg 1%} <= 3:
- broadcast "&e&lLe joueur &6%arg 1% &e&lA obtenu 10 J'aimes !"
- if {jaime.%UUID of arg 1%} <= 35:
- broadcast "&e&lLe joueur &6%arg 1% &e&lA obtenu 35 J'aimes !"
- if arg 2 is "non":
- message "{@logo} Tu as envoyé J'aime pas à &c%arg 1%" to player
- message "{@logo} Tu as reçu un J'aime pas de &c%player%" to arg 1
- add 1 to {jaimes.%UUID of arg 1%}
- if arg 2 is "Fan":
- message "{@fan} Tu es devenu fan de &e%arg 1%" to player
- message "{@fan} Le joueur &e%player% &8Vous suit a partir de maintenant" to arg 1
- add 1 to {fan.%UUID of arg 1%}
- if arg 2 is "clear":
- message "{@logo} Tu as clear les j'aime/j'aime pas/fan" to player
- clear {jaime.%UUID of arg 1%}
- clear {jaimes.%UUID of arg 1%}
- clear {fan.%UUID of arg 1%}
Advertisement
Add Comment
Please, Sign In to add comment