-
Compteur de contenus
182 -
Inscription
-
Dernière visite
-
Jours gagnés
4
Type de contenu
Profils
Forums
Téléchargements
Tout ce qui a été posté par marc4700
-
on mine of iron ore: if player's tool is any pickaxe: cancel event set event-block to air drop 1 iron ingot at location of event-block
-
Essaie en remettant les tabs comme il faut, ça marche très bien chez moi. Edit: je viens de voir le 2e message au moment ou je poster le message.
-
on damage: if projectile is a snowball: damage the victim by 2 hearts
-
Event: Déplacer un objet de son Inventaire
marc4700 a répondu à un(e) question de ZertoxX_ dans Résolus
Oui, un exemple de comment l'utiliser: on inventory click: if gamemode of player is not creative: set {_slotinv.%player%} to clicked slot if slot {_slotinv.%player%} of player is a bread: cancel event -
Je t'en pris.
-
Si justement, ça va tomber au sol.
-
Voilà ;) on projectile hit: if projectile is a snowball: set {_thunder} to location of projectile strike lightning effect at {_thunder}
-
Elle était ligne 3 on any move: if {veriffly.%player%} is true: broadcast "%{veriffly.%player%}%" player's gamemode is not creative if {_cdpos} is not set : set {_cdpos} to true {_cdpos} is true set {_cdpos} to false set {_pos} to location of player wait 0.5 second set y-coord of {_pos} to y-coord of location of player if distance between {_pos} and player is bigger than 6: broadcast "<light red>Speed hack : % distance between {_pos} and player% m/s" set {_cdpos} to true
-
Et comme ça ? on any move: if {veriffly.%player%} is false: broadcast "%{veriffly.%player%}%" player's gamemode is not creative if {_cdpos} is not set : set {_cdpos} to true {_cdpos} is true set {_cdpos} to false set {_pos} to location of player wait 0.5 second set y-coord of {_pos} to y-coord of location of player if distance between {_pos} and player is bigger than 6: broadcast "<light red>Speed hack : % distance between {_pos} and player% m/s" set {_cdpos} to true
-
command /pref: trigger: display board named "&l&d&lS&2&lC" to player make score " " in board of player 7 make score "**********" in board of player 6 make score "&c&lVotre pseudo&8&l:" in board of player 5 make score "&l%player%" in board of player 4 make score "**********" in board of player 3 make score "**********" in board of player 2 make score "&a&lVotre grade:8&l:" in board of player 1 make score "%{grade.%UUID of player%}%" in board of player 0 move display of player to sidebar
-
Je t'en pris ;)
-
Tu peut faire en sorte que ça met une variable sur "true" pour éviter de vérifier quand un joueur se fait tp quand il lance une enderpearl. exemple: on rightclick: if tool of player is enderpearl: set {veriffly.%player%} to true wait 1 seconds if {veriffly.%player%} is true: set {veriffly.%player%} to false Ensuite tu ajoute la variable dans ton anticheat.
-
Je t'en pris ;)
-
enchant the player's helmet with protection 2
-
Je viens de voir que j'ai oublier d'ajouter "unique"... command /horsespawn: permission: horse.spawn trigger: spawn an unique "horse" horse colored "chestnut" with patterns of "whitefield" at player set {_horse.%player%} to spawned unique horse set {montureowner::%spawned unique horse%} to player teleport last spawned unique horse to player equip {_horse.%player%} with a saddle delete {_horse.%player%} command /horseride: permission: horse.ride trigger: loop entities in radius 50 around block at location of player: if {montureowner::%loop-entity%} is player: tame loop-entity to player make player ride loop-entity on vehicle exit: if {montureowner::%player's vehicle%} is set: kill vehicle of player delete {montureowner::%player's vehicle%}
-
Voilà: command /horsespawn: permission: horse.spawn trigger: spawn an unique "horse" horse colored "chestnut" with patterns of "whitefield" at player set {_horse.%player%} to spawned horse set {montureowner::%spawned horse%} to player teleport last spawned horse to player equip {_horse.%player%} with a saddle delete {_horse.%player%} command /horseride: permission: horse.ride trigger: loop entities in radius 50 around block at location of player: if {montureowner::%loop-entity%} is player: tame loop-entity to player make player ride loop-entity on vehicle exit: if {montureowner::%player's vehicle%} is set: kill vehicle of player delete {montureowner::%player's vehicle%}
-
Je t'en pris.
-
C'est corriger ;) command /givexp <number>: permission: give.xp trigger: loop all players: increase level progress of the player by arg
-
command /givexp <number>: permission: give.xp trigger: loop all players: give number-arg xp to the loop-players
-
on command: if command is "stop": loop all players: bungeecord connect loop-players to "Lobby" on unload: loop all players: bungeecord connect loop-players to "Lobby"
-
Fonctionnel: command /kickplayer: permission: * trigger: loop all players: add loop-player to {_kick player::*} size of {_kick player::*} is 0: message "Pas de joueurs à kicker... Personne en ligne" else: message "Joueurs :: %{_kick player::*}%" loop {_kick player::*}: send json of "%loop-value%" tooltip "Click pour kicker" run "/kick %loop-value% Test" to player
-
si tu met pas de chiffre avant oui.
-
Voilà ;) command /connexion <offlineplayer>: trigger: set {_text} to text from "plugins/connexion/%offlineplayer's uuid%_p%{pagelog.%offlineplayer's uuid%}%.txt" message "&6Connexion de &e%offlineplayer%:" message "%{_text}%" on join add 1 to {logconnect.%player's uuid%} if {pagelog.%player's uuid%} is not set: set {pagelog.%player's uuid%} to 1 if {logconnect.%player's uuid%} is 5: delete {logconnect.%player's uuid%} add 1 to {pagelog.%player's uuid%} wait 0.1 seconds wf "[%now%] %player% c'est connecté " to "plugins/connexion/%player's uuid%_p%{pagelog.%player's uuid%}.txt"
-
Après essaie: command /giveall <item>: permission message: &cEssaye encore description: Giveall permission: give.al trigger: loop all players: give arg to loop-players