Merge branch 'main' of https://git.ragestudio.net/srgooglo/jaen-united-2024
This commit is contained in:
commit
48e8983ed5
36
manifest
36
manifest
|
@ -12,19 +12,20 @@ const internalVars = {
|
||||||
public_ip_port: "25565",
|
public_ip_port: "25565",
|
||||||
git_source: "https://git.ragestudio.net/srgooglo/jaen-united-2024",
|
git_source: "https://git.ragestudio.net/srgooglo/jaen-united-2024",
|
||||||
mc_version: {
|
mc_version: {
|
||||||
|
forge: "1.20.1-forge-47.2.17",
|
||||||
number: "1.20.1",
|
number: "1.20.1",
|
||||||
type: "release",
|
type: "release",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const defaultConfig = {
|
const defaultConfig = {
|
||||||
username: "Oliva Salvaje",
|
username: "Oliva_Salvaje",
|
||||||
assigned_memory: 4096,
|
assigned_memory: 4096,
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
...vars,
|
...vars,
|
||||||
rsb_minimun_version: "0.9.0",
|
rsb_minimun_version: "0.9.3",
|
||||||
import_libs: [
|
import_libs: [
|
||||||
"mcl",
|
"mcl",
|
||||||
"ipc",
|
"ipc",
|
||||||
|
@ -59,45 +60,36 @@ module.exports = {
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
update_steps: {
|
update_steps: {
|
||||||
git_pulls: [
|
git_reset: [
|
||||||
{
|
{
|
||||||
path: ".",
|
path: ".",
|
||||||
url: internalVars.git_source
|
from: "origin/main",
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
executable: true,
|
executable: true,
|
||||||
check_updates_after_execute: true,
|
check_updates_after_execute: true,
|
||||||
execute: async (pkg) => {
|
execute: async (pkg) => {
|
||||||
console.log(pkg)
|
|
||||||
|
|
||||||
const auth = await pkg.libraries.mcl.auth((pkg.storaged_configs?.username ?? defaultConfig.username))
|
const auth = await pkg.libraries.mcl.auth((pkg.storaged_configs?.username ?? defaultConfig.username))
|
||||||
|
|
||||||
return pkg.libraries.mcl.launch(
|
return pkg.libraries.mcl.launch(
|
||||||
{
|
{
|
||||||
root: pkg.install_path,
|
root: pkg.install_path,
|
||||||
authorization: auth,
|
authorization: auth,
|
||||||
version: {
|
version: internalVars.mc_version,
|
||||||
number: internalVars.mc_version.number,
|
|
||||||
type: internalVars.mc_version.type
|
|
||||||
},
|
|
||||||
memory: {
|
memory: {
|
||||||
max: pkg.storaged_configs?.assigned_memory ?? defaultConfig.assigned_memory,
|
max: pkg.storaged_configs?.assigned_memory ?? defaultConfig.assigned_memory,
|
||||||
min: 2048
|
min: 2048
|
||||||
},
|
},
|
||||||
forge: `${pkg.install_path}/forge-installer.jar`,
|
forge: `${pkg.install_path}/forge-installer.jar`,
|
||||||
quickPlay: {
|
// quickPlay: {
|
||||||
type: "multiplayer",
|
// type: "multiplayer",
|
||||||
identifier: `${internalVars.public_ip}:${internalVars.public_ip_port}`,
|
// identifier: `${internalVars.public_ip}:${internalVars.public_ip_port}`,
|
||||||
args: {
|
// args: {
|
||||||
server: internalVars.public_ip,
|
// server: internalVars.public_ip,
|
||||||
port: internalVars.public_ip_port,
|
// port: internalVars.public_ip_port,
|
||||||
},
|
// },
|
||||||
},
|
// }
|
||||||
customLaunchArgs: [
|
|
||||||
`--server ${internalVars.public_ip}`,
|
|
||||||
`--port ${internalVars.public_ip_port}`,
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
install: () => {
|
install: () => {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue