Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard committed Jul 12, 2020
1 parent c497e13 commit 5c86002
Show file tree
Hide file tree
Showing 155 changed files with 8,353 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: NillerMedDild
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
**Modpack version**
Input modpack version here

**Issue**
Input short description of the issue here

**Logs**
Input pastebin link to crash-report or latest log, if applicable
26 changes: 26 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Enigmatica 6

This is the official repository and issue-tracker for the modpack Enigmatica 6, for Minecraft 1.16.1

### Table of Contents
* [Testing](#testing)
* [Links](#links)

## Testing
If you would like to help test Enigmatica 6, please give me a shout on Discord.

There are a few things I would like testers to consider/look for:

* Bugs
* Things you find boring/tedious
* Things that need small optimizations, such as advancement text and textures.

I would also appreciate if you let me know what you think of the gameplay and why, especially if you didn't like it :)

Note: You do not have to use the below setup method, you can use the available files from CurseForge or Discord, however those are not updated as frequently as this repository.

## Links

* [CurseForge](https://www.curseforge.com/minecraft/modpacks/enigmatica6)

* [Discord](https://discord.gg/HnWNd7X)
34 changes: 34 additions & 0 deletions .github/move.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Configuration for move-issues - https://github.com/dessant/move-issues

# Delete the command comment when it contains no other content
deleteCommand: true

# Close the source issue after moving
closeSourceIssue: false

# Lock the source issue after moving
lockSourceIssue: false

# Mention issue and comment authors
mentionAuthors: false

# Preserve mentions in the issue content
keepContentMentions: false

# Move labels that also exist on the target repository
moveLabels: true

# Set custom aliases for targets
aliases:
e2: enigmatica2
e2l: enigmatica2light
e2e: enigmatica2expert
e2es: enigmatica2expertskyblock
e3: enigmatica3
e4: enigmatica4
e5: enigmatica5
e6: enigmatica6
s: scientia

# Repository to extend settings from
_extends: .github
13 changes: 13 additions & 0 deletions .github/no-response.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Configuration for probot-no-response - https://github.com/probot/no-response

# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 7
# Label requiring a response
responseRequiredLabel: "Status: Awaiting Information"
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.
24 changes: 24 additions & 0 deletions .github/support.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Configuration for Support Requests - https://github.com/dessant/support-requests

# Label used to mark issues as support requests
supportLabel: "Support"

# Comment to post on issues marked as support requests, `{issue-author}` is an
# optional placeholder. Set to `false` to disable
supportComment: >
We use the issue tracker exclusively for bug reports, development and feature requests.
However, this issue appears to be a support request.
Please use the [support channel on our Discord](https://discord.gg/kZ7RdrD) to get help.
# Close issues marked as support requests
close: true

# Lock issues marked as support requests
lock: false

# Assign `off-topic` as the reason for locking. Set to `false` to disable
setLockReason: false

# Repository to extend settings from
# _extends: .github
98 changes: 98 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Folders to ignore
/journeymap/
/dumps/
/crash-reports/
/.mixin.out/
/logs/
/local/
/libraries/
/llibrary/
/saves/
/TombManyGraves/
screenshots/
/mods/
/world/
/defaultconfig/
/data/
/ct_dumps/
/classes/

# Utilities
.github_changelog_generator
github_changelog_generator.gemspec
twitch_export-win.exe
ChangelogGenerator.bat
.build.json

# Client Configs
config/InvTweaks.cfg
config/MouseTweaks.cfg
config/jei/worldSettings.cfg
config/jei/lookupHistory.zip
config/jei/bookmarks.ini
.curseclient
.ReAuth.cfg
usernamecache.json
usercache.json
knownkeys.txt
servers.dat
realms_persistence.json
WailaErrorOutput.txt
ItemDump.txt
BotaniaVars.dat
crafttweaker.log
github_changelog_generator.gemspec
ChangelogGenerator.bat
GithubChangelogGenerator.bat
twitch_export-win.exe
*.dll
whitelist.json
ops.json
ModpackUploader.bat
post-file-to-discord.bat
.build.json

# Instance Sync
**/*.jar
!InstanceSync*.jar
**/*.jar.disabled
**/*.jar.meta

**/*.log
/.mixin.out
/saves
/downloads
/resourcepacks
.curseclient
config/XaeroWorldMap/
eula.txt
scb_resources/
XaeroWaypoints/
XaeroWorldMap/
options.txt
secrets.ps1
**/*.zip
CHANGELOG-GENERATED.md
stdlib_Result$Error.class
stdlib_Result$Ok.class
ttt.class
.persistent/multibeds/embroidery.dat
ds_private_storage.json
TwitchExportBuilder.exe
reauth.toml
patchouli_data.json
new.json
old.json
config/cherishedworlds/favorites.dat
soundsMuffled.dat
MakeModpackFiles.bat
MakeModpackFilesPostToDiscord.bat
PostToDiscord.bat

!thirdpartymods/*.jar
!openloader/*/*.zip
TrashSlotSaveState.json
scripts/experiments/*
config/cloth-config2/config.properties
config/stepup.cfg
maessentials/default_kits.json
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"trailingComma": "none",
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"printWidth": 120,
"bracketSpacing": true
}
Binary file added InstanceSync.jar
Binary file not shown.
60 changes: 60 additions & 0 deletions MakeModpackFiles.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
. "$PSScriptRoot\settings.ps1"
. "$PSScriptRoot\secrets.ps1"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

function Clear-SleepHost {
Start-Sleep 2
Clear-Host
}

if (-not (test-path "$env:ProgramFiles\7-Zip\7z.exe")) { throw "$env:ProgramFiles\7-Zip\7z.exe needed to use the ModpackUploader." }
Set-Alias sz "$env:ProgramFiles\7-Zip\7z.exe"

$TwitchExportBuilder = "TwitchExportBuilder.exe"
if (!(Test-Path $TwitchExportBuilder) -or $ENABLE_ALWAYS_UPDATE_JARS) {
Remove-Item $TwitchExportBuilder -Recurse -Force -ErrorAction SilentlyContinue
Download-GithubRelease -repo "Gaz492/twitch-export-builder" -file "twitch-export-builder_windows_amd64.exe"
Rename-Item -Path "twitch-export-builder_windows_amd64.exe" -NewName $TwitchExportBuilder -ErrorAction SilentlyContinue
}
.\TwitchExportBuilder.exe -n "$CLIENT_FILENAME" -p "$MODPACK_VERSION"

Write-Host ""
Write-Host "######################################" -ForegroundColor Cyan
Write-Host ""
Write-Host "Compressing Server files..." -ForegroundColor Green
Write-Host ""
Write-Host "######################################" -ForegroundColor Cyan
Write-Host ""

$CONTENTS_TO_MOVE | ForEach-Object {
$FilePath = "$PSScriptRoot/development/include-in-server-files/$_"
Copy-Item -Path $FilePath -Destination $PSScriptRoot
}

$SERVER_FILENAME = "$SERVER_FILENAME.zip"
sz a -tzip $SERVER_FILENAME $CONTENTS_TO_ZIP

$CONTENTS_TO_MOVE | ForEach-Object {
$FilePath = "$PSScriptRoot/$_"
Remove-Item -Path $FilePath -Force
}

Write-Host "Removing Client Mods from Server Files" -ForegroundColor Cyan
foreach ($clientMod in $CLIENT_MODS) {
Write-Host "Removing Client Mod $clientMod"
sz d $SERVER_FILENAME "mods/$clientMod*" | Out-Null
}


Write-Host "######################################" -ForegroundColor Cyan
Write-Host ""
Write-Host "The Modpack Uploader has completed." -ForegroundColor Green
Write-Host ""
Write-Host "######################################" -ForegroundColor Cyan

# $CurlUrl = "https://discordapp.com/api/webhooks/$WEBHOOK_ID/$WEBHOOK_TOKEN"
# $FilePath = "$CLIENT_FILENAME-$MODPACK_VERSION.zip"

# curl.exe --url $CurlUrl -F ContentType="multipart/form-data" -F content=@$FilePath --progress-bar

# Start-Sleep -Seconds 10
59 changes: 59 additions & 0 deletions MakeModpackFilesPostToDiscord.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
. "$PSScriptRoot\settings.ps1"
. "$PSScriptRoot\secrets.ps1"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

function Clear-SleepHost {
Start-Sleep 2
Clear-Host
}

if (-not (test-path "$env:ProgramFiles\7-Zip\7z.exe")) { throw "$env:ProgramFiles\7-Zip\7z.exe needed to use the ModpackUploader." }
Set-Alias sz "$env:ProgramFiles\7-Zip\7z.exe"

$TwitchExportBuilder = "TwitchExportBuilder.exe"
if (!(Test-Path $TwitchExportBuilder) -or $ENABLE_ALWAYS_UPDATE_JARS) {
Remove-Item $TwitchExportBuilder -Recurse -Force -ErrorAction SilentlyContinue
Download-GithubRelease -repo "Gaz492/twitch-export-builder" -file "twitch-export-builder_windows_amd64.exe"
Rename-Item -Path "twitch-export-builder_windows_amd64.exe" -NewName $TwitchExportBuilder -ErrorAction SilentlyContinue
}
.\TwitchExportBuilder.exe -n "$CLIENT_FILENAME" -p "$MODPACK_VERSION"

Write-Host ""
Write-Host "######################################" -ForegroundColor Cyan
Write-Host ""
Write-Host "Compressing Server files..." -ForegroundColor Green
Write-Host ""
Write-Host "######################################" -ForegroundColor Cyan
Write-Host ""

$CONTENTS_TO_MOVE | ForEach-Object {
$FilePath = "$PSScriptRoot/development/include-in-server-files/$_"
Copy-Item -Path $FilePath -Destination $PSScriptRoot
}

$SERVER_FILENAME = "$SERVER_FILENAME.zip"
sz a -tzip $SERVER_FILENAME $CONTENTS_TO_ZIP

$CONTENTS_TO_MOVE | ForEach-Object {
$FilePath = "$PSScriptRoot/$_"
Remove-Item -Path $FilePath -Force
}

Write-Host "Removing Client Mods from Server Files" -ForegroundColor Cyan
foreach ($clientMod in $CLIENT_MODS) {
Write-Host "Removing Client Mod $clientMod"
sz d $SERVER_FILENAME "mods/$clientMod*" | Out-Null
}


Write-Host "######################################" -ForegroundColor Cyan
Write-Host ""
Write-Host "The Modpack Uploader has completed." -ForegroundColor Green
Write-Host ""
Write-Host "######################################" -ForegroundColor Cyan


$CurlUrl = "https://discordapp.com/api/webhooks/$WEBHOOK_ID/$WEBHOOK_TOKEN"
$FilePath = "$CLIENT_FILENAME-$MODPACK_VERSION.zip"

curl.exe --url $CurlUrl -F ContentType="multipart/form-data" -F content=@$FilePath --progress-bar
Loading

0 comments on commit 5c86002

Please sign in to comment.