Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexzvn/spigot-runner
https://github.com/alexzvn/spigot-runner
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexzvn/spigot-runner
- Owner: alexzvn
- Created: 2021-09-29T03:39:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T02:03:32.000Z (5 months ago)
- Last Synced: 2024-06-18T04:00:08.439Z (5 months ago)
- Language: Shell
- Size: 24.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spigot runner
This image provide OpenJ9 java optimized with aikar flag. Come with three differences version.## Tags version
- `alexzvn/spigot-runner:alpha` for `server <= 1.12.x` running java 8
- `alexzvn/spigot-runner:beta` for `1.12.x <= server <= 1.16.x` running java 11
- `alexzvn/spigot-runner:delta` for `server >= 1.17.x` running java 16
- `alexzvn/spigot-runner:gamma` for `server 1.18.x` running java 17
- `alexzvn/spigot-runner:epsilon` running java 19## Environment
- `TZ`: Timezone for container, see full list in [Wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
- `VERSION`: your spigot/paper server version (used for fix log4j)
- `GB_MEMORY`: Maximum GB ram for server, default value is `2`.
- `JAR_NAME`: The name of your server's JAR file. The default is "paperclip.jar". If you're not using Paper (http://papermc.io), then you should really switch.
- `DISABLE_AIKAR_FLAG`: set to `true` if you want to disable Aikar's flag enable by default
- `FIX_LOG4J_FLAG`: set to `false` if you want to disable them
- `CUSTOM_FLAG`: Insert custom flag when run server## Volumes
- `/server` this is where your source code in container## Commands
### Running
```bash
docker run -p 25565:25565 /path/to/server:/server -dit --name myserver alexzvn/spigot-runner:beta
```
### Access console
```bash
docker attach myserver
```
**Note:** press `Ctrl + P` and `Ctrl + Q` to exit console