Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /sethistory:
- trigger:
- if player is op:
- set {HISTORY} to player's location
- send "&aLocation set"
- function Histoire(p: player):
- teleport {_p} to {HISTORY}
- function bypassContains(p: player) :: boolean:
- loop {bypassworld::*}:
- if loop-value is {_p}:
- return true
- return false
- on break:
- if bypassContains(player) is false:
- if player's world is "world":
- cancel event
- on place:
- if bypassContains(player) is false:
- if player's world is "world":
- cancel event
- command /bypassworld [<text>] [<player>]:
- permission: admin.bypassworld
- permission message: &cTu ne peux pas faire ceci.
- trigger:
- if arg-1 is "add":
- if arg-2 is set:
- if {bypassworld::%arg-2%} is set:
- message "&cCe joueur est déjà autorisé a faire ceci"
- else:
- add arg-2 to {bypassworld::*}
- message "&aJoueur ajouté"
- message "&aAjouté a la liste des joueurs autorisés a build dans world" to arg-2
- else:
- message "&cIndique un joueur."
- else if arg-1 is "remove":
- if arg-2 is set:
- if {bypassworld::%arg-2%} is set:
- remove arg-2 from {bypassworld::*}
- message "&aJoueur retiré"
- message "&aRetiré a la liste des joueurs autorisés a build dans world" to arg-2
- else:
- message "&cCe joueur n'est pas autorisé a faire ceci"
- else if arg-1 is "list":
- message "&aJoueurs : %{bypassworld::*}%"
- else:
- message "/bypassworld <add/remove/list>"
- function tutorialEndGUI(p: player):
- open virtual chest inventory with 5 rows named "&cChoisis ta classe..." to {_p}
- format gui slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 37, 38, 39, 40, 41, 42, 43 and 44 of {_p} with blue stained glass pane named "&cChoisis ta classe..." to do nothing
- format gui slot 10, 11, 12, 13, 14, 15, 16, 19, 21, 23, 25, 28, 29, 30, 31, 32, 33 and 34 of {_p} with white stained glass pane named "&cChoisis ta classe..." to do nothing
- format gui slot 20 of {_p} with iron sword named "&6&lGuerrier !" with lore "&r||&7&m------------------------------||&r||&8&l » &cChoisis cette classe uniquement si tu penses ||&cêtre un bon guerrier...||&r||&8&l » &eGrâce à cette classe...||&fblabla||&fblabla||&fblabla||&r||&7&m------------------------------||&r||&7&oClique pour choisir cette classe..."
- format gui slot 22 of {_p} with bow named "&a&lArcher !" with lore "&r||&7&m------------------------------||&r||&8&l » &cChoisis que si tes talents d'archers ont déjà||&cfait leurs preuves...||&r||&8&l » &eGrâce à cette classe...||&fblabla||&fblabla||&fblabla||&r||&7&m------------------------------||&r||&7&oClique pour choisir cette classe..."
- format gui slot 24 of {_p} with blaze powder named "&5&lMage !" with lore "&r||&7&m------------------------------||&r||&8&l » &cChoisis cette classe seulement si tu sais manier||&ctoute sorte de sorts...||&r||&8&l » &eGrâce à cette classe...||&fblabla||&fblabla||&fblabla||&r||&7&m------------------------------||&r||&7&oClique pour choisir cette classe..."
- command /testgui:
- trigger:
- tutorialEndGUI(player)
Advertisement
Add Comment
Please, Sign In to add comment