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