Skip to content

Commit

Permalink
!online command now shows ping
Browse files Browse the repository at this point in the history
Fix fabricloader version to work with quilt
  • Loading branch information
allanf181 committed Oct 18, 2023
1 parent 7da8905 commit b7fa126
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void onMessageReceived(@NotNull MessageReceivedEvent e) {
"```\n=============== Online Players (" + onlinePlayers.size() + ") ===============\n"
);
for (ServerPlayer player : onlinePlayers) {
playerList.append("\n").append(player.getScoreboardName());
playerList.append("\n").append(player.getScoreboardName()).append("\t").append(player.latency).append("ms");
}
playerList.append("```");
e.getChannel().sendMessage(playerList.toString()).queue();
Expand Down
4 changes: 2 additions & 2 deletions curse_upload
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cd ../../../
FILE_LOCATION=`echo "./forge/build/libs/$FILE_NAME"`

#See https://github.com/curseforge/api for how to retrieve game version numbers
JSON=`printf '{"changelog": "%s", "gameVersions": [7498,10150,9990], "releaseType": "release"}' "$CHANGE_LOG"`
JSON=`printf '{"changelog": "%s", "gameVersions": [9639,7498,10150,9990], "releaseType": "release"}' "$CHANGE_LOG"`

echo "Uploading $FILE_NAME to Curse Forge..."
echo
Expand All @@ -26,7 +26,7 @@ cd ../../../
FILE_LOCATION=`echo "./fabric/build/libs/$FILE_NAME"`

#See https://github.com/curseforge/api for how to retrieve game version numbers
JSON=`printf '{"changelog": "%s", "gameVersions": [7499,9990], "releaseType": "release"}' "$CHANGE_LOG"`
JSON=`printf '{"changelog": "%s", "gameVersions": [9639,7499,9153,9990], "releaseType": "release"}' "$CHANGE_LOG"`

echo "Uploading $FILE_NAME to Curse Forge..."
echo
Expand Down
2 changes: 1 addition & 1 deletion fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dischatbridge.mixins.json"
],
"depends": {
"fabricloader": ">=0.14.23",
"fabricloader": ">=0.14.22",
"minecraft": ">=1.20.1"
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx4G
minecraft_version=1.20.1

archives_base_name=DisChatBridge
mod_version=2.1.0
mod_version=2.1.1
maven_group=one.armelin.dischatbridge

architectury_version=9.1.12
Expand Down

0 comments on commit b7fa126

Please sign in to comment.