Code Monkey home page Code Monkey logo

netheriteclip's Introduction

Leavesclip

A binary patch distribution system for Leaves.

Leavesclip is the launcher for the Leaves Minecraft server. It uses a bsdiff patch between the vanilla Minecraft server and the modified Leaves server to generate the Leaves Minecraft server immediately upon first run. Once the Leaves server is generated it loads the patched jar into Leavesclip's own class loader, and runs the main class.

On the basis of Paperclip, we have added the feature of using any Jar as a patch to support automatic updates. Please note that this may bring some safety hazards.

You can completely disable this feature by adding the jvm parameter -Dleavesclip.disable.auto-update=true

This avoids the legal problems of the GPL's linking clause.

The patching overhead is avoided if a valid patched jar is found in the cache directory. It checks via sha256 so any modification to those jars (or updated launcher) will cause a repatch.

Building

Building Leavesclip creates a runnable jar, but the jar will not contain the Leavesclip config file or patch data. This project consists simply of the launcher itself, the paperweight Gradle plugin generates the patch and config file and inserts it into the jar provided by this project, creating a working runnable jar.

netheriteclip's People

Contributors

denwav avatar pan-cakse avatar mc-xiaohei avatar electronicboy avatar s-yh-china avatar machine-maker avatar aikar avatar zachbr avatar rgbcube avatar techcable avatar minidigger avatar proximyst avatar demonwav avatar pr0methean avatar sirywell avatar mikroskeem avatar noahvdaa avatar doc94 avatar kashike avatar jpenilla avatar e-im 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.