mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-19 17:02:13 +02:00
Update links
This commit is contained in:
parent
4e70266ca3
commit
3201e66a0a
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@ -1,3 +1,3 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
custom: https://www.wurstclient.net/donate/
|
||||
custom: https://www.wurstclient.net/donate/?utm_source=GitHub&utm_medium=Wurst7&utm_campaign=GitHub+Sponsors&utm_content=Sponsor+this+project
|
||||
|
2
.github/ISSUE_TEMPLATE/config.yml
vendored
2
.github/ISSUE_TEMPLATE/config.yml
vendored
@ -4,5 +4,5 @@ contact_links:
|
||||
url: https://www.reddit.com/r/WurstClient/
|
||||
about: For general discussion, support, memes, etc.
|
||||
- name: Contact Alexander
|
||||
url: https://www.wurstclient.net/contact/
|
||||
url: https://www.wurstclient.net/contact/?utm_source=GitHub&utm_medium=Wurst7&utm_campaign=Issues&utm_content=Contact+Alexander
|
||||
about: For anything that shouldn't be public.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
## Downloads (for users)
|
||||
|
||||
https://www.wurstclient.net/download/
|
||||
[https://www.wurstclient.net/download/](https://www.wurstclient.net/download/?utm_source=GitHub&utm_medium=Wurst7&utm_campaign=README.md&utm_content=Downloads+%28for+users%29)
|
||||
|
||||
## Setup (for developers)
|
||||
|
||||
|
@ -121,21 +121,22 @@ public class WurstOptionsScreen extends Screen
|
||||
OperatingSystem os = Util.getOperatingSystem();
|
||||
|
||||
new WurstOptionsButton(54, 24, () -> "Official Website",
|
||||
"WurstClient.net", b -> os.open("https://www.wurstclient.net/"));
|
||||
"WurstClient.net", b -> os.open(
|
||||
"https://www.wurstclient.net/?utm_source=Wurst+Client&utm_medium=Wurst+Options&utm_content=Official+Website"));
|
||||
|
||||
new WurstOptionsButton(54, 48, () -> "Wurst Wiki",
|
||||
"Wiki.WurstClient.net",
|
||||
b -> os.open("https://wiki.wurstclient.net/"));
|
||||
new WurstOptionsButton(54, 48, () -> "Wurst Wiki", "Wurst.Wiki",
|
||||
b -> os.open(
|
||||
"https://wurst.wiki/?utm_source=Wurst+Client&utm_medium=Wurst+Options&utm_content=Wurst+Wiki"));
|
||||
|
||||
new WurstOptionsButton(54, 72, () -> "Twitter", "@Wurst_Imperium",
|
||||
b -> os.open("https://twitter.com/Wurst_Imperium"));
|
||||
b -> os.open("https://www.wurstclient.net/twitter/"));
|
||||
|
||||
new WurstOptionsButton(54, 96, () -> "Reddit", "r/WurstClient",
|
||||
b -> os.open("https://www.reddit.com/r/WurstClient/"));
|
||||
b -> os.open("https://www.wurstclient.net/reddit/"));
|
||||
|
||||
new WurstOptionsButton(54, 120, () -> "Donate",
|
||||
"paypal.me/WurstImperium",
|
||||
b -> os.open("https://www.wurstclient.net/donate/"));
|
||||
"WurstClient.net/donate", b -> os.open(
|
||||
"https://www.wurstclient.net/donate/?utm_source=Wurst+Client&utm_medium=Wurst+Options&utm_content=Donate"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -33,7 +33,8 @@ public final class ChangelogOtf extends OtherFeature
|
||||
@Override
|
||||
public void doPrimaryAction()
|
||||
{
|
||||
String link = new Version(WurstClient.VERSION).getChangelogLink();
|
||||
String link = new Version(WurstClient.VERSION).getChangelogLink()
|
||||
+ "?utm_source=Wurst+Client&utm_medium=ChangelogOtf&utm_content=View+Changelog";
|
||||
Util.getOperatingSystem().open(link);
|
||||
}
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ public class ServerFinderScreen extends Screen
|
||||
|
||||
addDrawableChild(ButtonWidget.builder(Text.literal("Tutorial"),
|
||||
b -> Util.getOperatingSystem().open(
|
||||
"https://www.wurstclient.net/wiki/Special_Features/Server_Finder/"))
|
||||
"https://www.wurstclient.net/serverfinder-tutorial/"))
|
||||
.dimensions(width / 2 - 100, height / 4 + 120 + 12, 200, 20)
|
||||
.build());
|
||||
|
||||
|
@ -139,7 +139,7 @@ public final class Version implements Comparable<Version>
|
||||
|
||||
public String getChangelogLink()
|
||||
{
|
||||
String version = major + "-" + minor;
|
||||
String version = major + "-" + minor + "-" + patch;
|
||||
|
||||
if(isPreRelease())
|
||||
version += "pre" + preRelease;
|
||||
|
@ -7,6 +7,9 @@
|
||||
*/
|
||||
package net.wurstclient.update;
|
||||
|
||||
import java.net.URLEncoder;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
||||
import net.minecraft.text.ClickEvent;
|
||||
import net.minecraft.text.Text;
|
||||
import net.wurstclient.WurstClient;
|
||||
@ -84,7 +87,8 @@ public final class WurstUpdater implements UpdateListener
|
||||
{
|
||||
String text = "An error occurred while checking for updates."
|
||||
+ " Click \u00a7nhere\u00a7r to check manually.";
|
||||
String url = "https://www.wurstclient.net/download/";
|
||||
String url =
|
||||
"https://www.wurstclient.net/download/?utm_source=Wurst+Client&utm_medium=WurstUpdater+chat+message&utm_content=An+error+occurred+while+checking+for+updates.";
|
||||
showLink(text, url);
|
||||
return;
|
||||
}
|
||||
@ -92,9 +96,13 @@ public final class WurstUpdater implements UpdateListener
|
||||
if(!outdated)
|
||||
return;
|
||||
|
||||
String text = "Wurst " + latestVersion + " is now available."
|
||||
+ " Click \u00a7nhere\u00a7r to download the update.";
|
||||
String url = "https://www.wurstclient.net/download/";
|
||||
String textPart1 = "Wurst " + latestVersion + " MC"
|
||||
+ WurstClient.MC_VERSION + " is now available.";
|
||||
String text =
|
||||
textPart1 + " Click \u00a7nhere\u00a7r to download the update.";
|
||||
String url =
|
||||
"https://www.wurstclient.net/download/?utm_source=Wurst+Client&utm_medium=WurstUpdater+chat+message&utm_content="
|
||||
+ URLEncoder.encode(textPart1, StandardCharsets.UTF_8);
|
||||
showLink(text, url);
|
||||
}
|
||||
|
||||
|
@ -178,8 +178,7 @@ public class ForceOpDialog extends JDialog
|
||||
{
|
||||
try
|
||||
{
|
||||
String howToLink =
|
||||
"https://www.wurstclient.net/Mods/Force_OP_(AuthMeCracker)/";
|
||||
String howToLink = "https://www.wurstclient.net/forceop-tutorial/";
|
||||
|
||||
Desktop.getDesktop().browse(URI.create(howToLink));
|
||||
|
||||
|
@ -9,8 +9,9 @@
|
||||
"Alexander01998"
|
||||
],
|
||||
"contact": {
|
||||
"homepage": "https://www.wurstclient.net/",
|
||||
"sources": "https://www.wurstclient.net/github/"
|
||||
"homepage": "https://www.wurstclient.net/?utm_source=Wurst+Client&utm_medium=ModMenu&utm_content=Website",
|
||||
"issues": "https://www.wurstclient.net/wurst7issues/",
|
||||
"sources": "https://www.wurstclient.net/wurst7sources/"
|
||||
},
|
||||
|
||||
"license": "GPL-3.0-or-later",
|
||||
@ -39,5 +40,13 @@
|
||||
"breaks": {
|
||||
"wi_zoom": "*",
|
||||
"wi-zoom": "*"
|
||||
},
|
||||
"custom": {
|
||||
"modmenu": {
|
||||
"links": {
|
||||
"Wiki": "https://wurst.wiki/?utm_source=Wurst+Client&utm_medium=ModMenu&utm_content=Wiki",
|
||||
"Donate": "https://www.wurstclient.net/donate/?utm_source=Wurst+Client&utm_medium=ModMenu&utm_content=Donate"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user