Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. Chinese
  3. Protect JS Lib接口版(保护你的JS不被圈钱带神所利用)

Protect JS Lib接口版(保护你的JS不被圈钱带神所利用)

Scheduled Pinned Locked Moved Chinese
confighudjs protect付费配置
8 Posts 6 Posters 3.9k Views
  • 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.
  • CookieChineseC Offline
    CookieChineseC Offline
    CookieChinese
    wrote on last edited by CookieChinese
    #1

    Protect logo.png
    若想使用需要一定JS基础。

    欢迎来到Protect JS Lib版本!
    作者:
    mumy: 重新制作,As丶One:最初版开发,Cookie:更新

    我该如何使用它?
    将此解压到Liquidbounce/script目录里
    将你所需保护的JS添加以下内容

    function protect() {
        var label = {
            global: ["(全局关键词)"],
            hud: {
                text: ["(HUD的关键词)"]
            },
            title: {
                title: ["(标题的关键词)"]
            }
        };
        try {
            return (script.import("lib/protectFunction[simplified].js"), inspection(label));
        } catch (err) {
            return false;
        }
    }
    //如果检查到异常就返回false反之true
    
    

    Global为全局变量
    假如我要检测 内部 这俩字
    示例:

    function protect() {
        var label = {
            global: ["内部", "内", "部"],
            hud: {
                text: []
            },
            title: {
                title: []
            }
        };
        try {
            return (script.import("lib/protectFunction[simplified].js"), inspection(label));
        } catch (err) {
            return false;
        }
    }
    //如果检查到异常就返回false反之true
    
    

    整体JS示例展示:

    var scriptName = "AntiBotScript";
    var scriptVersion = 1.0;
    var scriptAuthor = "mumy & Cookie";
    
    var EntityUtils = Java.type('net.ccbluex.liquidbounce.utils.EntityUtils');
    
    var AntiBotScript = new AntiBotScript();
    var client;
    
    function protect() {
        var label = {
            global: ["(全局关键词)"],
            hud: {
                text: ["(HUD的关键词)"]
            },
            title: {
                title: ["(标题的关键词)"]
            }
        };
        try {
            return (script.import("lib/protectFunction[simplified].js"), inspection(label));
        } catch (err) {
            return false;
        }
    }
    //如果检查到异常就返回false反之true
    
    function AntiBotScript() {
        
        var flag = !protect();
    	//声明一个变量来记录是否异常
        
        this.getName = function() {
            return "AntiBotScript";
        }
        
        this.getDescription = function() {    
            return "Example By mumy & Cookie";
        }
        
        this.getCategory = function() {
            return "Misc";
        }
        
        this.getTag = function() {
            return "Custom";
        }
        
        this.onUpdate = function() {
            if (flag) {
                return;
    			//如果异常将不执行
            }
            var list = mc.theWorld.loadedEntityList;
            for (var i in list) {
                var entity = list[i];
                if (EntityUtils.isSelected(entity, true)) {
                    mc.theWorld.removeEntity(entity);
                }
            }
        }
    }
    
    function onLoad() {}
    
    function onEnable() {
        client = moduleManager.registerModule(AntiBotScript);
    }
    
    function onDisable() {
        moduleManager.unregisterModule(client);
    }
    

    Silence对接检测:

    function protect() {
        var label = {
            global: ["内部", "内", "部","夜","Silence","-1000","CoCoA"],
            hud: {
                text: ["X: [ %x% ] Y: [ %y% ] Z: [ %z% ]","Date: [ %date%-%time% ]"]
            },
            title: {
                title: ["Fix Teams and Animations"]
            }
        };
        try {
            return (script.import("lib/protectFunction[simplified].js"), inspection(label));
        } catch (err) {
            return false;
        }
    }
    

    官方推荐检测:

    function protect() {
        var label = {
            global: ["AsFly2", "AsFly_", "HytFly", "内部", "群", "group", "ruanhe", "revel", "时", "分", "秒", "魔", "暴", "sense", "Launcher", "fanqie", "QQ", "xiaoda", "liquidcold", "rosalba", "liying", "LGY", "cherryhacker", "渣", "内", "Cynicism", "Nightsky", "甲", "妈", "血", "妖", "灵", "RMB", "Group", "Belphegor", "商", "实", "体", "费", "Alan", "QQ", "号", "群", "爆", "L配", "爹", "龟", "马", "杀妈", "vape"],
            hud: {
                text: ["内部","付费","钱","money"]
            },
            title: {
                title: []
            }
        };
        try {
            return (script.import("lib/protectFunction[simplified].js"), inspection(label));
        } catch (err) {
            return false;
        }
    }
    
    

    此Lib包含什么检测?
    标题检测
    群号检测
    界面检测
    功能检测
    关键词检测
    .........

    检测到的配置会有什么惩罚?
    Protect JS当检测到违禁词时会让你的JS失效,从而导致他人无法使用

    下载:
    Protect Lib.zip

    CookieChineseC 2 Replies Last reply
    0
    • CookieChineseC CookieChinese

      Protect logo.png
      若想使用需要一定JS基础。

      欢迎来到Protect JS Lib版本!
      作者:
      mumy: 重新制作,As丶One:最初版开发,Cookie:更新

      我该如何使用它?
      将此解压到Liquidbounce/script目录里
      将你所需保护的JS添加以下内容

      function protect() {
          var label = {
              global: ["(全局关键词)"],
              hud: {
                  text: ["(HUD的关键词)"]
              },
              title: {
                  title: ["(标题的关键词)"]
              }
          };
          try {
              return (script.import("lib/protectFunction[simplified].js"), inspection(label));
          } catch (err) {
              return false;
          }
      }
      //如果检查到异常就返回false反之true
      
      

      Global为全局变量
      假如我要检测 内部 这俩字
      示例:

      function protect() {
          var label = {
              global: ["内部", "内", "部"],
              hud: {
                  text: []
              },
              title: {
                  title: []
              }
          };
          try {
              return (script.import("lib/protectFunction[simplified].js"), inspection(label));
          } catch (err) {
              return false;
          }
      }
      //如果检查到异常就返回false反之true
      
      

      整体JS示例展示:

      var scriptName = "AntiBotScript";
      var scriptVersion = 1.0;
      var scriptAuthor = "mumy & Cookie";
      
      var EntityUtils = Java.type('net.ccbluex.liquidbounce.utils.EntityUtils');
      
      var AntiBotScript = new AntiBotScript();
      var client;
      
      function protect() {
          var label = {
              global: ["(全局关键词)"],
              hud: {
                  text: ["(HUD的关键词)"]
              },
              title: {
                  title: ["(标题的关键词)"]
              }
          };
          try {
              return (script.import("lib/protectFunction[simplified].js"), inspection(label));
          } catch (err) {
              return false;
          }
      }
      //如果检查到异常就返回false反之true
      
      function AntiBotScript() {
          
          var flag = !protect();
      	//声明一个变量来记录是否异常
          
          this.getName = function() {
              return "AntiBotScript";
          }
          
          this.getDescription = function() {    
              return "Example By mumy & Cookie";
          }
          
          this.getCategory = function() {
              return "Misc";
          }
          
          this.getTag = function() {
              return "Custom";
          }
          
          this.onUpdate = function() {
              if (flag) {
                  return;
      			//如果异常将不执行
              }
              var list = mc.theWorld.loadedEntityList;
              for (var i in list) {
                  var entity = list[i];
                  if (EntityUtils.isSelected(entity, true)) {
                      mc.theWorld.removeEntity(entity);
                  }
              }
          }
      }
      
      function onLoad() {}
      
      function onEnable() {
          client = moduleManager.registerModule(AntiBotScript);
      }
      
      function onDisable() {
          moduleManager.unregisterModule(client);
      }
      

      Silence对接检测:

      function protect() {
          var label = {
              global: ["内部", "内", "部","夜","Silence","-1000","CoCoA"],
              hud: {
                  text: ["X: [ %x% ] Y: [ %y% ] Z: [ %z% ]","Date: [ %date%-%time% ]"]
              },
              title: {
                  title: ["Fix Teams and Animations"]
              }
          };
          try {
              return (script.import("lib/protectFunction[simplified].js"), inspection(label));
          } catch (err) {
              return false;
          }
      }
      

      官方推荐检测:

      function protect() {
          var label = {
              global: ["AsFly2", "AsFly_", "HytFly", "内部", "群", "group", "ruanhe", "revel", "时", "分", "秒", "魔", "暴", "sense", "Launcher", "fanqie", "QQ", "xiaoda", "liquidcold", "rosalba", "liying", "LGY", "cherryhacker", "渣", "内", "Cynicism", "Nightsky", "甲", "妈", "血", "妖", "灵", "RMB", "Group", "Belphegor", "商", "实", "体", "费", "Alan", "QQ", "号", "群", "爆", "L配", "爹", "龟", "马", "杀妈", "vape"],
              hud: {
                  text: ["内部","付费","钱","money"]
              },
              title: {
                  title: []
              }
          };
          try {
              return (script.import("lib/protectFunction[simplified].js"), inspection(label));
          } catch (err) {
              return false;
          }
      }
      
      

      此Lib包含什么检测?
      标题检测
      群号检测
      界面检测
      功能检测
      关键词检测
      .........

      检测到的配置会有什么惩罚?
      Protect JS当检测到违禁词时会让你的JS失效,从而导致他人无法使用

      下载:
      Protect Lib.zip

      CookieChineseC Offline
      CookieChineseC Offline
      CookieChinese
      wrote on last edited by
      #2

      @cookiechinese 正在进行重写

      1 Reply Last reply
      0
      • skiddermaster412S Offline
        skiddermaster412S Offline
        skiddermaster412
        wrote on last edited by
        #3
        This post is deleted!
        ENDER1355v1E 1 Reply Last reply
        0
        • skiddermaster412S skiddermaster412

          This post is deleted!

          ENDER1355v1E Offline
          ENDER1355v1E Offline
          ENDER1355v1
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • I Offline
            I Offline
            ibook
            wrote on last edited by
            #5

            支持支持支持支持支持支持支持支持支持支持

            1 Reply Last reply
            0
            • CookieChineseC CookieChinese

              Protect logo.png
              若想使用需要一定JS基础。

              欢迎来到Protect JS Lib版本!
              作者:
              mumy: 重新制作,As丶One:最初版开发,Cookie:更新

              我该如何使用它?
              将此解压到Liquidbounce/script目录里
              将你所需保护的JS添加以下内容

              function protect() {
                  var label = {
                      global: ["(全局关键词)"],
                      hud: {
                          text: ["(HUD的关键词)"]
                      },
                      title: {
                          title: ["(标题的关键词)"]
                      }
                  };
                  try {
                      return (script.import("lib/protectFunction[simplified].js"), inspection(label));
                  } catch (err) {
                      return false;
                  }
              }
              //如果检查到异常就返回false反之true
              
              

              Global为全局变量
              假如我要检测 内部 这俩字
              示例:

              function protect() {
                  var label = {
                      global: ["内部", "内", "部"],
                      hud: {
                          text: []
                      },
                      title: {
                          title: []
                      }
                  };
                  try {
                      return (script.import("lib/protectFunction[simplified].js"), inspection(label));
                  } catch (err) {
                      return false;
                  }
              }
              //如果检查到异常就返回false反之true
              
              

              整体JS示例展示:

              var scriptName = "AntiBotScript";
              var scriptVersion = 1.0;
              var scriptAuthor = "mumy & Cookie";
              
              var EntityUtils = Java.type('net.ccbluex.liquidbounce.utils.EntityUtils');
              
              var AntiBotScript = new AntiBotScript();
              var client;
              
              function protect() {
                  var label = {
                      global: ["(全局关键词)"],
                      hud: {
                          text: ["(HUD的关键词)"]
                      },
                      title: {
                          title: ["(标题的关键词)"]
                      }
                  };
                  try {
                      return (script.import("lib/protectFunction[simplified].js"), inspection(label));
                  } catch (err) {
                      return false;
                  }
              }
              //如果检查到异常就返回false反之true
              
              function AntiBotScript() {
                  
                  var flag = !protect();
              	//声明一个变量来记录是否异常
                  
                  this.getName = function() {
                      return "AntiBotScript";
                  }
                  
                  this.getDescription = function() {    
                      return "Example By mumy & Cookie";
                  }
                  
                  this.getCategory = function() {
                      return "Misc";
                  }
                  
                  this.getTag = function() {
                      return "Custom";
                  }
                  
                  this.onUpdate = function() {
                      if (flag) {
                          return;
              			//如果异常将不执行
                      }
                      var list = mc.theWorld.loadedEntityList;
                      for (var i in list) {
                          var entity = list[i];
                          if (EntityUtils.isSelected(entity, true)) {
                              mc.theWorld.removeEntity(entity);
                          }
                      }
                  }
              }
              
              function onLoad() {}
              
              function onEnable() {
                  client = moduleManager.registerModule(AntiBotScript);
              }
              
              function onDisable() {
                  moduleManager.unregisterModule(client);
              }
              

              Silence对接检测:

              function protect() {
                  var label = {
                      global: ["内部", "内", "部","夜","Silence","-1000","CoCoA"],
                      hud: {
                          text: ["X: [ %x% ] Y: [ %y% ] Z: [ %z% ]","Date: [ %date%-%time% ]"]
                      },
                      title: {
                          title: ["Fix Teams and Animations"]
                      }
                  };
                  try {
                      return (script.import("lib/protectFunction[simplified].js"), inspection(label));
                  } catch (err) {
                      return false;
                  }
              }
              

              官方推荐检测:

              function protect() {
                  var label = {
                      global: ["AsFly2", "AsFly_", "HytFly", "内部", "群", "group", "ruanhe", "revel", "时", "分", "秒", "魔", "暴", "sense", "Launcher", "fanqie", "QQ", "xiaoda", "liquidcold", "rosalba", "liying", "LGY", "cherryhacker", "渣", "内", "Cynicism", "Nightsky", "甲", "妈", "血", "妖", "灵", "RMB", "Group", "Belphegor", "商", "实", "体", "费", "Alan", "QQ", "号", "群", "爆", "L配", "爹", "龟", "马", "杀妈", "vape"],
                      hud: {
                          text: ["内部","付费","钱","money"]
                      },
                      title: {
                          title: []
                      }
                  };
                  try {
                      return (script.import("lib/protectFunction[simplified].js"), inspection(label));
                  } catch (err) {
                      return false;
                  }
              }
              
              

              此Lib包含什么检测?
              标题检测
              群号检测
              界面检测
              功能检测
              关键词检测
              .........

              检测到的配置会有什么惩罚?
              Protect JS当检测到违禁词时会让你的JS失效,从而导致他人无法使用

              下载:
              Protect Lib.zip

              CookieChineseC Offline
              CookieChineseC Offline
              CookieChinese
              wrote on last edited by
              #6

              @cookiechinese 已更新

              1 Reply Last reply
              0
              • LegendL Offline
                LegendL Offline
                Legend
                wrote on last edited by
                #7

                很有精神!
                开源的js要是都有这玩意还怕某些大手子去搞?

                C 1 Reply Last reply
                0
                • LegendL Legend

                  很有精神!
                  开源的js要是都有这玩意还怕某些大手子去搞?

                  C Offline
                  C Offline
                  commandblock2
                  wrote on last edited by
                  #8

                  @legend
                  DRM什么时候成好东西了
                  真想圈的怕不是一个
                  Fonts.font35.drawString

                  btw
                  挂zip头卖rar肉
                  傻逼rar还得我去用bsdtar去解

                  1 Reply Last reply
                  0
                  • CookieChineseC CookieChinese referenced this topic on

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  About
                  • Terms of Service
                  • Privacy Policy
                  • Status
                  • Contact Us
                  Downloads
                  • Releases
                  • Source code
                  • License
                  Docs
                  • Tutorials
                  • CustomHUD
                  • AutoSettings
                  • ScriptAPI
                  Community
                  • Forum
                  • Guilded
                  • YouTube
                  • Twitter
                  • D.Tube
                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups