pixelchat/README.md

52 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2024-12-16 16:07:07 +00:00
# PixelChat
2024-12-16 16:45:24 +00:00
2024-12-16 16:07:07 +00:00
[![Discord](https://badgen.net/badge/icon/discord?icon=discord&label)](https://discord.gg/NuGxJKtDKS)
2024-12-16 16:17:40 +00:00
A simple mod to share images in-game.
2024-12-16 16:07:07 +00:00
## Features
2024-12-16 16:45:24 +00:00
2024-12-16 16:07:07 +00:00
- Image Sharing: Drag and drop image files into the chat and share them in chat.
## Fabric Setup
2024-12-16 16:45:24 +00:00
2024-12-16 16:07:07 +00:00
1. Install Fabric: Ensure that you have Fabric installed.
2. Download PixelChat: Get the latest version from the [releases](https://git.1e99.eu/1e99/pixelchat/releases) tab.
3. Add to mods folder: Place the downloaded JAR file into your mods folder.
### Configuration
2024-12-16 16:45:24 +00:00
2024-12-16 16:07:07 +00:00
A configuration file can be found at
2024-12-16 16:45:24 +00:00
2024-12-16 16:07:07 +00:00
```json
{
// Set where images will be uplaoded to
// You must omit the '/' at the end of the URL
// This must be a PixelChat server (See later on how to set one up yourself)
"image_hosts": [
"https://pc.1e99.eu"
]
}
```
## Server Setup
2024-12-16 16:45:24 +00:00
2024-12-16 16:07:07 +00:00
Setting up a PixelChat server can be done with docker compose or from source.
### Docker Compose
2024-12-16 16:45:24 +00:00
2024-12-16 16:07:07 +00:00
```yml
services:
"pixelchat":
build: "https://git.1e99.eu/1e99/pixelchat.git"
ports:
- "3000:3000"
```
### From Source
2024-12-17 17:01:11 +00:00
1. Install a JDK: Ensure that you have Java 21 installed.
2. Clone the git repository: `git clone https://git.1e99.eu/1e99/pixelchat.git`.
3. Change your working directory: `cd ./pixelchat`
4. Build the server JAR: `./gradlew :server:shadowJar`.
5. Run the server: `java -jar ./server/build/libs/server-*-all.jar`.