Coder Social home page Coder Social logo

flawedspirit / ezsolder Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 233 KB

A file packager and uploader for an assortment of files that are of use in a Technic modpack.

License: GNU General Public License v3.0

PHP 64.66% CSS 18.94% JavaScript 16.40%

ezsolder's Introduction

EZSolder

version license web github

THIS PROJECT IS ARCHIVED AND NO LONGER BEING UPDATED

What is EZSolder?

EZSolder is a faster way of packaging and uploading an assortment of files that are of use in a Minecraft Technic modpack. Solder is a wonderful tool but as of this point, it does not support uploading a file to its proper location and format from its interface. The process is manual and laborious. Until then, or maybe even beyond, EZSolder is here to fill that gap.

Requirements

  • PHP 5.2+
  • PHP zip extension enabled
  • A MySQL database
  • Technic Solder and associated database tables
  • Knowledge of how to operate Apache/Nginx/Lighttpd/IIS
  • A copy of Minecraft (otherwise, why make modpacks?)

Installing/Updating

Simply navigate to the directory you wish to install EZSolder in and run

git clone https://github.com/Flawedspirit/EZSolder.git

To update to the next version, navigate to your EZSolder install directory and run

git fetch and git pull origin

Setup

After installation, you'll want to edit config.dist.php, input the right information, and rename it to config.php.

  • url: The base url where you'll access your installation e.g. https://example.com/ezsolder. If this isn't set EZSolder will attempt to figure it out on its own.
  • repository: The absolute path of your Solder mod repository from your server's (or webhost's virtual) root e.g. /var/www/htdocs/solder/mods
  • hostname: The location of your Solder database. Usually localhost.
  • database: The name of your Solder database.
  • username: The user assigned to your Solder database.
  • password: Said user's password.
  • prefix: If your database tables use a prefix, enter it here. This can usually be left blank. Usually only used if your web host only allows you to use one database. (If this is the case, find a different host!)

Usage

If everything went right, you'll be at the uploader page. The fields are for the most part self-explanatory, but some things to mention are:

  • Mod name and mod author only need to be specified if a new mod is being added to the repo.
  • The modslug, mod version, a file to upload, and the destination always need to be specified.
  • Standard destinations (mods, configs, etc.) can be selected, or a custom location can be entered if your file needs to go elsewhere, e.g. liteconfigs, resourcepacks, scripts, etc. The dropdown defaults to "mods".
  • EZSolder supports uploading a pre-packaged zip file and updating the database accordingly, in the event that several files need to be uploaded and packaged into one zip file. Note, however, that the files will need to be packaged properly on your end so that they go into the proper places that Forge expects them to be.

Support

Something wrong or missing? Please open an issue here and I will endeavor to fix it or add it. Please note that this was mostly a personal project and I consider it somewhat feature complete at this point in time. However, if I really like an idea, I will totally consider it!

Alternatively, you can just make a pull request, because that is how git works.

Credits

Thanks to CaitlynMainer for her help with (and outright addition) of cool stuff like a lot of the database code, and the automatic modslug autofill.

ezsolder's People

Contributors

flawedspirit avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

ezsolder's Issues

Issue with final upload

Hey, so, I'm currently having an issue compressing the mods, when uploading the mod with the required information I get the error of:

"Could not pack uploaded files in zip file: in Undefined variable: s(/usr/share/nginx/ezsolder/includes/process.php)"

I'm not exactly sure why I'm getting this error. Do you have any idea?

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.