Skip to content

Commit b935a07

Browse files
authored
Update a few links (#3308)
Signed-off-by: Alexander Brandes <[email protected]>
1 parent d83f24a commit b935a07

File tree

5 files changed

+8
-18
lines changed

5 files changed

+8
-18
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ If you use other plugins which depend on WorldEdit, simply having FAWE installed
1818
## Downloads
1919

2020
Downloads are available either on SpigotMC, Modrinth or on CurseForge.
21-
- [SpigotMC](https://www.spigotmc.org/resources/13932/)
21+
- [Jenkins](https://ci.athion.net/job/FastAsyncWorldEdit/)
2222
- [Modrinth](https://modrinth.com/plugin/fastasyncworldedit/)
2323
- [CurseForge](https://dev.bukkit.org/projects/fawe)
2424

25-
Snapshots are available on [Jenkins](https://ci.athion.net/job/FastAsyncWorldEdit/).
26-
2725
## Features
2826

2927
* Over 200 Commands

worldedit-bukkit/src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ load: STARTUP
55
api-version: 1.20
66
softdepend: [ Vault ]
77
provides: [ WorldEdit ]
8-
website: https://www.spigotmc.org/resources/13932/
8+
website: https://modrinth.com/plugin/fastasyncworldedit/
99
description: Blazingly fast world manipulation for builders, large networks and developers.
1010
authors: [ Empire92, MattBDev, IronApollo, dordsor21, NotMyFault ]
1111
loadbefore: [ WorldGuard, PlotSquared ]

worldedit-cli/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ tasks.named("assemble").configure {
6060

6161
val moduleIdentifier = "${rootProject.name}-${project.description}-${project.version}.jar"
6262
val decoration = "\n****************************************"
63-
val websiteURL = "https://www.spigotmc.org/resources/13932/"
63+
val websiteURL = "https://modrinth.com/plugin/fastasyncworldedit/"
6464

6565
bukkit {
6666
name = "FastAsyncWorldEdit-COMMAND_LINE_INTERFACE_NOT_A_PLUGIN"
@@ -71,7 +71,7 @@ bukkit {
7171
"* Stop your server, delete `$moduleIdentifier`" +
7272
" and download the proper one from:\n" +
7373
"* $websiteURL\n" +
74-
"* (contains `-Bukkit-` instead of `-CLI-` in the name ;)" +
74+
"* (contains `-Paper-` instead of `-CLI-` in the name ;)" +
7575
decoration
7676
version = rootProject.version.toString()
7777
website = websiteURL

worldedit-core/src/main/java/com/fastasyncworldedit/core/util/UpdateNotification.java

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@ public class UpdateNotification {
2929
private static final String GITHUB_LAST_RELEASE = "https://api.github.com/repos/IntellectualSites/FastAsyncWorldEdit/releases/latest";
3030
private static final String JENKINS_LAST_BUILD = "https://ci.athion.net/job/FastAsyncWorldEdit/lastSuccessfulBuild/api/json";
3131

32-
private static final String LINK_DOWNLOAD_SPIGOTMC = "https://www.spigotmc.org/resources/13932";
3332
private static final String LINK_DOWNLOAD_JENKINS = "https://ci.athion.net/job/FastAsyncWorldEdit";
3433
private static final String LINK_DOWNLOAD_MODRINTH = "https://modrinth.com/plugin/fastasyncworldedit";
3534
private static final String LINK_DOWNLOAD_HANGAR = "https://hangar.papermc.io/IntellectualSites/FastAsyncWorldEdit";
3635

3736
private static final String CONSOLE_NOTIFICATION_OUTDATED_RELEASE = """
3837
A new release for FastAsyncWorldEdit is available: {}. You are currently on {}.
39-
Download from {}, {} or {}""";
38+
Download from {} or {}""";
4039
private static final String CONSOLE_NOTIFICATION_OUTDATED_BUILD = """
4140
An update for FastAsyncWorldEdit is available. You are {} build(s) out of date.
4241
You are running build {}, the latest version is build {}.
@@ -60,7 +59,7 @@ public static void doUpdateCheck() {
6059
final FaweVersion installedVersion = Fawe.instance().getVersion();
6160
if (installedVersion == null || (installedVersion.build == 0 && installedVersion.snapshot)) {
6261
LOGGER.warn("You are using a snapshot or a custom version of FAWE. " +
63-
"This is not an official build distributed via https://www.spigotmc.org/resources/13932/");
62+
"This is not an official build distributed via https://ci.athion.net/job/FastAsyncWorldEdit/");
6463
return;
6564
}
6665
if (Settings.settings().ENABLED_COMPONENTS.SNAPSHOT_UPDATE_NOTIFICATIONS) {
@@ -88,7 +87,7 @@ public static void doUpdateCheck() {
8887
LOGGER.warn(CONSOLE_NOTIFICATION_OUTDATED_RELEASE,
8988
StringUtil.joinString(lastRelease, ".", 0),
9089
StringUtil.joinString(installedVersion.semver, ".", 0),
91-
LINK_DOWNLOAD_MODRINTH, LINK_DOWNLOAD_HANGAR, LINK_DOWNLOAD_SPIGOTMC
90+
LINK_DOWNLOAD_MODRINTH, LINK_DOWNLOAD_HANGAR
9291
);
9392
}
9493
});
@@ -186,13 +185,6 @@ public static void doUpdateNotification(Actor actor) {
186185
.color(TextColor.BLUE)
187186
.clickEvent(ClickEvent.openUrl(LINK_DOWNLOAD_HANGAR)),
188187
TextComponent.empty().color(TextColor.GRAY)
189-
)),
190-
TextComponent.empty().children(List.of(
191-
TextComponent
192-
.of("SpigotMC")
193-
.color(TextColor.GOLD)
194-
.clickEvent(ClickEvent.openUrl(LINK_DOWNLOAD_SPIGOTMC)),
195-
TextComponent.empty().color(TextColor.GRAY)
196188
))
197189
));
198190
}

worldedit-core/src/main/resources/lang/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"fawe.info.temporarily-not-working": "Temporarily not working",
1616
"fawe.info.light-blocks": "Light blocks are more reliable than light sources, please use the blocks. This command is deprecated and will be removed in a future version.",
1717
"fawe.info.update-available.build": "An update for FastAsyncWorldEdit is available. You are {0} build(s) behind.\nYou are running build {1}, the latest build is {2}.\nUpdate at {3}",
18-
"fawe.info.update-available.release": "A new release for FastAsyncWorldEdit is available: {0}. You are currently on {1}. Download from {2}, {3} or {4}.",
18+
"fawe.info.update-available.release": "A new release for FastAsyncWorldEdit is available: {0}. You are currently on {1}. Download from {2} or {3}.",
1919
"fawe.web.generating.link": "Uploading {0}, please wait...",
2020
"fawe.web.generating.link.failed": "Failed to generate download link!",
2121
"fawe.web.download.link": "{0}",

0 commit comments

Comments
 (0)