cleanup
This commit is contained in:
parent
5ad32ad035
commit
73067b4c44
10 changed files with 56 additions and 55 deletions
|
@ -80,7 +80,6 @@ whether by contract or otherwise, or **(b)** ownership of more than
|
||||||
fifty percent (50%) of the outstanding shares or beneficial
|
fifty percent (50%) of the outstanding shares or beneficial
|
||||||
ownership of such entity.
|
ownership of such entity.
|
||||||
|
|
||||||
|
|
||||||
### 2. License Grants and Conditions
|
### 2. License Grants and Conditions
|
||||||
|
|
||||||
#### 2.1. Grants
|
#### 2.1. Grants
|
||||||
|
@ -148,7 +147,6 @@ equivalents.
|
||||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
||||||
in Section 2.1.
|
in Section 2.1.
|
||||||
|
|
||||||
|
|
||||||
### 3. Responsibilities
|
### 3. Responsibilities
|
||||||
|
|
||||||
#### 3.1. Distribution of Source Form
|
#### 3.1. Distribution of Source Form
|
||||||
|
@ -210,7 +208,6 @@ indemnity or liability terms You offer. You may include additional
|
||||||
disclaimers of warranty and limitations of liability specific to any
|
disclaimers of warranty and limitations of liability specific to any
|
||||||
jurisdiction.
|
jurisdiction.
|
||||||
|
|
||||||
|
|
||||||
### 4. Inability to Comply Due to Statute or Regulation
|
### 4. Inability to Comply Due to Statute or Regulation
|
||||||
|
|
||||||
If it is impossible for You to comply with any of the terms of this
|
If it is impossible for You to comply with any of the terms of this
|
||||||
|
@ -223,7 +220,6 @@ Software under this License. Except to the extent prohibited by statute
|
||||||
or regulation, such description must be sufficiently detailed for a
|
or regulation, such description must be sufficiently detailed for a
|
||||||
recipient of ordinary skill to be able to understand it.
|
recipient of ordinary skill to be able to understand it.
|
||||||
|
|
||||||
|
|
||||||
### 5. Termination
|
### 5. Termination
|
||||||
|
|
||||||
**5.1.** The rights granted under this License will terminate automatically
|
**5.1.** The rights granted under this License will terminate automatically
|
||||||
|
@ -252,7 +248,6 @@ end user license agreements (excluding distributors and resellers) which
|
||||||
have been validly granted by You or Your distributors under this License
|
have been validly granted by You or Your distributors under this License
|
||||||
prior to termination shall survive termination.
|
prior to termination shall survive termination.
|
||||||
|
|
||||||
|
|
||||||
### 6. Disclaimer of Warranty
|
### 6. Disclaimer of Warranty
|
||||||
|
|
||||||
> Covered Software is provided under this License on an “as is”
|
> Covered Software is provided under this License on an “as is”
|
||||||
|
@ -285,7 +280,6 @@ prior to termination shall survive termination.
|
||||||
> incidental or consequential damages, so this exclusion and
|
> incidental or consequential damages, so this exclusion and
|
||||||
> limitation may not apply to You.
|
> limitation may not apply to You.
|
||||||
|
|
||||||
|
|
||||||
### 8. Litigation
|
### 8. Litigation
|
||||||
|
|
||||||
Any litigation relating to this License may be brought only in the
|
Any litigation relating to this License may be brought only in the
|
||||||
|
@ -295,7 +289,6 @@ jurisdiction, without reference to its conflict-of-law provisions.
|
||||||
Nothing in this Section shall prevent a party's ability to bring
|
Nothing in this Section shall prevent a party's ability to bring
|
||||||
cross-claims or counter-claims.
|
cross-claims or counter-claims.
|
||||||
|
|
||||||
|
|
||||||
### 9. Miscellaneous
|
### 9. Miscellaneous
|
||||||
|
|
||||||
This License represents the complete agreement concerning the subject
|
This License represents the complete agreement concerning the subject
|
||||||
|
@ -305,7 +298,6 @@ necessary to make it enforceable. Any law or regulation which provides
|
||||||
that the language of a contract shall be construed against the drafter
|
that the language of a contract shall be construed against the drafter
|
||||||
shall not be used to construe this License against a Contributor.
|
shall not be used to construe this License against a Contributor.
|
||||||
|
|
||||||
|
|
||||||
### 10. Versions of the License
|
### 10. Versions of the License
|
||||||
|
|
||||||
#### 10.1. New Versions
|
#### 10.1. New Versions
|
||||||
|
|
|
@ -1,18 +1,23 @@
|
||||||
# PixelChat
|
# PixelChat
|
||||||
|
|
||||||
[![Discord](https://badgen.net/badge/icon/discord?icon=discord&label)](https://discord.gg/NuGxJKtDKS)
|
[![Discord](https://badgen.net/badge/icon/discord?icon=discord&label)](https://discord.gg/NuGxJKtDKS)
|
||||||
|
|
||||||
A simple mod to share images in-game.
|
A simple mod to share images in-game.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Image Sharing: Drag and drop image files into the chat and share them in chat.
|
- Image Sharing: Drag and drop image files into the chat and share them in chat.
|
||||||
|
|
||||||
## Fabric Setup
|
## Fabric Setup
|
||||||
|
|
||||||
1. Install Fabric: Ensure that you have Fabric installed.
|
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.
|
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.
|
3. Add to mods folder: Place the downloaded JAR file into your mods folder.
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
A configuration file can be found at
|
A configuration file can be found at
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
// Set where images will be uplaoded to
|
// Set where images will be uplaoded to
|
||||||
|
@ -25,9 +30,11 @@ A configuration file can be found at
|
||||||
```
|
```
|
||||||
|
|
||||||
## Server Setup
|
## Server Setup
|
||||||
|
|
||||||
Setting up a PixelChat server can be done with docker compose or from source.
|
Setting up a PixelChat server can be done with docker compose or from source.
|
||||||
|
|
||||||
### Docker Compose
|
### Docker Compose
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
services:
|
services:
|
||||||
"pixelchat":
|
"pixelchat":
|
||||||
|
@ -37,4 +44,5 @@ services:
|
||||||
```
|
```
|
||||||
|
|
||||||
### From Source
|
### From Source
|
||||||
|
|
||||||
WIP
|
WIP
|
||||||
|
|
|
@ -45,6 +45,6 @@ java {
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
from("LICENSE") {
|
from("LICENSE") {
|
||||||
rename { "${it}_${project.base.archivesName.get()}"}
|
rename { "${it}_${project.base.archivesName.get()}" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
org.gradle.jvmargs=-Xmx1G
|
org.gradle.jvmargs=-Xmx1G
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
|
|
||||||
# https://fabricmc.net/develop
|
# https://fabricmc.net/develop
|
||||||
minecraft_version=1.21.4
|
minecraft_version=1.21.4
|
||||||
yarn_mappings=1.21.4+build.2
|
yarn_mappings=1.21.4+build.2
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
},
|
},
|
||||||
"client": [
|
"client": [
|
||||||
"BossBarHudMixin",
|
"BossBarHudMixin",
|
||||||
|
"ChatHudMixin",
|
||||||
"ChatScreenMixin",
|
"ChatScreenMixin",
|
||||||
"ChatHudMixin"
|
"ScreenshotRecorderMixin"
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -12,7 +12,6 @@ import java.net.http.HttpClient;
|
||||||
import java.net.http.HttpRequest;
|
import java.net.http.HttpRequest;
|
||||||
import java.net.http.HttpResponse;
|
import java.net.http.HttpResponse;
|
||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
import java.util.List;
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
public class ImageUploads {
|
public class ImageUploads {
|
||||||
|
|
|
@ -13,7 +13,8 @@ import java.util.UUID;
|
||||||
@Mixin(BossBarHud.class)
|
@Mixin(BossBarHud.class)
|
||||||
public class BossBarHudMixin implements BossBars {
|
public class BossBarHudMixin implements BossBars {
|
||||||
|
|
||||||
@Shadow @Final
|
@Shadow
|
||||||
|
@Final
|
||||||
Map<UUID, ClientBossBar> bossBars;
|
Map<UUID, ClientBossBar> bossBars;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -51,5 +51,6 @@ public class MemoryStorage implements Storage {
|
||||||
private record Entry(
|
private record Entry(
|
||||||
byte[] value,
|
byte[] value,
|
||||||
Instant expiresAt
|
Instant expiresAt
|
||||||
) {}
|
) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue