mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-22 11:55:54 +01:00
Add startup warning about this being a testing version, update UpdateChecker coordinates, change plugin.yml name to avoid issues with other plugins
This commit is contained in:
parent
2d4252ed6f
commit
e5783e7b05
@ -1,4 +1,4 @@
|
||||
name: DiscordSRV
|
||||
name: DiscordSRV-Ascension
|
||||
main: com.discordsrv.bukkit.loader.DiscordSRVBukkitLoader
|
||||
version: @VERSION@
|
||||
description: ""
|
||||
|
@ -175,6 +175,16 @@ public abstract class AbstractDiscordSRV<B extends IBootstrap, C extends MainCon
|
||||
this.updateChecker = new UpdateChecker(this);
|
||||
readManifest();
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
logger.warning("");
|
||||
logger.warning("+-----------------------------------------+");
|
||||
logger.warning("This is a testing version of DiscordSRV");
|
||||
logger.warning("Limited or no support will be provided");
|
||||
logger.warning("EVERYTHING is subject to change.");
|
||||
logger.warning("+-----------------------------------------+");
|
||||
logger.warning("");
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
||||
Dispatcher dispatcher = new Dispatcher();
|
||||
dispatcher.setMaxRequests(20); // Set maximum amount of requests at a time (to something more reasonable than 64)
|
||||
dispatcher.setMaxRequestsPerHost(16); // Most requests are to discord.com
|
||||
|
@ -45,12 +45,12 @@ import java.util.List;
|
||||
public class UpdateChecker {
|
||||
|
||||
private static final String USER_DOWNLOAD_URL = "https://discordsrv.com/download";
|
||||
private static final String GITHUB_REPOSITORY = "DiscordSRV/DiscordSRV";
|
||||
private static final String GITHUB_DEV_BRANCH = "master";
|
||||
private static final String GITHUB_REPOSITORY = "DiscordSRV/Ascension";
|
||||
private static final String GITHUB_DEV_BRANCH = "main";
|
||||
|
||||
private static final String DOWNLOAD_SERVICE_HOST = "https://download.discordsrv.com";
|
||||
private static final String DOWNLOAD_SERVICE_SNAPSHOT_CHANNEL = "snapshot";
|
||||
private static final String DOWNLOAD_SERVICE_RELEASE_CHANNEL = "release";
|
||||
private static final String DOWNLOAD_SERVICE_SNAPSHOT_CHANNEL = "ascension-snapshot";
|
||||
private static final String DOWNLOAD_SERVICE_RELEASE_CHANNEL = null;
|
||||
|
||||
private static final String GITHUB_API_HOST = "https://api.github.com";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user