Comments (4)
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2022-09-18T18:22:51-05:00",
"name": "MCHPRS",
"author": "[email protected]",
"description": "Minecraft High Performance Redstone Server",
"features": null,
"docker_images": {
"ghcr.io\/pterodactyl\/yolks:alpine": "ghcr.io\/pterodactyl\/yolks:alpine"
},
"file_denylist": [],
"startup": "\/home\/container\/MCHPRS\/target\/release\/mchprs",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Done! Start took\"\r\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/ash\r\n\r\necho installing\r\n\r\nset -e\r\n\r\necho isntalling extra depends\r\napk -U upgrade\r\napk add openssl-dev libressl-dev curl gcc build-base\r\n\r\necho making dir\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\necho installing rust\r\n\r\nif [ ! -d $HOME\/.cargo ] || [ ! -d $HOME\/.rustup ]; then \\\r\n curl \u2013proto \u2018=https\u2019 \u2013tlsv1.2 -sSf https:\/\/sh.rustup.rs | sh -s -- -y \r\nfi\r\n\r\nsource $HOME\/.cargo\/env\r\n\r\n\r\nif [ ! -d \/mnt\/server\/MCHPRS ]; then \\\r\n echo cloning\r\n git clone --branch $REPOSITORY_REF --single-branch --depth 1 $REPOSITORY_LINK MCHPRS\r\nfi\r\n\r\ncd MCHPRS\r\n\r\necho setting nightly\r\nrustup override set nightly\r\n\r\necho building\r\ncargo build --release",
"container": "ghcr.io\/pterodactyl\/installers:alpine",
"entrypoint": "ash"
}
},
"variables": [
{
"name": "Repository Link",
"description": "Link to clone the GitHub repository for MCHPRS",
"env_variable": "REPOSITORY_LINK",
"default_value": "https:\/\/github.com\/MCHPR\/MCHPRS.git",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|max:256",
"field_type": "text"
},
{
"name": "Repository Ref",
"description": "Repository ref to clone, can be commit hash or branch",
"env_variable": "REPOSITORY_REF",
"default_value": "master",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"field_type": "text"
}
]
}
@StackDoubleFlow maybe add this to the repo somewhere? Here's the install script (ya it's ugly, but whatever)
#!/bin/ash
echo installing
set -e
echo isntalling extra depends
apk -U upgrade
apk add openssl-dev libressl-dev curl gcc build-base
echo making dir
mkdir -p /mnt/server
cd /mnt/server
echo installing rust
if [ ! -d $HOME/.cargo ] || [ ! -d $HOME/.rustup ]; then \
curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
fi
source $HOME/.cargo/env
if [ ! -d /mnt/server/MCHPRS ]; then \
echo cloning
git clone --branch $REPOSITORY_REF --single-branch --depth 1 $REPOSITORY_LINK MCHPRS
fi
cd MCHPRS
echo setting nightly
rustup override set nightly
echo building
cargo build --release
from mchprs.
@AL1L, this seems to give
ERROR: openssl-dev-3.1.1-r3: trying to overwrite usr/lib/pkgconfig/libcrypto.pc owned by libressl-dev-3.7.3-r0.
ERROR: openssl-dev-3.1.1-r3: trying to overwrite usr/lib/pkgconfig/libssl.pc owned by libressl-dev-3.7.3-r0.
ERROR: openssl-dev-3.1.1-r3: trying to overwrite usr/lib/pkgconfig/openssl.pc owned by libressl-dev-3.7.3-r0.
Executing busybox-1.36.1-r1.trigger
1 error; 290 MiB in 55 packages
And later
env: can't execute '/home/container/MCHPRS/target/release/mchprs': No such file or directory
Any updates?
from mchprs.
from mchprs.
I built a docker image for arm64 and amd64 in a not very efficient way (using rust:nightly-slim) and posted egg to docker hub here: https://hub.docker.com/repository/docker/refruity/mchprs/general
from mchprs.
Related Issues (20)
- Cant place basic Redstone components (Observer, pistons, slime etc.) HOT 5
- Not existing whitelist.json crashes server on startup
- Compile error `regex` in Ubuntu Linux HOT 2
- Create new release HOT 1
- Wrong version in `Cargo.toml` HOT 2
- Plot crashes when doing `//count air`
- Glitch through the ground when disconnecting and reconnecting
- ./mchprs: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory HOT 1
- GPU utilization idea HOT 4
- Mods support? HOT 4
- Plot panicked at 'called `Result
- Regression in sammyuri's Minecraft in Minecraft HOT 4
- builds bigger than 256x256? HOT 5
- Update to a newer Minecraft version? HOT 1
- Improve some details.
- NOTEBLOCK COMPABILITY HOT 4
- instant repeater block HOT 4
- How do I paste things from litematica? HOT 1
- Plot panics when comparator reads from an empty container HOT 1
- [Suggestion] Add a tool to monitor redstone wire signal strength over time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mchprs.