Navigation

    CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    [LIQUIDBOUNCE SEX SCRIPT] AntiFDP 1.0 (Old)

    Scripts
    1
    1
    230
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Suicide Cheese
      Suicide Cheese last edited by

      gotta recode this, this is the old version

      /// api_version=2
      var script = registerScript({
          name: "AntiFDP",
          version: "1.0",
          authors: ["Fart Cheese"] 
      });
      
      var S02PacketChat = Java.type("net.minecraft.network.play.server.S02PacketChat");
      
      script.registerModule({
          name: "AntiFDP",
          category: "Fun", 
          description: "",
      	tag: "rice"
      }, function (module) {
          module.on('packet', function(e) {
              var packet = e.getPacket();
              if (packet instanceof S02PacketChat){
                  var chatmsg = packet.getChatComponent().getUnformattedText();
                  if (chatmsg.toLowerCase().contains("fdpcli") || chatmsg.toLowerCase().contains("getfdp")) {
                      e.cancelEvent();
                  }
              }
          });
      });
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post