mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
Update Some Strings For 2006Scape
This commit is contained in:
@@ -9,6 +9,8 @@ import org.parabot.environment.api.utils.Version;
|
|||||||
*/
|
*/
|
||||||
public class Configuration extends org.parabot.api.Configuration {
|
public class Configuration extends org.parabot.api.Configuration {
|
||||||
|
|
||||||
|
public static final String WEBSITE_LINK = "https://2006Scape.org/";
|
||||||
|
public static final String SDN_PAGE = "https://2006Scape.org/sdn/";
|
||||||
public static final String GET_RANDOMS = "https://2006Scape.org/Downloads/bot/Randoms-0.26.1.jar";
|
public static final String GET_RANDOMS = "https://2006Scape.org/Downloads/bot/Randoms-0.26.1.jar";
|
||||||
|
|
||||||
public static final String GET_SERVER_PROVIDER_TYPE = "http://v3.bdn.parabot.org/api/bot/server/type?server=%s";
|
public static final String GET_SERVER_PROVIDER_TYPE = "http://v3.bdn.parabot.org/api/bot/server/type?server=%s";
|
||||||
@@ -20,7 +22,4 @@ public class Configuration extends org.parabot.api.Configuration {
|
|||||||
public static final String ITEM_API = DATA_API + "items/";
|
public static final String ITEM_API = DATA_API + "items/";
|
||||||
|
|
||||||
public static final Version BOT_VERSION = ProjectProperties.getProjectVersion();
|
public static final Version BOT_VERSION = ProjectProperties.getProjectVersion();
|
||||||
|
|
||||||
public static final String COMMUNITY_PAGE = "https://www.parabot.org/community/";
|
|
||||||
public static final String BDN_PAGE = "http://bdn.parabot.org/scripts/";
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ public final class ScriptSelector extends JFrame {
|
|||||||
@Override
|
@Override
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
URI uri = URI
|
URI uri = URI
|
||||||
.create(Configuration.BDN_PAGE);
|
.create(Configuration.SDN_PAGE);
|
||||||
try {
|
try {
|
||||||
Desktop.getDesktop().browse(uri);
|
Desktop.getDesktop().browse(uri);
|
||||||
} catch (IOException e1) {
|
} catch (IOException e1) {
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ public abstract class ServerProvider implements Opcodes {
|
|||||||
"Broken hook:\r\n" + inj, new Object[]{ "Close", "Report here..." }, JOptionPane.ERROR_MESSAGE);
|
"Broken hook:\r\n" + inj, new Object[]{ "Close", "Report here..." }, JOptionPane.ERROR_MESSAGE);
|
||||||
|
|
||||||
if (resp == 1) {
|
if (resp == 1) {
|
||||||
URI uri = URI.create(Configuration.COMMUNITY_PAGE + "forum/135-reports/");
|
URI uri = URI.create(Configuration.WEBSITE_LINK + "forum/135-reports/");
|
||||||
try {
|
try {
|
||||||
Desktop.getDesktop().browse(uri);
|
Desktop.getDesktop().browse(uri);
|
||||||
} catch (IOException ignore) {
|
} catch (IOException ignore) {
|
||||||
|
|||||||
Reference in New Issue
Block a user