Aller au contenu
  • 0

Test AntiCheat


Question

Posté(e)

Bonjour,

 

J'ai fais un AntiCheat mais je ne peux pas le tester car je ne trouve pas de bon cheat.

Si vous pouviez tester mon script sa serait sympa.

 

Cheat (qui devrait être ) détecté :

- autoclick

- fastbow

- fasteat

- inventorywalk

 

commande :

- /cheatwarn autoclick

- /xray

 

 

Addon :

- wildskript

- je crois que c'est tous

 

Je crois que j'ai tous dis.

 

Merci beaucoup

 

options:
   prefix: &f&l[&4&lCheatWarn&f&l]&r


on load:
   if folder "plugins/CheatWarn" doesn't exists:
       create folder "plugins/CheatWarn"
       wait 1 tick
on load:       
   if folder "plugins/CheatWarn/InventoryWalk" doesn't exists:
       create folder "plugins/CheatWarn/InventoryWalk"
   if folder "plugins/cheatwarn/AutoClick" doesn't exists:
       create folder "plugins/cheatwarn/AutoClick"
   if folder "plugins/cheatwarn/FastBow" doesn't exists:
       create folder "plugins/cheatwarn/FastBow"
   if folder "plugins/cheatwarn/FastFood" doesn't exists:
       create folder "plugins/cheatwarn/FastFood"
       # AutoClick

command /cheatwarn [<text>] [<player>]:
   aliases: cw
   permission: mod.*
   permission message: &cTu ne peux pas faire cette commande !
   trigger:
       if arg-1 is "autoclick":
           if arg-2 is set:
               set {autoclick.%player-arg%} to true
               send "{@prefix} &aVous aurez le nombre de cliques de &c%player-arg%&a dans 10 secondes"   
               wait 10 seconds
               set {autoclick.%player-arg%} to false
               send "{@prefix} &c%player-arg% &a> &4%{autoclick.%player-arg%.nombre}%"
               if file "plugins/CheatWarn/autoclick/%player-arg%.yml" doesn't exists:
                   create file "plugins/CheatWarn/AutoClick/%player-arg%.yml"
                   wf "Creation du fichier: %now%" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"
                   wf "IP : %player-arg's ip%" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"
                   wf "UUID : %player-arg's UUID%" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"
                   wf "" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"
                   wf "" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"
                   wf "[%now%] Verification par moderateur (%player%)" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"                   
                   wf "Nombre de cliques : %{autoclick.%player-arg%.nombre}%" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"
               else:
                   wf "" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"
                   wf "[%now%] Verification par moderateur (%player%)" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"
                   wf "Nombre de cliques : %{autoclick.%player-arg%.nombre}%" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"
                   delete {autoclick.%player%.nombre}
           else:
               send "{@prefix} &cIl faut mettre un joueur"


on leftclick:
   if {autoclick.%player%} is true:
       add 1 to {autoclick.%player%.nombre}

on rightclick:
   if {autoclick.%player%} is true:
       add 1 to {autoclick.%player%.nombre}



on leftclick:
   if {autoclick.%player%.auto} is true:
       add 1 to {autoclick.%player%.nombre.auto}

on rightclick:
   if {autoclick.%player%.auto} is true:
       add 1 to {autoclick.%player%.nombre.auto}



every 1 minute:
   loop all players:
       set {autoclick.%loop-player%.auto} to true
       wait 10 second
       set {autoclick.%loop-player%.auto} to false
       if {autoclick.%loop-player%.nombre.auto} > 80:
           if {autoclick.%loop-player%.nombre.auto} < 100:
               if {autoclick.%loop-player%.warn} is false:
                   set {autoclick.%loop-player%.warn} to true
                   send "{@prefix} &cLe jitterclick est interdit !"
       else if {autoclick.%loop-player%.nombre.auto} > 100:
           if file "plugins/CheatWarn/AutoClick/%loop-player%.yml" doesn't exists:
               create file "plugins/CheatWarn/AutoClick/%loop-player%"
               wf "Creation du fichier: %now%" to "plugins/CheatWarn/AutoClick/%loop-player%.yml"
               wf "IP : %player-arg's ip%" to "plugins/CheatWarn/AutoClick/%loop-player%.yml"
               wf "UUID : %player-arg's UUID%" to "plugins/CheatWarn/AutoClick/%loop-player%.yml"
               wf "" to "plugins/CheatWarn/AutoClick/%loop-player%.yml"
               wf "[%now%] Verification par CheatWarn" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"
               wf "Nombre de cliques : %{autoclick.%loop-player%.nombre.auto}%" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"
               delete {autoclick.%loop-player%.nombre.auto}
           else:
               wf "[%now%] Verification par CheatWarn" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"
               wf "Nombre de cliques : %{autoclick.%loop-player%.nombre.auto}%" to "plugins/CheatWarn/AutoClick/%player-arg%.yml"
               delete {autoclick.%loop-player%.nombre.auto}






on shoot:
   if projectile is an arrow:
       if difference between {fastbow.%shooter%} and now is less than 0.1 seconds:
           if tps is more than 18:
               if shooter's ping is less than 150:
                   set {fastbow.%shooter%} to now
                   if file "plugins/CheatWarn/FastBow/%shooter%" doesn't exists:
                       create file "plugins/CheatWarn/FastBow/%shooter%.yml"
                       wf "Creation du fichier: %now%" to "plugins/CheatWarn/FastBow/%shooter%.yml"
                       wf "IP : %shooter's ip%" to "plugins/CheatWarn/FastBow/%shooter%.yml"
                       wf "UUID : %shooter's UUID%" to "plugins/CheatWarn/FastBow/%shooter%.yml"
                       wf "" to "plugins/CheatWarn/FastBow/%shooter%.yml"
                       wf "" to "plugins/CheatWarn/FastBow/%shooter%.yml"
                       wf "[%now%] Verifié par CheatWarn" to "plugins/CheatWarn/FastBow/%shooter%.yml"
                   else:   
                       wf "[%now%] Verifié par CheatWarn" to "plugins/CheatWarn/FastBow/%shooter%.yml"





on consume:
   if player is not holding mushroom stew:
       if difference between {fastfood.%player%} and now < 0.7 seconds:
           if tps is more than 18:
               if player's ping is less than 150:
                   if file "plugins/CheatWarn/FastFood" doesn't exists:
                       create file "plugins/CheatWarn/FastFood/%player%.yml"
                       wf "Creation du fichier: %now%" to "plugins/CheatWarn/FastFood/%player%.yml"
                       wf "IP : %player's ip%" to "plugins/CheatWarn/FastFood/%player%.yml"
                       wf "UUID : %player's UUID%" to "plugins/CheatWarn/FastFood/%player%.yml"
                       wf "" to "plugins/CheatWarn/FastFood/%player%.yml"
                       wf "" to "plugins/CheatWarn/FastFood/%player%.yml"   
                       wf "[%now%] Verifié par CheatWarn" to "plugins/CheatWarn/FastFood/%player%.yml"
                   else:
                       wf "" to "plugins/CheatWarn/FastBow/%player%.yml"
                       wf "" to "plugins/CheatWarn/FastBow/%player%.yml"   
                       wf "[%now%] Verifié par CheatWarn" to "plugins/CheatWarn/FastBow/%player%.yml"


on rightclick:
   if player is not holding mushroom stew:
       set {fastfood.%player%} to now





on inventory open:
   set {inventory.%player%.position} to player's location
   wait 1 second
   if distance between player's location and {inventory.%player%.position} < 5:
       if file "plugins/CheatWarn/InventoryWalk/%player%.yml" doesn't exists:
           create file "plugins/CheatWarn/InventoryWalk/%player%.yml"
           wf "Creation du fichier: %now%" to "plugins/CheatWarn/InventoryWalk/%player%.yml"
           wf "IP : %player's ip%" to "plugins/CheatWarn/InventoryWalk/%player%.yml"
           wf "UUID : %player's UUID%" to "plugins/CheatWarn/InventoryWalk/%player%.yml"
           wf "" to "plugins/CheatWarn/InventoryWalk/%player%.yml"
           wf "" to "plugins/CheatWarn/InventoryWalk/%player%.yml" 
           wf "[%now%] Verifié par CheatWarn" to "plugins/CheatWarn/InventoryWalk/%player%.yml"
       else:
           wf "" to "plugins/CheatWarn/InventoryWalk/%player%.yml"
           wf "" to "plugins/CheatWarn/InventoryWalk/%player%.yml" 
           wf "[%now%] Verifié par CheatWarn" to "plugins/CheatWarn/InventoryWalk/%player%.yml"


command /xray [<text>] [<player>]:
   permission: "mod.*"
   permission message: &cTu ne peux pas faire cette commande
   trigger:
       if arg-1 is set:
           if arg-1 is "player" or "joueur" or "p":
               send "{@prefix} &f&lMode Ghost activé !"
               send "{@prefix} &f&lMode X-Ray activé !"
               make player execute command "/v on"
               clear player's inventory
               wait 1 tick
               give diamond ore named "appat" to player
               wait 30 ticks
               teleport player to player-arg
           if arg-1 is "random" or "r":
               if arg-2 is not set:
                   send "{@prefix} &f&lMode Ghost activé !"
                   send "{@prefix} &f&lMode X-Ray activé !"
                   make player execute command "/v on"
                   clear player's inventory
                   wait 1 tick       
                   give diamond ore named "appat" to player
                   wait 30 ticks
                   teleport player to a random player out of all players
               else:
                   send "{@prefix} &cIl ne faut pas mettre %arg-2%"






















13 réponses à cette question

Messages recommandés

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.