docs: Update wiki link

This commit is contained in:
NotMyFault 2022-02-04 11:16:23 +01:00
parent 2bb72ebfea
commit d80bfc7495
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
10 changed files with 27 additions and 24 deletions

View File

@ -7,7 +7,7 @@ body:
attributes: attributes:
value: | value: |
Thanks for taking the time to fill out this bug report for FastAsyncWorldEdit! Fill out the following form to your best ability to help us fix the problem. Thanks for taking the time to fill out this bug report for FastAsyncWorldEdit! Fill out the following form to your best ability to help us fix the problem.
Only use this if you're absolutely sure that you found a bug and can reproduce it. For anything else, use: [our Discord server](https://discord.gg/intellectualsites) or [the wiki](https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki). Only use this if you're absolutely sure that you found a bug and can reproduce it. For anything else, use: [our Discord server](https://discord.gg/intellectualsites) or [the wiki](https://intellectualsites.github.io/fastasyncworldedit-documentation/).
Do NOT use the public issue tracker to report security vulnerabilities! They are disclosed using [this](https://forms.gle/btgdRn9yhGtzEiGW8) form! Do NOT use the public issue tracker to report security vulnerabilities! They are disclosed using [this](https://forms.gle/btgdRn9yhGtzEiGW8) form!
- type: dropdown - type: dropdown

View File

@ -4,5 +4,5 @@ contact_links:
url: https://discord.gg/intellectualsites url: https://discord.gg/intellectualsites
about: Our support Discord, please ask questions and seek support here. about: Our support Discord, please ask questions and seek support here.
- name: FastAsyncWorldEdit Wiki - name: FastAsyncWorldEdit Wiki
url: https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki url: https://intellectualsites.github.io/fastasyncworldedit-documentation/
about: Look at the wiki page for answers for setup instructions command syntax and more. about: Look at the wiki page for answers for setup instructions command syntax and more.

View File

@ -7,7 +7,7 @@ body:
attributes: attributes:
value: | value: |
Thanks for taking the time to fill out this feature request for FastAsyncWorldEdit! Fill out the following form to your best ability to help us understand your feature request and greately improve the change of it getting added. Thanks for taking the time to fill out this feature request for FastAsyncWorldEdit! Fill out the following form to your best ability to help us understand your feature request and greately improve the change of it getting added.
For anything else than a feature request, use: [our Discord server](https://discord.gg/intellectualsites) or [the wiki](https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki). For anything else than a feature request, use: [our Discord server](https://discord.gg/intellectualsites) or [the wiki](https://intellectualsites.github.io/fastasyncworldedit-documentation/).
- type: textarea - type: textarea
attributes: attributes:

View File

@ -19,7 +19,7 @@ Java Edition required. FastAsyncWorldEdit is compatible with Bukkit, Spigot and
=== Links === Links
* link:https://discord.gg/intellectualsites[Discord] * link:https://discord.gg/intellectualsites[Discord]
* link:https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki[Wiki] * link:https://intellectualsites.github.io/fastasyncworldedit-documentation/[Wiki]
* link:https://github.com/IntellectualSites/FastAsyncWorldEdit/issues[Report Issue] * link:https://github.com/IntellectualSites/FastAsyncWorldEdit/issues[Report Issue]
* link:https://intellectualsites.crowdin.com/fastasyncworldedit[Crowdin (Translations)] * link:https://intellectualsites.crowdin.com/fastasyncworldedit[Crowdin (Translations)]
* link:https://javadoc.io/doc/com.fastasyncworldedit/FastAsyncWorldEdit-Bukkit/latest/index.html[JavaDocs for the -bukkit module] * link:https://javadoc.io/doc/com.fastasyncworldedit/FastAsyncWorldEdit-Bukkit/latest/index.html[JavaDocs for the -bukkit module]

View File

@ -35,7 +35,7 @@ public class Settings extends Config {
public String ISSUES = "https://github.com/IntellectualSites/FastAsyncWorldEdit/issues"; public String ISSUES = "https://github.com/IntellectualSites/FastAsyncWorldEdit/issues";
@Final @Final
@SuppressWarnings("unused") @SuppressWarnings("unused")
public String WIKI = "https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki"; public String WIKI = "https://intellectualsites.github.io/fastasyncworldedit-documentation/";
@Final @Final
public String DATE; // These values are set from FAWE before loading public String DATE; // These values are set from FAWE before loading
@Final @Final

View File

@ -89,10 +89,10 @@ public class RichMaskParser extends FaweParser<Mask> {
throw new SuggestInputParseException( throw new SuggestInputParseException(
new NoMatchException(Caption.of("fawe.error.parse.unknown-mask", full, new NoMatchException(Caption.of("fawe.error.parse.unknown-mask", full,
TextComponent TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns" .of("https://intellectualsites.github.io/fastasyncworldedit-documentation/patterns/patterns"
) )
.clickEvent(ClickEvent.openUrl( .clickEvent(ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns" "https://intellectualsites.github.io/fastasyncworldedit-documentation/patterns/patterns"
)) ))
)), )),
full, full,
@ -143,10 +143,10 @@ public class RichMaskParser extends FaweParser<Mask> {
throw new SuggestInputParseException( throw new SuggestInputParseException(
new NoMatchException(Caption.of("fawe.error.parse.unknown-mask", full, new NoMatchException(Caption.of("fawe.error.parse.unknown-mask", full,
TextComponent TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Masks" .of("https://intellectualsites.github.io/fastasyncworldedit-documentation/masks/masks"
) )
.clickEvent(ClickEvent.openUrl( .clickEvent(ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Masks" "https://intellectualsites.github.io/fastasyncworldedit-documentation/masks/masks"
)) ))
)), )),
full, full,
@ -178,7 +178,7 @@ public class RichMaskParser extends FaweParser<Mask> {
try { try {
String cmdArgs = ((args.isEmpty()) ? "" : " " + StringMan.join(args, " ")); String cmdArgs = ((args.isEmpty()) ? "" : " " + StringMan.join(args, " "));
List<Substring> split = List<Substring> split =
CommandArgParser.forArgString(cmdArgs).parseArgs().collect(Collectors.toList()); CommandArgParser.forArgString(cmdArgs).parseArgs().toList();
List<String> argStrings = split List<String> argStrings = split
.stream() .stream()
.map(Substring::getSubstring) .map(Substring::getSubstring)

View File

@ -81,12 +81,11 @@ public class RichPatternParser extends FaweParser<Pattern> {
throw new SuggestInputParseException( throw new SuggestInputParseException(
new NoMatchException(Caption.of("fawe.error.parse.unknown-pattern", full, new NoMatchException(Caption.of("fawe.error.parse.unknown-pattern", full,
TextComponent TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki" + .of("https://intellectualsites.github.io/fastasyncworldedit-documentation/patterns/patterns"
"/Patterns"
) )
.clickEvent( .clickEvent(
ClickEvent.openUrl( ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns" "https://intellectualsites.github.io/fastasyncworldedit-documentation/patterns/patterns"
)) ))
)), )),
full, full,
@ -132,11 +131,11 @@ public class RichPatternParser extends FaweParser<Pattern> {
} catch (NoMatchException e) { } catch (NoMatchException e) {
throw new NoMatchException(Caption.of("fawe.error.parse.unknown-pattern", full, throw new NoMatchException(Caption.of("fawe.error.parse.unknown-pattern", full,
TextComponent TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns" .of("https://intellectualsites.github.io/fastasyncworldedit-documentation/patterns/patterns"
) )
.clickEvent( .clickEvent(
com.sk89q.worldedit.util.formatting.text.event.ClickEvent.openUrl( com.sk89q.worldedit.util.formatting.text.event.ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Patterns" "https://intellectualsites.github.io/fastasyncworldedit-documentation/patterns/patterns"
)) ))
)); ));
} }
@ -154,7 +153,7 @@ public class RichPatternParser extends FaweParser<Pattern> {
try { try {
String cmdArgs = ((args.isEmpty()) ? "" : " " + StringMan.join(args, " ")); String cmdArgs = ((args.isEmpty()) ? "" : " " + StringMan.join(args, " "));
List<Substring> split = List<Substring> split =
CommandArgParser.forArgString(cmdArgs).parseArgs().collect(Collectors.toList()); CommandArgParser.forArgString(cmdArgs).parseArgs().toList();
List<String> argStrings = split List<String> argStrings = split
.stream() .stream()
.map(Substring::getSubstring) .map(Substring::getSubstring)

View File

@ -78,10 +78,12 @@ public class RichTransformParser extends FaweParser<ResettableExtent> {
} else { } else {
throw new NoMatchException(Caption.of("fawe.error.parse.unknown-transform", pe.getFull(), throw new NoMatchException(Caption.of("fawe.error.parse.unknown-transform", pe.getFull(),
TextComponent TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" .of("https://intellectualsites.github" +
".io/fastasyncworldedit-documentation/transforms/transforms"
) )
.clickEvent(ClickEvent.openUrl( .clickEvent(ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" "https://intellectualsites.github" +
".io/fastasyncworldedit-documentation/transforms/transforms"
)) ))
)); ));
} }
@ -93,10 +95,12 @@ public class RichTransformParser extends FaweParser<ResettableExtent> {
} catch (Throwable e) { } catch (Throwable e) {
throw new NoMatchException(Caption.of("fawe.error.parse.unknown-transform", pe.getFull(), throw new NoMatchException(Caption.of("fawe.error.parse.unknown-transform", pe.getFull(),
TextComponent TextComponent
.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" .of("https://intellectualsites.github" +
".io/fastasyncworldedit-documentation/transforms/transforms"
) )
.clickEvent(ClickEvent.openUrl( .clickEvent(ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" "https://intellectualsites.github" +
".io/fastasyncworldedit-documentation/transforms/transforms"
)) ))
)); ));
} }
@ -146,9 +150,9 @@ public class RichTransformParser extends FaweParser<ResettableExtent> {
} }
if (union.isEmpty()) { if (union.isEmpty()) {
throw new NoMatchException(Caption.of("fawe.error.parse.unknown-transform", input, throw new NoMatchException(Caption.of("fawe.error.parse.unknown-transform", input,
TextComponent.of("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" TextComponent.of("https://intellectualsites.github.io/fastasyncworldedit-documentation/transforms/transforms"
).clickEvent(ClickEvent.openUrl( ).clickEvent(ClickEvent.openUrl(
"https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki/Transforms" "https://intellectualsites.github.io/fastasyncworldedit-documentation/transforms/transforms"
)) ))
)); ));
} else if (union.size() == 1) { } else if (union.size() == 1) {

View File

@ -77,7 +77,7 @@ public class WorldEditCommands {
actor.print(TextComponent.of("FastAsyncWorldEdit" + fVerStr)); actor.print(TextComponent.of("FastAsyncWorldEdit" + fVerStr));
actor.print(TextComponent.of("Authors: Empire92, MattBDev, IronApollo, dordsor21 and NotMyFault")); actor.print(TextComponent.of("Authors: Empire92, MattBDev, IronApollo, dordsor21 and NotMyFault"));
actor.print(TextComponent.of("Wiki: https://git.io/JMEPa") actor.print(TextComponent.of("Wiki: https://git.io/JMEPa")
.clickEvent(ClickEvent.openUrl("https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki"))); .clickEvent(ClickEvent.openUrl("https://intellectualsites.github.io/fastasyncworldedit-documentation/")));
actor.print(TextComponent.of("Discord: https://discord.gg/intellectualsites") actor.print(TextComponent.of("Discord: https://discord.gg/intellectualsites")
.clickEvent(ClickEvent.openUrl("https://discord.gg/intellectualsites"))); .clickEvent(ClickEvent.openUrl("https://discord.gg/intellectualsites")));
UpdateNotification.doUpdateNotification(actor); UpdateNotification.doUpdateNotification(actor);

View File

@ -33,7 +33,7 @@ import java.net.URISyntaxException;
public class InfoEntryPoint { public class InfoEntryPoint {
private static final String INSTALL_URL = "https://github.com/IntellectualSites/FastAsyncWorldEdit-Documentation/wiki"; private static final String INSTALL_URL = "https://intellectualsites.github.io/fastasyncworldedit-documentation/";
private static final String SUPPORT_URL = "https://discord.gg/intellectualsites"; private static final String SUPPORT_URL = "https://discord.gg/intellectualsites";
private static String getMessage(boolean html) { private static String getMessage(boolean html) {