Skip to content

Commit

Permalink
Updated to new BlueMapAPI and simplified A TON
Browse files Browse the repository at this point in the history
  • Loading branch information
TechnicJelle committed Jan 3, 2023
1 parent b7bfe00 commit 04c66be
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 388 deletions.
19 changes: 1 addition & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,7 @@ by default, floodgate players don't have the correct playerhead image on BlueMap

| Without | With |
|----------------------------------------------------------|----------------------------------------------------|
| ![without the plugin](.github/readme_assets/without.png) | ![with the plugin](.github/readme_assets/with.png) |

You can safely reload the config by reloading BlueMap itself with `/bluemap reload`.

### Config
- `configVersion_DO_NOT_TOUCH`
- Do not touch this one! It's needed internally to keep track of the config versions.
- `cacheHours: 72`
- How long to keep the playerheads cached for. The lower this number, the faster skin updates will appear, but the more network usage there will be.
- `verboseLogging: true`
- Set to `true` if you want more messages telling you what the plugin is up to.
- `customAPI: ''`
- **This option is hidden by default, but you can add it to the config manually.**
- If you want to use a custom skin API, you can set it here. Keep empty or removed if you want to use my own custom skin grabber.\
Please tell me if you do use a custom skin API, because I genuinely want to know why anyone would want to do that.
- Make sure the API returns a full skin image, not just the head.
- Available placeholders: `{UUID}`, `{NAME}` (case sensitive)\
If there was no placeholder found in the URL, the UUID will be appended to the end of the URL.
| ![without the plugin](.github/readme_assets/without.png) | ![with the plugin](.github/readme_assets/with.png) |

## [Click here to download!](../../releases/latest)

Expand Down
12 changes: 8 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.technicjelle</groupId>
<artifactId>BlueMapFloodgate</artifactId>
<version>1.6.0</version>
<version>2.0.0</version>
<packaging>jar</packaging>

<name>BlueMapFloodgate</name>
Expand Down Expand Up @@ -76,9 +76,13 @@
<url>https://jitpack.io</url>
</repository>
<repository>
<id>opencollab-snapshot</id>
<id>opencollab-releases</id>
<url>https://repo.opencollab.dev/maven-snapshots/</url>
</repository>
<!-- <repository>-->
<!-- <id>opencollab-snapshot</id>-->
<!-- <url>https://repo.opencollab.dev/maven-releases/</url>-->
<!-- </repository>-->
</repositories>

<dependencies>
Expand All @@ -91,13 +95,13 @@
<dependency>
<groupId>com.github.BlueMap-Minecraft</groupId>
<artifactId>BlueMapAPI</artifactId>
<version>v2.1.0</version>
<version>v2.4.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.geysermc.floodgate</groupId>
<artifactId>api</artifactId>
<version>2.0-SNAPSHOT</version>
<version>2.2.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
92 changes: 0 additions & 92 deletions src/main/java/com/technicjelle/bluemapfloodgate/Config.java

This file was deleted.

Loading

0 comments on commit 04c66be

Please sign in to comment.