Coder Social home page Coder Social logo

cc-scripts's Introduction

cc-scripts

A collection of scripts for Minecraft ComputerCraft Tweaked (tweaked.cc).

gitHubDownloader

gitHubDownloader is a program that downloads GitHub repositories to a computer or turtle. Turtles have a built-in pastebin program that you can use to download this script so that you can clone GitHub respositories. The pastebin address is pastebin.com/wPtGKMam. Enter the command into a computer or turtle to download the file from pastebin to the root directory of the turtle/computer.

pastebin get wPtGKMam /

Once you have the file downloaded, the syntax to use the gitHubDownloader program is gitHubDownloader <user> <repo> [path] [remote path] [branch].

gitHubDownloader <user> <repo> [path] [remote path] [branch]
  • <user> - the username of the GitHub user that owns the repository.
  • <repo> - the name of the GitHub respository.
  • <path> - the local directory to download the GitHub respository to.
  • <remote path> - the the directory (or subfolder) of the GitHub repository, You can use this to download only the files in the specified subfoldr. To download the entire repository use /. A collection of scripts for Minecraft ComputerCraft Tweaked (tweaked.cc)

Tips

  • ComputerCraft programs automatically-terminate when the chunk is unloaded
    • To get around this, use a mod with a chunk loader item (e.g., something that simply keeps a chunk loaded when no players are present)
  • ComputerCraft uses an emulation of the normal shell and Lua experience
    • "Basic" operations you may be used to in the real world may not be supported (e.g., use os.loadAPI("<SCRIPT_NAME>") when loading in code from other files - NOT require() syntax)
    • Basically, if you find that you need to do something, check first if ComputerCraft provides a built-in way to do this
      • If it doesn't, it may not be supported at all

cc-scripts's People

Contributors

armstrongl avatar ax-vasquez avatar

Stargazers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.