Compare commits

...

126 Commits

Author SHA1 Message Date
1d1087a331 Fix animals wrong maven repo
Ref: f684b90bf5
2024-11-12 23:41:27 +01:00
be6542bb4b feat: updated fabric api to 0.97.2+1.20.4
Ref: 2dac0ea750
2024-11-04 10:43:44 +01:00
4d4a3ecd50 feat: Resources snapshot 1.0.0
Ref: 68ac207b91
2024-11-04 10:40:37 +01:00
d92443c2fc Recieps to 1.6.4
Ref: c600969059
2024-11-01 14:12:14 +01:00
6d2d0b41ca Add schema, deco to 1.4.1
Ref: 6a4d2b532e
2024-10-28 23:49:38 +01:00
bb50710c4b Fix replay link
Ref: 8493670148
2024-10-16 19:47:14 +02:00
0192e834f4 AltarikDeco to 1.4.0, Recipes to 1.6.3
Ref: 07b8000ab4
2024-10-12 22:08:47 +02:00
e6d83a0146 Npcs to 3.5.0
Ref: 4e216b191f
2024-10-12 12:24:24 +02:00
0daa56c5da Recipes to 1.6.2
Ref: 5a0665e076
2024-10-11 20:04:43 +02:00
5646034f63 Revert "Deco to 1.3.1"
This reverts commit d6baf2e6d4ca9390a16d03d717b3360470d94562.
Ref: 8b8127e3b6
2024-10-11 18:28:38 +02:00
ba8f736e87 Revert "Deco to 1.3.1"
This reverts commit d6baf2e6d4ca9390a16d03d717b3360470d94562.
Ref: 8b8127e3b6
2024-10-08 22:28:43 +02:00
736bc1f972 Deco to 1.3.1
Ref: d6baf2e6d4
2024-10-08 00:15:58 +02:00
6250bd9a1e recipes to 1.6.1 and altarikdeco to 1.3.0
Ref: 93212f9427
2024-10-03 00:36:51 +02:00
f07bb6bbfe Fix maven repo name
Ref: c467b847ea
2024-09-22 21:54:28 +02:00
87592fe518 Npcs to 3.4.1
Ref: e2c7245fed
2024-09-16 22:43:13 +02:00
8799095b1a fix: duplicate axiom and missing litematica
Ref: 9f6114e1e8
2024-09-14 13:28:05 +02:00
febae2739e Updated Axiom to v4.1.0
Ref: 7450115312
2024-09-14 12:34:08 +02:00
729d7a484b Npcs to 3.4.0
Ref: 261c46adad
2024-09-05 12:10:00 +02:00
b929f6fa6d Quests to 2.7.0
Ref: db8254454c
2024-09-05 11:55:23 +02:00
17f6ab8ac1 Npcs to 3.3.0, Quests to 2.6.8, Recipes to 1.5.1
Ref: 34fc09e22c
2024-09-01 03:00:54 +02:00
cbd1658355 Fix missing view certificate
Ref: 2a33f2c37f
2024-08-31 23:37:59 +02:00
bfa242e92b Builder to 2.2.0
Ref: 8c893fcf32
2024-08-31 16:45:28 +02:00
93f7d7ba62 Remove nvidium duplicate
Ref: aab7f2174f
2024-08-29 23:27:46 +02:00
24f4e0190f ci: fix vars using context
Ref: 2d36659829
2024-08-29 23:23:20 +02:00
3037c4a274 Ref: 2024-08-29 23:08:40 +02:00
ad2265dc67 2e9b775293
Ref:
2024-08-29 23:05:30 +02:00
f27447f6c3 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-08-29 22:06:05 +02:00
81a8278990 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-08-25 14:40:40 +02:00
25e190f703 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-08-25 02:26:07 +02:00
1cc817074b Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-08-18 23:03:21 +02:00
20e57ad414 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-08-18 22:13:23 +02:00
0bbe8e3762 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-08-17 11:40:23 +02:00
f639b46a04 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-08-17 00:55:11 +02:00
694885b86e Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-08-16 16:25:54 +02:00
2d807fdc4b Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-08-14 23:48:53 +02:00
993a23eed8 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-08-13 22:51:35 +02:00
bd9f5fbab0 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-08-09 19:18:30 +02:00
1274d16ebd Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-08-08 21:56:09 +02:00
4003b1a1ce Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-07-28 22:10:48 +02:00
2300995659 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-07-28 12:39:33 +02:00
b40f5db31c Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-07-28 11:48:00 +02:00
69bae62630 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-07-16 19:11:28 +02:00
1f2b09cac4 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-07-10 21:22:21 +02:00
e889e9c79c Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-07-09 23:25:55 +02:00
7bc5e5679b Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-07-02 18:18:48 +02:00
f103f7c7f7 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-07-01 23:41:57 +02:00
6bbf36fcef Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-28 22:27:09 +02:00
f1947dd1be Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-28 20:43:45 +02:00
aeadb38119 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-26 18:12:01 +02:00
7504b50975 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-25 22:43:41 +02:00
000f717c8d Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-25 18:58:39 +02:00
117aafb6b3 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-24 23:36:53 +02:00
3d98474c8d Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-24 21:14:43 +02:00
f897911194 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-24 21:04:40 +02:00
21c5c50478 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-23 23:35:03 +02:00
2a5c37e8ad Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-23 23:25:49 +02:00
0049a14d55 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-23 23:07:40 +02:00
19024524ac Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-23 22:31:43 +02:00
975bd28e5f Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-23 22:26:58 +02:00
4ebda14e80 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-23 22:20:43 +02:00
5b9069eb66 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-19 19:39:21 +02:00
37f9d1b934 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-19 14:59:23 +02:00
f9c6bb4a4e Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-16 18:37:36 +02:00
ce2d7687f7 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-14 17:27:38 +02:00
2b2f8aad3b Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-14 17:02:00 +02:00
bd06b51b86 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-14 00:48:23 +02:00
a67b436d12 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-06-13 23:40:47 +02:00
85bf2419dd Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-05-23 14:00:34 +02:00
192ffadb6d Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-05-23 13:21:08 +02:00
57080fbe1d Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-05-23 00:59:03 +02:00
31768c5b2b Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-05-14 22:16:46 +02:00
943bdcd707 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-05-14 18:00:17 +02:00
9d9ef18e68 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-05-14 16:52:28 +02:00
a5467c6556 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-05-14 16:39:27 +02:00
563460309e Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-05-14 16:32:25 +02:00
9895d69009 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-05-13 23:48:38 +02:00
82cbabb433 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-05-13 23:18:54 +02:00
63c72fda06 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-05-13 22:45:21 +02:00
33e8b93d4f Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-05-13 11:57:10 +02:00
5cf42999b5 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-04-17 22:05:21 +02:00
f3396ea3e0 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-04-17 19:32:56 +02:00
d6e97168df Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-04-17 19:01:02 +02:00
832ad9b4f5 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-04-17 18:55:56 +02:00
64f3861963 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-04-17 18:49:23 +02:00
cbd3cb2754 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-04-16 23:41:41 +02:00
b61e3f2591 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-04-15 21:09:47 +02:00
b2ecd870fc Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-04-07 13:46:57 +02:00
9ece1fe3aa Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-31 05:04:58 +02:00
50d7231fbb Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-31 04:56:54 +02:00
2a94121fed Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-28 21:11:17 +01:00
42ab4d9269 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-28 20:53:23 +01:00
19f77aa4a9 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-25 17:09:37 +01:00
289018a0cd Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-14 22:37:16 +01:00
c431ec458a Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-13 22:28:18 +01:00
952e28ff99 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-13 22:02:39 +01:00
f8689a0d39 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-13 21:44:51 +01:00
43e1c90e57 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-11 22:06:12 +01:00
7b6f7d9748 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-05 22:28:49 +01:00
fec00046e4 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-04 17:21:05 +01:00
ccbb447b92 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-04 17:10:56 +01:00
0831f65a98 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-02 02:19:37 +01:00
98fd55106c Remove application because the code has been moved to AltarikBack 2024-02-29 00:35:31 +01:00
ce8bf055a2 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-29 00:31:51 +01:00
fc072dc9a2 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-26 22:57:12 +01:00
aabcbf0857 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-26 17:18:04 +01:00
3780b1ca1d Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-17 23:26:04 +01:00
0b01e4fd59 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-17 21:51:44 +01:00
252727c1c8 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-16 22:35:38 +01:00
2402dba43d Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-16 22:11:01 +01:00
591ee77211 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-08 11:39:52 +01:00
f39078abb0 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-08 11:30:44 +01:00
cfaa982969 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-08 00:02:33 +01:00
50cfacced1 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-07 23:57:42 +01:00
13a5318fa1 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-07 23:26:16 +01:00
d047561b29 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-07 21:31:41 +01:00
e97cc32e57 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-07 21:06:43 +01:00
7185f6f702 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-07 20:22:30 +01:00
7a38fd4ee9 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-07 16:01:59 +01:00
2aaa834c18 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-07 15:51:34 +01:00
53d6949bda Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-07 15:40:15 +01:00
b5914658c3 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-07 15:15:09 +01:00
45501aa786 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-07 15:04:54 +01:00
5f1ef69c39 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-07 14:59:02 +01:00
f777533873 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-07 14:51:33 +01:00
cd0cf6cec4 Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-02-07 14:05:46 +01:00
a2459e317e Add server 2024-02-07 13:27:30 +01:00
8 changed files with 2 additions and 309 deletions

View File

@ -1 +0,0 @@
.env

View File

@ -1,16 +0,0 @@
FROM golang:1.21-alpine as builder
WORKDIR /usr/src/app
COPY go.mod go.sum ./
RUN go mod download && go mod verify
COPY main.go main.go
RUN go build -v -o /usr/local/bin/app ./main.go
FROM alpine:latest
COPY --from=builder /usr/local/bin/app /usr/local/bin/app
ENV PORT_LISTENING=8080
ENV JSON_LOCATION=https://git.altarik.fr/Altarik/launcher_json/raw/branch/master/launcher.json
EXPOSE 8080
CMD ["app"]

View File

@ -1,33 +0,0 @@
module altarik/launcher_json
go 1.21.1
require (
github.com/bytedance/sonic v1.10.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/gin-gonic/gin v1.9.1 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.15.4 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/joho/godotenv v1.5.1 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.11 // indirect
golang.org/x/arch v0.5.0 // indirect
golang.org/x/crypto v0.13.0 // indirect
golang.org/x/net v0.15.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

View File

@ -1,86 +0,0 @@
github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=
github.com/bytedance/sonic v1.10.0-rc/go.mod h1:ElCzW+ufi8qKqNW0FY314xriJhyJhuoJ3gFZdAHF7NM=
github.com/bytedance/sonic v1.10.1 h1:7a1wuFXL1cMy7a3f7/VFcEtriuXQnUBhtoVfOZiaysc=
github.com/bytedance/sonic v1.10.1/go.mod h1:iZcSUejdk5aukTND/Eu/ivjQuEL0Cu9/rf50Hi0u/g4=
github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY=
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk=
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d h1:77cEq6EriyTZ0g/qfRdp61a3Uu/AWrgIq2s0ClJV1g0=
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpVsBuRksnlj1mLy4AWzRNQYxauNi62uWcE3to6eA=
github.com/chenzhuoyu/iasm v0.9.0 h1:9fhXjVzq5hUy2gkhhgHl95zG2cEAhw9OSGs8toWWAwo=
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU=
github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA=
github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg=
github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU=
github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA=
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
github.com/go-playground/validator/v10 v10.15.4 h1:zMXza4EpOdooxPel5xDqXEdXG5r+WggpvnAKMsalBjs=
github.com/go-playground/validator/v10 v10.15.4/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU=
github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg=
github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA=
github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4=
github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=
github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=
github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU=
github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg=
golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
golang.org/x/arch v0.5.0 h1:jpGode6huXQxcskEIpOCvrU+tzo81b6+oFLUYXWtH/Y=
golang.org/x/arch v0.5.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck=
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
golang.org/x/net v0.15.0 h1:ugBLEUaxABaB5AJqW9enI0ACdci2RUd4eP51NTBvuJ8=
golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k=
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
nullprogram.com/x/optparse v1.0.0/go.mod h1:KdyPE+Igbe0jQUrVfMqDMeJQIJZEuyV7pjYmp6pbG50=
rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=

View File

@ -1,15 +0,0 @@
# systemd service, to start the app at the launch of the system and restart it if it crash
[Unit]
Description=Launcher_json Service
[Service]
# Non-root user, create a new user first and it to docker group
User=launcher
# Workspace directory
# Path to Reposilite executable/script and its configuration.
ExecStart=/usr/bin/docker run -p 8090:8080 --restart unless-stopped -d launcher_json
# Policy
Type=oneshot
[Install]
WantedBy=multi-user.target

View File

@ -1,47 +0,0 @@
package main
import (
"fmt"
"io"
"log"
"net/http"
"os"
"github.com/gin-gonic/gin"
"github.com/joho/godotenv"
)
func main() {
err := godotenv.Load()
if err != nil {
log.Println("Error loading .env file -- ignore if production")
}
r := gin.Default()
r.GET("/", getLauncherJson)
r.Run(fmt.Sprintf("0.0.0.0:%s", os.Getenv("PORT_LISTENING")))
}
func getLauncherJson(c *gin.Context) {
res, err := http.Get(os.Getenv("JSON_LOCATION"))
if err != nil {
respondErrorToClient(c, "Error getting the json file")
return
}
if res.StatusCode != http.StatusOK {
respondErrorToClient(c, "Error getting the json file")
return
}
body, err := io.ReadAll(res.Body)
if err != nil {
respondErrorToClient(c, "Error getting the json file")
return
}
c.Data(http.StatusOK, "application/json", body)
}
func respondErrorToClient(c *gin.Context, msg string) {
log.Println(msg)
c.JSON(http.StatusInternalServerError, gin.H{
"error": msg,
})
}

View File

@ -1,111 +1 @@
{ {"chapters":[{"title":"Testing 1.20.4","description":"09072024 - Tests online/uat","minecraftVersion":"1.20.4","type":"snapshot","customVersion":"fabric-loader-0.15.11-1.20.4","modspack":{"mods":["https://dc3ononnxr48t.cloudfront.net/launcher-Testing-1.20.4-modpack0-client.zip","https://dc3ononnxr48t.cloudfront.net/launcher-Testing-1.20.4-modpack1-client.zip"],"sha1sum":["07ad0f508737c9fd74111987e0ab0fd58f89b622","de0b37c6d5da79d225217f8ed0d17a9bcab74879"]},"java":{"platform":{"win32":{"x64":{"name":"jdk-17.0.8.1+1-jre","link":"https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_x64_windows_hotspot_17.0.8.1_1.zip","sha256sum":"a43a96a10c8bd531b7fadd2f3dcf5b839c81c79affcfba0141f1e8b4ffefe521"}},"linux":{"x64":{"name":"jdk-17.0.8.1+1-jre","link":"https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_x64_linux_hotspot_17.0.8.1_1.tar.gz","sha256sum":"ab68857594792474a3049ede09ea1178e42df29803a6a41be771794f571b2d4e"}}}}},{"title":"dev","description":"Test offline","minecraftVersion":"1.20.4","type":"snapshot","customVersion":"fabric-loader-0.15.11-1.20.4","modspack":{"mods":["https://dc3ononnxr48t.cloudfront.net/launcher-dev-modpack0-client.zip","https://dc3ononnxr48t.cloudfront.net/launcher-dev-modpack1-client.zip"],"sha1sum":["0562ffe68297951d6102296fdd130329a13c254c","4f7031ecce9c0c6368239c870b774d8fc8bc639b"]},"java":{"platform":{"win32":{"x64":{"name":"jdk-17.0.8.1+1-jre","link":"https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_x64_windows_hotspot_17.0.8.1_1.zip","sha256sum":"a43a96a10c8bd531b7fadd2f3dcf5b839c81c79affcfba0141f1e8b4ffefe521"}},"linux":{"x64":{"name":"jdk-17.0.8.1+1-jre","link":"https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_x64_linux_hotspot_17.0.8.1_1.tar.gz","sha256sum":"ab68857594792474a3049ede09ea1178e42df29803a6a41be771794f571b2d4e"}}}}}]}
"chapters": [
{
"title": "Testing 1.20.2",
"description": "Animals - 03022024",
"minecraftVersion": "1.20.2",
"type": "snapshot",
"customVersion": "fabric-loader-0.15.6-1.20.2",
"modspack": {
"mods": [
"https://www.dropbox.com/scl/fi/s2za8lgjwc7kqohdyi2sp/03022024.zip?rlkey=n49gxx6g4ng7zp62hotsdpx78&dl=1"
],
"sha1sum": [
"7743ff1354a40e2bfe23b08e80bfa950ad7503c6"
]
},
"java": {
"platform": {
"win32": {
"x64": {
"name": "jdk-17.0.8.1+1-jre",
"link": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_x64_windows_hotspot_17.0.8.1_1.zip",
"sha256sum": "a43a96a10c8bd531b7fadd2f3dcf5b839c81c79affcfba0141f1e8b4ffefe521"
}
},
"linux": {
"x64": {
"name": "jdk-17.0.8.1+1",
"link": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_x64_linux_hotspot_17.0.8.1_1.tar.gz",
"sha256sum": "ab68857594792474a3049ede09ea1178e42df29803a6a41be771794f571b2d4e"
}
}
}
}
},
{
"title": "1.18.2",
"description": "Altarik 1.18.2 beta 1",
"minecraftVersion": "1.18.2",
"type": "snapshot",
"customVersion": "fabric-loader-0.13.3-1.18.2",
"modspack": {
"mods": [
"https://www.dropbox.com/s/meeycbu6uludt41/1.18.2.zip?dl=1"
],
"sha1sum": [
"33ece93ff29ec70e2c232526cb7b54e83cdc1152"
]
},
"java": {
"platform": {
"win32": {
"x64": {
"name": "jdk-17.0.3+7-jre",
"link": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.3%2B7/OpenJDK17U-jre_x64_windows_hotspot_17.0.3_7.zip",
"sha256sum": "d77745fdb57b51116f7b8fabd7d251067edbe3c94ea18fa224f64d9584b41a97"
},
"ia32": {
"name": "jdk-17.0.3+7-jre",
"link" : "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.3%2B7/OpenJDK17U-jdk_x86-32_windows_hotspot_17.0.3_7.zip",
"sha256sum" : "e29e311e4200a32438ef65637a75eb8eb09f73a37cef3877f08d02b6355cd221"
}
},
"linux": {
"x64": {
"name": "jdk-17.0.4.1+1",
"link": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4.1%2B1/OpenJDK17U-jdk_x64_linux_hotspot_17.0.4.1_1.tar.gz",
"sha256sum": "5fbf8b62c44f10be2efab97c5f5dbf15b74fae31e451ec10abbc74e54a04ff44"
}
}
}
}
},
{
"title": "Outdated",
"description": "Egypte",
"minecraftVersion": "1.16.5",
"type": "release",
"customVersion": "fabric-loader-0.11.6-1.16.5",
"modspack": {
"mods": [
"https://www.dropbox.com/s/ww6a052nzzgojdm/modpack.zip?dl=1",
"https://www.dropbox.com/s/rn72wq0qxd5xk8a/building-blocks-1.0.0.zip?dl=1",
"https://www.dropbox.com/s/ty7ry9dr8m81upv/worldedit-mod-7.2.5-dist.zip?dl=1"
],
"sha1sum": [
"78dd08b2a885fd258541088618fbc29d3fb9ea77",
"2ae580fb8e5e1a1a09209bdf30bfec3fc4e74626",
"d00de0e4b4d2e9a2130119282a5ce3391d6e0537"
]
},
"java": {
"platform": {
"win32": {
"x64": {
"name": "jdk8u292-b10-jre",
"link": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jre_x64_windows_hotspot_8u292b10.zip",
"sha256sum": "df79660dbc00687928d870d5f9ac91d5dfdd69be2131d5b4b2457b77fc486f54"
},
"ia32": {
"name": "jdk8u292-b10-jre",
"link": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jre_x86-32_windows_hotspot_8u292b10.zip",
"sha256sum": "ee1c52c109bb5b05acb3304f9a9494de01ee7e9a95f33e16627ea916e0f48a2f"
}
}
}
}
}
]
}

1
server.json Normal file
View File

@ -0,0 +1 @@
{"chapters":[{"title":"Testing 1.20.4","description":"09072024 - Tests online/uat","minecraftVersion":"1.20.4","type":"snapshot","customVersion":"fabric-loader-0.15.11-1.20.4","modspack":{"mods":["https://dc3ononnxr48t.cloudfront.net/launcher-Testing-1.20.4-modpack0-server.zip","https://dc3ononnxr48t.cloudfront.net/launcher-Testing-1.20.4-modpack1-server.zip"],"sha1sum":["cef148369ab920532c58a3dfd16392cd8829b7b9","d97a330d592d8f25367898ceea328ceb089e6ae9"]},"java":{"platform":{"win32":{"x64":{"name":"jdk-17.0.8.1+1-jre","link":"https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_x64_windows_hotspot_17.0.8.1_1.zip","sha256sum":"a43a96a10c8bd531b7fadd2f3dcf5b839c81c79affcfba0141f1e8b4ffefe521"}},"linux":{"x64":{"name":"jdk-17.0.8.1+1-jre","link":"https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_x64_linux_hotspot_17.0.8.1_1.tar.gz","sha256sum":"ab68857594792474a3049ede09ea1178e42df29803a6a41be771794f571b2d4e"}}}}},{"title":"dev","description":"Test offline","minecraftVersion":"1.20.4","type":"snapshot","customVersion":"fabric-loader-0.15.11-1.20.4","modspack":{"mods":["https://dc3ononnxr48t.cloudfront.net/launcher-dev-modpack0-server.zip","https://dc3ononnxr48t.cloudfront.net/launcher-dev-modpack1-server.zip"],"sha1sum":["f389fe0c150674b4158119f44f938506d034f612","d913309678389c2361452a2b5d7e03c48cff0a89"]},"java":{"platform":{"win32":{"x64":{"name":"jdk-17.0.8.1+1-jre","link":"https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_x64_windows_hotspot_17.0.8.1_1.zip","sha256sum":"a43a96a10c8bd531b7fadd2f3dcf5b839c81c79affcfba0141f1e8b4ffefe521"}},"linux":{"x64":{"name":"jdk-17.0.8.1+1-jre","link":"https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_x64_linux_hotspot_17.0.8.1_1.tar.gz","sha256sum":"ab68857594792474a3049ede09ea1178e42df29803a6a41be771794f571b2d4e"}}}}}]}