Описание
# Legacy4Server
A lightweight performance-oriented server-sided modpack for Legacy4J.
[](https://modrinth.com/modpack/legacy4server)
[](https://git.nostalgica.net/Lasting-Legacy/Content-Monorepo)
[](https://discord.gg/6pRkrYxbGW)
[](https://fabricmc.net/) [](https://www.patreon.com/ViolaFlower)
[](https://docs.nostalgica.net/modpacks/re-console/overview)

Legacy4Server is a fork of the private Re-Console SMP modpack, built for community usage.
Installing Legacy4Server on a server
This is the general guide for installation.
Guides
📦 Install using mrpack-install
Download `mrpack-install` through [GitHub releases](https://github.com/nothub/mrpack-install/releases) (or your distro's package if it has one) and take a look at the commands on the [README](https://github.com/nothub/mrpack-install). In Legacy4Server's case, to install in your server you would run:
```sh
mrpack-install Legacy4Server [optional version number]
```
🐋 Install using Docker Compose
> It's a good idea to have some knowledge on using Docker before doing this.
1. Make sure you have Docker Engine installed properly according to the [Docker docs](https://docs.docker.com/engine/install)
2. Create a new directory
3. Place the contents below in a file called `docker-compose.yml`. This Compose file also contains some other server tweaks meant for performance, such as disabling `sync-chunk-writes`, reducing render and simulation distance, and more
4. Run `docker compose up -d` in that directory
For any other information, you can read through the [Docker Minecraft Server documentation](https://docker-minecraft-server.readthedocs.io).
```yaml
services:
mc:
image: itzg/minecraft-server
tty: true
stdin_open: true
ports:
- "25565:25565"
environment:
EULA: "TRUE"
# Adrenaline and other mods
MOD_PLATFORM: MODRINTH
MODRINTH_DOWNLOAD_DEPENDENCIES: required
MODRINTH_MODPACK: legacy4server # this installs the latest version of Legacy4Server, you can also use a specific MR link to a version
MODRINTH_PROJECTS: spark, chunky # comma separated list of extra mods
# Server properties
VIEW_DISTANCE: 8
SIMULATION_DISTANCE: 5
SYNC_CHUNK_WRITES: false # having this set to false will significantly improve performance but may cause desync issues and (extremely rare) data corruption. set to true if you don't have a backup system
volumes:
# Attach the relative directory 'data' to the container's /data path
- ./data:/data
```
✨ Install using mcman
[mcman](https://github.com/ParadigmMC/mcman) is a tool for managing the mods/plugins/configurations of a Minecraft server. First, install mcman from [releases](https://github.com/ParadigmMC/mcman/releases). To import Legacy4Server while initializing a server, use this command:
```sh
mcman init --mrpack mr:legacy4server
```
After initializing and importing the mrpack, run `mcman build` to build the server into the `server/` directory, from which you can call `cd server && sh start.sh` or `cd server && call start.bat`. For more information, check out [mcman's docs](https://github.com/ParadigmMC/mcman/blob/main/DOCS.md).
💿 Install using mrpack4server
See the [mrpack4server](https://github.com/Patbox/mrpack4server) Git repository for installation info. `modpack-info.json`:
```json
{
"project_id": "legacy4server",
"version_id": "version id or name"
}
```
## Features
### All the Bells and Whistles...
Legacy4Server comes with all the features from Legacy4J, for your server! From the console flight, to proper gamerules.
### Nice and Speedy!
Legacy4Server comes with the top tier, cutting edge performance mods found in modpacks like Re-Console+, Simply Legacy, Additive, and more. It may cut your servers RAM usage in half, and allow you to play with more people!
### Compatibility with Vanilla
Legacy4Server, via DexrnZacAttack's mod, ModernRegSyncFix, allows vanilla clients to play any server running Legacy4Server.
### Free Support
Legacy4Server comes with free support offered by the developers of Lasting Legacy. If you have a bug, please report it on our GitHub Issues.
# Need a server?
Legacy4Server is officially sponsored by BisectHosting.
[](https://bh.naomieow.xyz/raamviot50)