Skip to content

Commit

Permalink
1.0.5 Fix error for version less than 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
luluxe committed Jun 1, 2023
1 parent 338cd45 commit 9454e44
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>net</groupId>
<artifactId>communityanalytics</artifactId>
<name>communityanalytics</name>
<version>1.0.4</version>
<version>1.0.5</version>
<url>http://maven.apache.org</url>
<build>
<plugins>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>net</groupId>
<artifactId>communityanalytics</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
<packaging>jar</packaging>

<name>communityanalytics</name>
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/net/communityanalytics/CommunityAnalytics.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package net.communityanalytics;

public class CommunityAnalytics {
public static final String CHANNEL_INFO = "community-analytics:player-info";
// Channel size must be less than 20
public static final String CHANNEL_INFO = "ca:player-info";

public static final String API_URL = "https://communityanalytics.net/api";
public static final int SESSION_API_SECONDS = 30;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

public class PlatformManager {
public boolean success = false;
public String version = "1.0.4";
public String version = "1.0.5";

public void getPlatformInfo() {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import org.bstats.velocity.Metrics;
import org.slf4j.Logger;

@Plugin(id = "communityanalytics", name = "CommunityAnalytics", version = "1.0.4")
@Plugin(id = "communityanalytics", name = "CommunityAnalytics", version = "1.0.5")
public class VelocityPlugin {
public static VelocityPlugin instance;
private final ChannelIdentifier channel = new LegacyChannelIdentifier(CommunityAnalytics.CHANNEL_INFO);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/bungee.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CommunityAnalytics
author: FNetwork
main: net.communityanalytics.bungee.BungeePlugin
version: 1.0.4
version: 1.0.5
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CommunityAnalytics
author: FNetwork
main: net.communityanalytics.spigot.SpigotPlugin
website: https://communityanalytics.net
version: 1.0.4
version: 1.0.5
api-version: 1.13
commands:
communityanalytics:
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/velocity-plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "communityanalytics",
"name": "CommunityAnalytics",
"version": "1.0.4",
"version": "1.0.5",
"authors": [
"FNetwork"
],
Expand Down

0 comments on commit 9454e44

Please sign in to comment.