Skip to content

Baezor1/gitsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitSync

Sync your Minecraft server's scripts with a Github repository.

What is GitSync?

GitSync is a simple script that allows you to use Github in Skript workflow.

Frequently Asked Questions

  • Will this work with a private repository? Yes!
  • Can you connect multiple repositories? Yes!
  • Can you change the messages and language? Yes! There is a lang.yml file!

Installation

  1. Install Plugin Dependencies
    • skript-reflect
    • skript-yaml
    • Skent
  2. Install JGit
    • Download the library in the /libs/ folder in this repository.
    • Drag the library into the /plugins/skript-reflect/ folder on your Minecraft server.
    • Restart your server.
  3. Install gitsync.sk in your server's /plugins/Skript/scripts/ folder.
  4. Run /sk reload gitsync on your server to generate configurations.

Usage

In order to use GitSync, you must set up your repository correctly. For GitSync to recognize and use your repository, you must put all .sk files inside of a /src/ folder on your repository.

After you have properly set up your configuration and repository, you can run /sync every time you want to sync your server!

Configuration

Authentication

In order to use GitSync, you must connect your Github account. You must input your username and a Github access token!

config.yml

auth:
    username: insert_username
    token: insert_token

Adding Repositories

config.yml

repositories:
    example-name:
        url: Baezor1/Example
        branch: main
        target: synced/

About

Sync your Minecraft server's scripts with a Github repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published