Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=============================================#
- # Pitchout by NelGossem_ #
- #GoldenGames server : pvp.goldengames.fr:27470#
- #=============================================#
- option :
- pitchout.minplayer: 3 #Nombre de joueurs requit pour débuter la partie !
- wow: &b&l> &r
- {lifes.%player%}: 3 #Nombre de vie par joueurs
- #Commandes
- command /pitchoutadmin <text> [<text>]:
- permission: pitchoutadmin.perm
- trigger:
- if arg 1 is equal to "help":
- message "&6========= &4Pitchout by NelGossem_ &6========="
- send json "{@wow}&o&r&b/pitchout help &f- &7&oVous permez de voir la list des commandes !" styled gray tooltip "<gray>[ <light aqua>Click <gray>]" suggest "/pitchout help" to player
- send json "{@wow}&o&r&b/pitchoutadmin &f- &7&oVous permez de voir la list des commandes des administrateurs!" styled gray tooltip "<gray>[ <light aqua>Click <gray>]" suggest "/pitchoutadmin" to player
- send json "{@wow}&o&r&b/pitchoutadmin setlobbyspawn &f- &7&oVous permet de mettre le point de spawn de la salle d attente" styled gray tooltip "<gray>[ <light aqua>Click <gray>]" suggest "/pitchoutadmin setlobbyspawn" to player
- send json "{@wow}&o&r&b/pitchoutadmin addspawn 1/2/3/4/5/6/7/8/9/10&f- &7&oVous permez de rajouter un point de spawn" styled gray tooltip "<gray>[ <light aqua>Click <gray>]" suggest "/pitchoutadmin addspawn" to player
- send json "{@wow}&o&r&b/pitchoutadmin setfinspawn &f- &7&oVous permez de mettre le point de spawn après la fin des jeux" styled gray tooltip "<gray>[ <light aqua>Click <gray>]" suggest "/pitchoutadmin setfinspawn" to player
- send json "{@wow}&o&r&b/pitchoutadmin setsign join/leave &f- &7&oSysteme de pancarte automatisé" styled gray tooltip "<gray>[ <light aqua>Click <gray>]" suggest "/pitchoutadmin setsign" to player
- message "&6========= &4Pitchout by NelGossem_ &6========="
- if arg 1 doesn't exist:
- make player execute "pitchoutadmin help"
- stop
- if arg 1 is equal to "setlobbyspawn":
- set {pitchout.lobby} to location of player
- message "&6Pitchout &4&l> &7{pitchout.lobby}"
- if arg 1 is equal to "addspawn":
- if arg 2 is not set:
- send json "{@wow}&o&r&b/pitchoutadmin addspawn 1/2/3/4/5/6/7/8/9/10&f- &7&oVous permez de rajouter un point de spawn" styled gray tooltip "<gray>[ <light aqua>Click <gray>]" suggest "/pitchoutadmin addspawn" to player
- if arg 2 is equal to "1":
- set {pitchout.spawn1} to location of player
- message "&6Pitchout &4&l> &7{pitchout1.spawn}"
- if arg 2 is equal to "2":
- set {pitchout.spawn1} to location of player
- message "&6Pitchout &4&l> &7{pitchout2.spawn}"
- if arg 2 is equal to "3":
- set {pitchout.spawn3} to location of player
- message "&6Pitchout &4&l> &7{pitchout3.spawn}"
- if arg 2 is equal to "4":
- set {pitchout.spawn4} to location of player
- message "&6Pitchout &4&l> &7{pitchout4.spawn}"
- if arg 2 is equal to "5":
- set {pitchout.spawn5} to location of player
- message "&6Pitchout &4&l> &7{pitchout5.spawn}"
- if arg 2 is equal to "6":
- set {pitchout.spawn6} to location of player
- message "&6Pitchout &4&l> &7{pitchout6.spawn}"
- if arg 2 is equal to "7":
- set {pitchout.spawn7} to location of player
- message "&6Pitchout &4&l> &7{pitchout7.spawn}"
- if arg 2 is equal to "8":
- set {pitchout.spawn8} to location of player
- message "&6Pitchout &4&l> &7{pitchout8.spawn}"
- if arg 2 is equal to "9":
- set {pitchout.spawn9} to location of player
- message "&6Pitchout &4&l> &7{pitchout9.spawn}"
- if arg 2 is equal to "10":
- set {pitchout.spawn10} to location of player
- message "&6Pitchout &4&l> &7{pitchout10.spawn}"
- if arg 1 is equal to "setfinspawn":
- set {pitchout.finspawn} to location of player
- message "&6Pitchout &4&l> &7{pitchout.finspawn}"
- if arg 1 is equal to "setsign":
- arg 2 is "join":
- {pitchout.configure_sign.leave} is true
- send "&eVous configurez déjà le panneau de Leave"
- stop
- set {pitchout.configure_sign.join} to true
- send "&eFaites un clic droit sur le panneau de Join"
- arg 2 is "leave":
- {pitchout.configure_sign.join} is true
- send "&eVous configurez déjà le panneau de Join"
- stop
- set {pitchout.configure_sign.leave} to true
- send "&eFaites un clic droit sur le panneau de Leave"
- command /pitchout [<text>] <text>:
- trigger:
- if arg 1 is equal to "help":
- message "&6========= &4Pitchout by NelGossem_ &6========="
- send json "{@wow}&o&r&b/pitchout help &f- &7&oVous permez de voir la list des commandes !" styled gray tooltip "<gray>[ <light aqua>Click <gray>]" suggest "/pitchout help" to player
- send json "{@wow}&o&r&b/pitchoutadmin &f- &7&oVous permez de voir la list des commandes des administrateurs!" styled gray tooltip "<gray>[ <light aqua>Click <gray>]" suggest "/pitchoutadmin" to player
- send json "{@wow}&o&r&b/pitchout join/enter/play &f- &7&oVous permez de rejoindre une partie !" styled gray tooltip "<gray>[ <light aqua>Click <gray>]" suggest "/pitchout join" to player
- send json "{@wow}&o&r&b/pitchout leave/quite/exite &f- &7&oVous permez de quitter une partie" styled gray tooltip "<gray>[ <light aqua>Click <gray>]" suggest "/pitchout leave" to player
- message "&6========= &4Pitchout by NelGossem_ &6========="
- if arg 1 doesn't exist:
- make player execute "pitchout help"
- stop
- if arg 1 is equal to "join" or "enter" or "play":
- execute console command "clear %player%"
- message "&6Pitchout &4&l> &7Vous avez rejoint la partie"
- set {wanted.%player%} to player argument
- add 1 to {pitchout.numbre_player}
- teleport player to {pitchout.lobby}
- set {pitchout.invincible} to true
- give an bed named "&3Leave" with lore "Veux-tu quitter ?" to slot 8 of player's inventory
- if arg 1 is equal to "leave" or "quite" or "exite":
- message "&6Pitchout &4&l> &7Vous avez quitter la partie"
- teleport player to {pitchout.finspawn}
- set {pitchout.invincible} to false
- #Vous n avez pas le droit de ... au lobby du jeu ou pendant les jeux :
- on break:
- if {pitchout.invincible} is true:
- cancel event
- on place:
- if {pitchout.invincible} is true:
- cancel event
- On Hunger Meter Change:
- if {pitchout.invincible} is true:
- cancel event
- set the player's food level to 10
- on exiting of region "LimitePitchout":
- teleport player to {pitchout.lobby}
- On damage:
- victim is a player
- attacker is a player
- if {pitchout.invincible} is true:
- cancel event
- On rightclick with bed:
- if {pitchout.invincible} is true:
- make player execute "pitchout leave"
- On join:
- if {pitchout.invincible} is true:
- teleport player to {pitchout.finspawn}
- set {pitchout.invincible} to false
- on drop:
- if {pitchout.invincible} is true:
- cancel event
- on exiting of region "LimitePitchoutGame":
- if {pitchout.gamestarted} is true:
- remove 1 to {lifes.%player%}
- On right click on sign:
- player is op
- {pitchout.configure_sign.join} is true:
- set {pitchout.sign_location} to location of clicked block
- set first line of clicked block to "&a[&bPitchout&a]"
- set second line of clicked block to "&aRejoindre la partie"
- set {pitchout.configure_sign.join} to false
- {pitchout.configure_sign.leave} is true:
- set {pitchout.sign_location} to location of clicked block
- set first line of clicked block to "&a[&bPitchout&a]"
- set second line of clicked block to "&aQuitter la partie"
- set {pitchout.configure_sign.leave} to false
- On right click on sign:
- first line of clicked block is "&a[&bPitchout&a]"
- second line of clicked block is "&aRejoindre la partie"
- make player execute command "/pitchout join"
- stop
- second line of clicked block is "&aQuitter la partie"
- make player execute command "/pitchout leave"
- stop
Advertisement
Add Comment
Please, Sign In to add comment