Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Prefix: &6Modération &7→
- variables:
- {god::enabled::%player%} = 0
- on damage:
- if {god::enabled::%victim%} is 1:
- cancel event
- on place:
- if name of block is "&6Freeze &7(Clic-droit)":
- cancel event
- on drop:
- if name of event-item is "&6Freeze &7(Clic-droit)":
- cancel event
- on drop:
- if name of event-item is "&6Tuer le joueur &7(Clic-droit)":
- cancel event
- on drop:
- if name of event-item is "&6Tuer le joueur &7(Clic-droit)":
- cancel event
- on drop:
- if name of event-item is "&6Informations &7(Clic-droit)":
- cancel event
- on drop:
- if name of event-item is "&6Test Anti-KB":
- cancel event
- on drop:
- if name of event-item is "&6Fantom &7[&aINVISIBLE&7]":
- cancel event
- on drop:
- if name of event-item is "&6Fantom":
- cancel event
- on drop:
- if name of event-item is "&6Fantom &7[&cVISIBLE&7]":
- cancel event
- on drop:
- if name of event-item is "&6Effets | Potions &7(Clic-droit)":
- cancel event
- On Inventory click:
- If name of clicked item is "&6Freeze &7(Clic-droit)":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Tuer le joueur &7(Clic-droit)":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Test Anti-KB":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Informations &7(Clic-droit)":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Fantom":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Inventaire &7(Clic-droit)":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Vider le joueur &7(Clic-droit)":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Gestion Chat &7(Clic-droit)":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6TP Aléatoire &7(Clic-droit)":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Fantom &7[&aINVISIBLE&7]":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Fantom &7[&cVISIBLE&7]":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Effets | Potions &7(Clic-droit)":
- make the player execute command "modspg"
- On Inventory click:
- If name of clicked item is "&6Effets | Potions &7(Clic-droit)":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Brûler le joueur &7(clic-droit)":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Switch Tools 1 &7(Clic-droit)":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Switch Tools 1 &7(Clic-droit)":
- make the player execute command "modon"
- On Inventory click:
- If name of clicked item is "&6Switch Tools 2 &7(Clic-droit)":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6TS demande &7(Clic-droit)":
- Cancel event
- On Inventory click:
- If name of clicked item is "&6Switch Tools 2 &7(Clic-droit)":
- make the player execute command "modon2"
- On Inventory click:
- If name of clicked item is "&6Fly débug &7(Clic-droit)":
- Cancel event
- on weather change to rain or thunder:
- cancel event
- On rightclick with tnt:
- if name of player's tool is "&6TNT":
- make the player shoot a tnt
- stop
- on right click with ender chest on player:
- player has permission "TOOLS.MOD"
- if name of player's tool is "&6Inventaire &7(clic-droit)":
- if targeted entity is a player:
- make player execute command "/pinv %targeted entity%"
- #Commande: Activer son Modération Mode
- command /modon:
- permission: TOOLS.MOD
- permission message: &6Modération &7→ &eVous n'avez pas les droits de &7Modération&e.
- trigger:
- clear player's inventory
- set player's fly mode to true
- set {god::enabled::%player%} to 1
- apply saturation to player for 1 hour
- set slot 8 of the player to a book named "&6Informations &7(Clic-droit)" with lore "&7→ &eL'inventaire du joueur"
- set slot 7 of the player to a iron hoe named "&6Tuer le joueur &7(Clic-droit)" with lore "&7→ &eTuer le joueur"
- set {freeze::%player%} to true
- set slot 6 of the player to a slimeball of knockback 5 named "&6Test Anti-KB" with lore "&7→ &eTester le KB du joueur"
- set slot 1 of the player to a ice named "&6Freeze &7(Clic-droit)" with lore "&7→ &eGlacer le joueur visé"
- set slot 0 of the player to a nether star named "&6Fantom" with lore "&7→ &eÊtre Visible ou Invisible"
- set slot 2 of the player to a glass bottle named "&6Effets | Potions &7(Clic-droit)" with lore "&7→ &eAvoir un effet "
- set slot 5 of the player to a blaze powder named "&6Brûler le joueur &7(Clic-droit)" with lore "&7→ &eMet le joueur en feu"
- set slot 3 of the player to a feather named "&6Switch Tools 2 &7(Clic-droit)" with lore "&7→ &eVers la deuxième barre d'items"
- command /modon2:
- permission: "TOOLS.MOD"
- trigger:
- clear player's inventory
- set player's fly mode to true
- set {god::enabled::%player%} to 1
- apply saturation to player for 1 hour
- set {freeze::%player%} to true
- set slot 0 of the player to a shears named "&6Gestion Chat &7(Clic-droit)" with lore "&7→ &eGérer le chat du serveur"
- set slot 1 of the player to a tripwire hook named "&6TP Aléatoire &7(Clic-droit)" with lore "&7→ &eTéléportion aléatoire vers un joueur"
- set slot 4 of the player to a feather named "&6Switch Tools 1 &7(Clic-droit)" with lore "&7→ &eVers la première barre d'items"
- set slot 8 of the player to a ender chest named "&6Inventaire &7(Clic-droit)" with lore "&7→ &eVoir l'inventaire"
- set slot 7 of the player to a bones named "&6Vider le joueur &7(Clic-droit)" with lore "&7→ &eVider l'inventaire du joueur"
- set slot 2 of the player to a gray dye named "&6TS demande &7(Clic-droit)" with lore "&7→ &eDemander au joueur de venir sur TeamSpeak"
- set slot 6 of the player to a sugar named "&6Fly débug &7(Clic-droit)" with lore "&7→ &eEn cas de bug du fly"
- on drop:
- if {freeze::%player%} is true:
- cancel event
- on break:
- if {freeze::%player%} is true:
- cancel event
- on place:
- if {freeze::%player%} is true:
- cancel event
- command /modoff:
- permission: "TOOLS.MOD"
- trigger:
- clear player' inventory
- reveal player to all players
- set {vanish::%player%} to false
- set {god::enabled::%player%} to 0
- send "&6Modération &7→ &eVous n'avez plus vos items &7Modération&e."
- remove saturation from player
- set {freeze::%player%} to false
- remove speed from player
- if player's gamemode is survival:
- set player's fly mode to false
- on rightclick with nether star:
- player has permission "TOOLS.MOD"
- if name of player's tool contains "&6Fantom":
- if {vanish::%player%} is false:
- set {vanish::%player%} to true
- hide player to all players
- loop all players:
- if {vanish::%loop-player%} is true:
- reveal loop-player to player
- set name of player's tool to "&6Fantom &7[&aINVISIBLE&7]"
- set player's fly mode to true
- send "&6Modération &7→ &eVous êtes désormais un &fFantom&e." to player
- stop
- else if {vanish::%player%} is true:
- set player's fly mode to true
- reveal player to all players
- set {vanish::%player%} to false
- set name of player's tool to "&6Fantom &7[&cVISIBLE&7]"
- send "&6Modération &7→ &eVous n'êtes désormais plus un &fFantom&e." to player
- stop
- on right click with book on player:
- player has permission "TOOLS.MOD"
- if name of player's tool is "&6Informations &7(Clic-droit)":
- if targeted entity is a player:
- make player execute command "/pinfo %targeted entity%"
- on right click with iron hoe on player:
- player has permission "TOOLS.MOD"
- if name of player's tool is "&6Tuer le joueur &7(Clic-droit)":
- message "{@Prefix} &eJoueur tué." to player
- if targeted entity is a player:
- kill the clicked player
- on right click with gray dye on player:
- player has permission "TOOLS.MOD"
- if name of player's tool is "&6Ts demande &7(Clic-droit)":
- if targeted entity is a player:
- send "{@Prefix} &eUn Modérateur veut que tu viennes sur le TeamSpeak de Machinimine ! &cIP: ts.machinimine.fr"
- message "{@Prefix} &eMessage envoyé au joueur." to player
- on death of player:
- {freeze::%player%} is true:
- clear drops
- on right click with tripwire hook:
- player has permission "TOOLS.MOD"
- if name of player's tool is "&6TP Aléatoire &7(clic-droit)":
- set {tprdm::loc::%player%} to location of player
- teleport player to (random player out of all players)
- if random player out of all players is player:
- teleport player to {tprdm::loc::%player%}
- cancel event
- stop
- else if random player out of all players is not player:
- loop all players in radius 3 around player:
- set {_lol} to "%loop-player%"
- set player's fly mode to true
- on right click with blaze powder on player:
- player has permission "TOOLS.MOD"
- message "{@Prefix} &eLe joueur brûle." to player
- if name of player's tool is "&6Brûler le joueur &7(Clic-droit)":
- ignite the clicked player for 10 seconds
- on right click with bones on player:
- player has permission "TOOLS.MOD"
- if name of player's tool is "&6Vider le joueur &7(Clic-droit)":
- message "{@Prefix} &eInventaire du joueur vidé." to player
- clear inventory of the clicked player
- on right click with ice on player:
- player has permission "TOOLS.MOD"
- if name of player's tool is "&6Freeze &7(Clic-droit)":
- if targeted entity is a player:
- make player execute command "/modfreeze %targeted entity%"
- on right click with feather:
- player has permission "TOOLS.MOD"
- if name of player's tool is "&6Switch Tools 2 &7(Clic-droit)":
- make player execute command "/modon2"
- on right click with feather:
- player has permission "TOOLS.MOD"
- if name of player's tool is "&6Switch Tools 1 &7(Clic-droit)":
- make player execute command "/modon"
- on right click with sugar:
- message "{@Prefix} &eLes bugs avec votre fly son maintenant résolut." to player
- player has permission "TOOLS.MOD"
- if name of player's tool is "&6Fly Débug &7(Clic-droit)":
- set player's fly mode to true
- on death:
- if victim is a player:
- if attacker is a player:
- set {_lastloc} to location of victim
- wait 0 seconds
- Loop dropped items in radius 35 around block at {_lastloc}:
- Item is not Item Frame:
- clear dropped items
- on drop:
- {freeze::%player%} is true:
- cancel event
- on rightclick with glass bottle:
- player has permission "TOOLS.MOD"
- name of player's tool is "&6Effets | Potions &7(Clic-droit)":
- wait 0 tick
- open chest with 1 row named "&8Speed" to player
- format slot 0 of player with water bottle named "&6Speed 1" with lore "&7→ &eAvoir l'effect &7Speed 1" to close then run [make player execute command "/modsp s1"]
- format slot 1 of player with water bottle named "&6Speed 2" with lore "&7→ &eAvoir l'effect &7Speed 2" to close then run [make player execute command "/modsp s2"]
- format slot 7 of player with water bottle named "&5Night Vision" with lore "&7→ &eAvoir l'effect &7Night Vision" to close then run [make player execute command "/modsp n"]
- format slot 2 of player with water bottle named "&6Speed 3" with lore "&7→ &eAvoir l'effect &7Speed 2" to close then run [make player execute command "/modsp s3"]
- format slot 3 of player with water bottle named "&6Speed 4" with lore "&7→ &eAvoir l'effect &7Speed 2" to close then run [make player execute command "/modsp s4"]
- format slot 8 of player with red dye named "&cClear" with lore "&7→ &eSuprimer son effet de speed" to close then run [make player execute command "/modsp clear"]
- command /modspg:
- permission: "TOOLS.MOD"
- permission message: &6Modération &7→ &eVous n'avez pas les droits de &7Modération&e.
- trigger:
- wait 0 tick
- open chest with 1 row named "&8Speed" to player
- format slot 0 of player with water bottle named "&6Speed 1" with lore "&7→ &eAvoir l'effect &7Speed 1" to close then run [make player execute command "/modsp s1"]
- format slot 1 of player with water bottle named "&6Speed 2" with lore "&7→ &eAvoir l'effect &7Speed 2" to close then run [make player execute command "/modsp s2"]
- format slot 7 of player with water bottle named "&5Night Vision" with lore "&7→ &eAvoir l'effect &7Night Vision 2" to close then run [make player execute command "/modsp n"]
- format slot 2 of player with water bottle named "&6Speed 3" with lore "&7→ &eAvoir l'effect &7Speed 2" to close then run [make player execute command "/modsp s3"]
- format slot 3 of player with water bottle named "&6Speed 4" with lore "&7→ &eAvoir l'effect &7Speed 2" to close then run [make player execute command "/modsp s4"]
- format slot 8 of player with red dye named "&cClear" with lore "&7→ &eSuprimer son effet de speed" to close then run [make player execute command "/modsp clear"]
- command /modsp <text>:
- permission: "TOOLS.MOD"
- permission message: &6Modération &7→ &eVous n'avez pas les droits de &7Modération&e.
- trigger:
- if argument 1 isn't set:
- stop
- if argument 1 is "s1":
- apply speed 1 to the player for 1 hour
- message "{@Prefix} &eVous avez désormais l'effet &bSpeed 1&e."
- if argument 1 is "s2":
- apply speed 2 to the player for 1 hour
- message "{@Prefix} &eVous avez désormais l'effet &bSpeed 2&e."
- if argument 1 is "s3":
- apply speed 3 to the player for 1 hour
- message "{@Prefix} &eVous avez désormais l'effet &bSpeed 3&e."
- if argument 1 is "s4":
- apply speed 4 to the player for 1 hour
- message "{@Prefix} &eVous avez désormais l'effet &bSpeed 4&e."
- if argument 1 is "n":
- apply night vision 1 to the player for 1 hour
- message "{@Prefix} &eVous avez désormais l'effet &5Night Vision&e."
- if argument 1 is "clear":
- remove speed from player
- remove night vision from player
- message "{@Prefix} &eVous n'avez désormais plus les effets choisis."
- #Freez:
- options:
- Prefix: &6Modération &7→
- #Les variables:
- variables:
- {freeze::%player%::value} = false
- #Quand les joueurs font une commande et qu'il son freeze.
- on command:
- {freeze::%player%::value}
- cancel the event
- message "{@Prefix} &cVous ne pouvez pas executer de commande étant freeze."
- #Que les joueurs ne puisse pas bouger
- on any movement:
- {freeze::%player%::value}
- cancel the event
- set {_checktime} to now
- subtract 2 seconds from {_checktime}
- {freeze::%player%::lastused} is less than {_checktime}
- message "{@Prefix} &cVous ne pouvez pas bouger car vous êtes freeze."
- set {freeze.%player%.lastused} to now
- command /modfreeze [<player>]:
- trigger:
- arg 1 is not set:
- message "&cUsage: /modfreeze <joueur>"
- stop
- {freeze::%arg 1%::value} is not set:
- set {freeze::%arg 1%::value} to false
- player is arg 1:
- player does not have permission "TOOLS.MOD":
- message "{@Prefix} &eVous n'avez pas les droits de &7Modération&e."
- stop
- message "{@Prefix} &cVous ne pouvez pas vous freeze."
- stop
- not {freeze::%arg 1%::value}:
- player does not have permission "TOOLS.MOD":
- message "{@Prefix} &eVous n'avez pas les droits de &7Modération&e."
- stop
- set {freeze::%arg 1%::value} to true
- set {_templastused} to now
- subtract 1 hour from {_templastused}
- set {freeze::%arg 1%::lastused} to {_templastused}
- message "{@Prefix} &eVous avez freeze &7%arg 1%&e."
- message "{@Prefix} &eVous avez été freeze par &7%player%&e &e&l -----> &c&lVeulliez venir sur le TeamSpeak ! ts.machinimine.fr, si vous déconnectez vous serez banni !" to arg 1
- stop
- player does not have permission "TOOLS.MOD":
- message "{@Prefix} &eVous n'avez pas les droits de &7Modération&e."
- stop
- set {freeze::%arg 1%::value} to false
- set {_templastused} to now
- subtract 1 hour from {_templastused}
- set {freeze::%arg 1%::lastused} to {_templastused}
- message "{@Prefix} &eVous avez unfreeze &7%arg 1%&e."
- message "{@Prefix} &eVous avez été unfreeze par &7%player%&e, vous pouvez déconnecter." to arg 1
Advertisement
Add Comment
Please, Sign In to add comment