topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 1:30 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: NANY 2014 Submission: Minecraft Mod ServerGitBackup  (Read 9802 times)

hollowlife1987

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 92
    • View Profile
    • Donate to Member
NANY 2014 Submission: Minecraft Mod ServerGitBackup
« on: December 03, 2013, 01:28 PM »


NANY 2014 Entry Information

Application Name ServerGitBackup
Version 1.0
Short Description Allows backing up of a Minecraft server to a git repository using in game commands
Supported OSes Windows, Linux, MacOS
Web Page https://bitbucket.or...rgitbackup/wiki/Home
Download Link https://bitbucket.or...rgitbackup/downloads
System Requirements
  • Minecraft
  • Minecraft Forge for 1.6.2 or 1.6.4
  • Git
Version History
  • 1.0
Author hollowlife1987


Description
This mod allows Minecraft server administrators access to backup their server through easy in game commands
I needed this mod since at first I was just going to use a shell script while I was able to get it working on Linux I could not so on Windows
So I decided I would make my first Minecraft mod to do what I needed it to do.

I know git is not the best solution for this problem and I'm all ears for better solutions.

Features
  • Initialization of a git repository
  • Manual backup to git repository
  • Hourly backup to a git repository

Planned Features
Other methods of backup.

Usage
Installation
After forge is installed on server copy .jar to mods folder

Using the Application
Use the command
Code: Text [Select]
  1. /sgb init
While in game to create a new git repository for your server followed by
Code: Text [Select]
  1. /sgb autobackup on
To create the first backup and a new backup once an hour.

Uninstallation
Delete the jar from the mods folder.

Tips
This is my first mod so expect some bugs

Known Issues
Sometimes the first backup must be created using git out of game.  No .gitignore file just the following commands
Code: Text [Select]
  1. git add -A
  2. git commit -m "First backup"
If you feel you have the issue where you must do this ensure your server is not running.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,190
    • View Profile
    • Donate to Member
Re: NANY 2014 Submission: Minecraft Mod ServerGitBackup
« Reply #1 on: December 03, 2013, 02:02 PM »
I don't really do a lot with minecraft, but this is really cool!  Once you've got it ironed out, you might want to promote it on some minecraft sites too- I think you're on to something great!

hollowlife1987

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 92
    • View Profile
    • Donate to Member
Re: NANY 2014 Submission: Minecraft Mod ServerGitBackup
« Reply #2 on: December 03, 2013, 02:04 PM »
Thanks, I will most likely post it on the Minecraft forums too. :)

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • View Profile
    • Donate to Member
Re: NANY 2014 Submission: Minecraft Mod ServerGitBackup
« Reply #3 on: December 10, 2013, 06:43 AM »
Very nice, hollowlife1987!  :Thmbsup:

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,778
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: NANY 2014 Submission: Minecraft Mod ServerGitBackup
« Reply #4 on: December 10, 2013, 05:14 PM »
This looks cool. :Thmbsup: