Merge remote-tracking branch 'upstream/openosrs_branding' into openosrs_branding
This commit is contained in:
@@ -80,12 +80,12 @@ static def getDate() {
|
||||
def buildDate = getDate()
|
||||
|
||||
processResources {
|
||||
from file("src/main/resources/runelite.plus.properties"), {
|
||||
from file("src/main/resources/open.osrs.properties"), {
|
||||
filter(ReplaceTokens, tokens: [
|
||||
"project.version": project.version,
|
||||
"rs.version": rsversion.toString(),
|
||||
"runelite.plus.version": plusVersion.toString(),
|
||||
"runelite.plus.builddate": buildDate.toString()
|
||||
"open.osrs.version": plusVersion.toString(),
|
||||
"open.osrs.builddate": buildDate.toString()
|
||||
])
|
||||
}
|
||||
}
|
||||
|
||||
@@ -325,7 +325,7 @@ public class Notifier
|
||||
{
|
||||
if (OSType.getOSType() == OSType.Linux && !Files.exists(notifyIconPath))
|
||||
{
|
||||
try (InputStream stream = Notifier.class.getResourceAsStream("/runeliteplus.png"))
|
||||
try (InputStream stream = Notifier.class.getResourceAsStream("/openosrs.png"))
|
||||
{
|
||||
Files.copy(stream, notifyIconPath);
|
||||
}
|
||||
|
||||
@@ -273,7 +273,7 @@ public class RuneLite
|
||||
RuneLiteSplashScreen.setError("Error while loading!", "Please check your internet connection and your DNS settings.");
|
||||
});
|
||||
|
||||
RuneLiteSplashScreen.stage(0, "Starting RuneLitePlus injector");
|
||||
RuneLiteSplashScreen.stage(0, "Starting openosrs injector");
|
||||
|
||||
final long start = System.currentTimeMillis();
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ import net.runelite.client.chat.ChatMessageManager;
|
||||
import net.runelite.client.config.ChatColorConfig;
|
||||
import net.runelite.client.config.ConfigManager;
|
||||
import net.runelite.client.config.RuneLiteConfig;
|
||||
import net.runelite.client.config.RuneLitePlusConfig;
|
||||
import net.runelite.client.config.OpenOSRSConfig;
|
||||
import net.runelite.client.eventbus.EventBus;
|
||||
import net.runelite.client.game.ItemManager;
|
||||
import net.runelite.client.menus.MenuManager;
|
||||
@@ -117,9 +117,9 @@ public class RuneLiteModule extends AbstractModule
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
RuneLitePlusConfig providePlusConfig(ConfigManager configManager)
|
||||
OpenOSRSConfig providePlusConfig(ConfigManager configManager)
|
||||
{
|
||||
return configManager.getConfig(RuneLitePlusConfig.class);
|
||||
return configManager.getConfig(OpenOSRSConfig.class);
|
||||
}
|
||||
|
||||
@Provides
|
||||
|
||||
@@ -32,12 +32,12 @@ import java.util.Properties;
|
||||
@Singleton
|
||||
public class RuneLiteProperties
|
||||
{
|
||||
private static final String RUNELITE_TITLE = "runelite.plus.title";
|
||||
private static final String RUNELITE_TITLE = "open.osrs.title";
|
||||
private static final String RUNELITE_VERSION = "runelite.version";
|
||||
private static final String RUNELITE_PLUS_VERSION = "runelite.plus.version";
|
||||
private static final String RUNELITE_PLUS_DATE = "runelite.plus.builddate";
|
||||
private static final String RUNELITE_PLUS_VERSION = "open.osrs.version";
|
||||
private static final String RUNELITE_PLUS_DATE = "open.osrs.builddate";
|
||||
private static final String RUNESCAPE_VERSION = "runescape.version";
|
||||
private static final String DISCORD_APP_ID = "runelite.plus.discord.appid";
|
||||
private static final String DISCORD_APP_ID = "open.osrs.discord.appid";
|
||||
private static final String DISCORD_INVITE = "runelite.discord.invite";
|
||||
private static final String GITHUB_LINK = "runelite.github.link";
|
||||
private static final String WIKI_LINK = "runelite.wiki.link";
|
||||
@@ -51,7 +51,7 @@ public class RuneLiteProperties
|
||||
|
||||
static
|
||||
{
|
||||
try (InputStream in = RuneLiteProperties.class.getResourceAsStream("/runelite.plus.properties"))
|
||||
try (InputStream in = RuneLiteProperties.class.getResourceAsStream("/open.osrs.properties"))
|
||||
{
|
||||
properties.load(in);
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ class SessionClient
|
||||
{
|
||||
UUID open() throws IOException
|
||||
{
|
||||
HttpUrl url = RuneLiteAPI.getRuneLitePlusSessionBase().newBuilder()
|
||||
HttpUrl url = RuneLiteAPI.getopenosrsSessionBase().newBuilder()
|
||||
.build();
|
||||
|
||||
Request request = new Request.Builder()
|
||||
@@ -61,7 +61,7 @@ class SessionClient
|
||||
|
||||
void ping(UUID uuid) throws IOException
|
||||
{
|
||||
HttpUrl url = RuneLiteAPI.getRuneLitePlusSessionBase().newBuilder()
|
||||
HttpUrl url = RuneLiteAPI.getopenosrsSessionBase().newBuilder()
|
||||
.addPathSegment("ping")
|
||||
.addQueryParameter("session", uuid.toString())
|
||||
.build();
|
||||
@@ -81,7 +81,7 @@ class SessionClient
|
||||
|
||||
void delete(UUID uuid) throws IOException
|
||||
{
|
||||
HttpUrl url = RuneLiteAPI.getRuneLitePlusSessionBase().newBuilder()
|
||||
HttpUrl url = RuneLiteAPI.getopenosrsSessionBase().newBuilder()
|
||||
.addQueryParameter("session", uuid.toString())
|
||||
.build();
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ import org.apache.commons.lang3.StringUtils;
|
||||
@Slf4j
|
||||
public class ConfigManager
|
||||
{
|
||||
private static final String SETTINGS_FILE_NAME = "runeliteplus.properties";
|
||||
private static final String SETTINGS_FILE_NAME = "openosrs.properties";
|
||||
private static final String STANDARD_SETTINGS_FILE_NAME = "settings.properties";
|
||||
private static final File SETTINGS_FILE = new File(RuneLite.RUNELITE_DIR, SETTINGS_FILE_NAME);
|
||||
private static final File STANDARD_SETTINGS_FILE = new File(RuneLite.RUNELITE_DIR, STANDARD_SETTINGS_FILE_NAME);
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
*/
|
||||
package net.runelite.client.config;
|
||||
|
||||
@ConfigGroup("runeliteplus")
|
||||
public interface RuneLitePlusConfig extends Config
|
||||
@ConfigGroup("openosrs")
|
||||
public interface OpenOSRSConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
keyName = "enableOpacity",
|
||||
@@ -17,7 +17,7 @@ import org.jooq.impl.DSL;
|
||||
@Slf4j
|
||||
public class DatabaseManager
|
||||
{
|
||||
private static final String DB_URL = "jdbc:h2:" + RUNELITE_DIR + File.separator + "RunelitePlus;AUTO_SERVER=TRUE";
|
||||
private static final String DB_URL = "jdbc:h2:" + RUNELITE_DIR + File.separator + "openosrs;AUTO_SERVER=TRUE";
|
||||
|
||||
// Database credentials
|
||||
private static final String USER = "RLP";
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
Modified java.awt.Robot for use with RuneLitePlus. Hopefully we can make it stand far apart.
|
||||
Modified java.awt.Robot for use with openosrs. Hopefully we can make it stand far apart.
|
||||
Uses
|
||||
https://github.com/JoonasVali/NaturalMouseMotion
|
||||
for mouse motion.
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2019 RuneLitePlus
|
||||
* Copyright (c) 2019 openosrs
|
||||
* Redistributions and modifications of this software are permitted as long as this notice remains in its original unmodified state at the top of this file.
|
||||
* If there are any questions comments, or feedback about this software, please direct all inquiries directly to the file authors:
|
||||
* ST0NEWALL#9112
|
||||
* RuneLitePlus Discord: https://discord.gg/Q7wFtCe
|
||||
* RuneLitePlus website: https://runelitepl.us
|
||||
* openosrs Discord: https://discord.gg/Q7wFtCe
|
||||
* openosrs website: https://openosrs.com
|
||||
******************************************************************************/
|
||||
|
||||
package net.runelite.client.game;
|
||||
|
||||
@@ -46,7 +46,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.client.RuneLite;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigManager;
|
||||
import net.runelite.client.config.RuneLitePlusConfig;
|
||||
import net.runelite.client.config.OpenOSRSConfig;
|
||||
|
||||
@Singleton
|
||||
@Slf4j
|
||||
@@ -54,7 +54,7 @@ public class PluginWatcher extends Thread
|
||||
{
|
||||
private static final File BASE = RuneLite.PLUGIN_DIR;
|
||||
|
||||
private final RuneLitePlusConfig runelitePlusConfig;
|
||||
private final OpenOSRSConfig OpenOSRSConfig;
|
||||
private final PluginManager pluginManager;
|
||||
private final WatchService watchService;
|
||||
private final WatchKey watchKey;
|
||||
@@ -63,9 +63,9 @@ public class PluginWatcher extends Thread
|
||||
private ConfigManager configManager;
|
||||
|
||||
@Inject
|
||||
public PluginWatcher(RuneLitePlusConfig runelitePlusConfig, PluginManager pluginManager) throws IOException
|
||||
public PluginWatcher(OpenOSRSConfig OpenOSRSConfig, PluginManager pluginManager) throws IOException
|
||||
{
|
||||
this.runelitePlusConfig = runelitePlusConfig;
|
||||
this.OpenOSRSConfig = OpenOSRSConfig;
|
||||
this.pluginManager = pluginManager;
|
||||
|
||||
setName("Plugin Watcher");
|
||||
@@ -85,7 +85,7 @@ public class PluginWatcher extends Thread
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
if (runelitePlusConfig.enablePlugins())
|
||||
if (OpenOSRSConfig.enablePlugins())
|
||||
{
|
||||
scan();
|
||||
}
|
||||
@@ -97,7 +97,7 @@ public class PluginWatcher extends Thread
|
||||
WatchKey key = watchService.take();
|
||||
Thread.sleep(50);
|
||||
|
||||
if (!runelitePlusConfig.enablePlugins())
|
||||
if (!OpenOSRSConfig.enablePlugins())
|
||||
{
|
||||
key.reset();
|
||||
continue;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Jacob M <https://github.com/jacoblairm>
|
||||
* Copyright (c) 2019, 7ate9 <https://github.com/se7enAte9>
|
||||
* Copyright (c) 2019, https://runelitepl.us
|
||||
* Copyright (c) 2019, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019, 7ate9 <https://github.com/se7enAte9>
|
||||
* Copyright (c) 2019, https://runelitepl.us
|
||||
* Copyright (c) 2019, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019, 7ate9 <https://github.com/se7enAte9>
|
||||
* Copyright (c) 2019, https://runelitepl.us
|
||||
* Copyright (c) 2019, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019, 7ate9 <https://github.com/se7enAte9>
|
||||
* Copyright (c) 2019, https://runelitepl.us
|
||||
* Copyright (c) 2019, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Copyright (c) 2018, Cameron <https://github.com/noremac201>
|
||||
* Copyright (c) 2018, Jacob M <https://github.com/jacoblairm>
|
||||
* Copyright (c) 2019, 7ate9 <https://github.com/se7enAte9>
|
||||
* Copyright (c) 2019, https://runelitepl.us
|
||||
* Copyright (c) 2019, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019, 7ate9 <https://github.com/se7enAte9>
|
||||
* Copyright (c) 2019, https://runelitepl.us
|
||||
* Copyright (c) 2019, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019, 7ate9 <https://github.com/se7enAte9>
|
||||
* Copyright (c) 2019, https://runelitepl.us
|
||||
* Copyright (c) 2019, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019, 7ate9 <https://github.com/se7enAte9>
|
||||
* Copyright (c) 2019, https://runelitepl.us
|
||||
* Copyright (c) 2019, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Cameron <https://github.com/noremac201>
|
||||
* Copyright (c) 2019, 7ate9 <https://github.com/se7enAte9>
|
||||
* Copyright (c) 2019, https://runelitepl.us
|
||||
* Copyright (c) 2019, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Jacob M <https://github.com/jacoblairm>
|
||||
* Copyright (c) 2019, https://runelitepl.us
|
||||
* Copyright (c) 2019, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019, https://runelitepl.us
|
||||
* Copyright (c) 2019, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019, 7ate9 <https://github.com/se7enAte9>
|
||||
* Copyright (c) 2019, https://runelitepl.us
|
||||
* Copyright (c) 2019, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Jacob M <https://github.com/jacoblairm>
|
||||
* Copyright (c) 2019, 7ate9 <https://github.com/se7enAte9>
|
||||
* Copyright (c) 2019, https://runelitepl.us
|
||||
* Copyright (c) 2019, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -101,7 +101,7 @@ import net.runelite.client.config.Keybind;
|
||||
import net.runelite.client.config.ModifierlessKeybind;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.RuneLiteConfig;
|
||||
import net.runelite.client.config.RuneLitePlusConfig;
|
||||
import net.runelite.client.config.OpenOSRSConfig;
|
||||
import net.runelite.client.plugins.Plugin;
|
||||
import net.runelite.client.plugins.PluginDescriptor;
|
||||
import net.runelite.client.plugins.PluginInstantiationException;
|
||||
@@ -139,13 +139,13 @@ public class ConfigPanel extends PluginPanel
|
||||
private static final String RUNELITE_GROUP_NAME = RuneLiteConfig.class.getAnnotation(ConfigGroup.class).value();
|
||||
private static final String PINNED_PLUGINS_CONFIG_KEY = "pinnedPlugins";
|
||||
private static final String RUNELITE_PLUGIN = "RuneLite";
|
||||
private static final String RUNELITEPLUS_PLUGIN = "RuneLitePlus";
|
||||
private static final String openosrs_PLUGIN = "openosrs";
|
||||
private static final String CHAT_COLOR_PLUGIN = "Chat Color";
|
||||
private final PluginManager pluginManager;
|
||||
private final ConfigManager configManager;
|
||||
private final ScheduledExecutorService executorService;
|
||||
private final RuneLiteConfig runeLiteConfig;
|
||||
private final RuneLitePlusConfig runeLitePlusConfig;
|
||||
private final OpenOSRSConfig OpenOSRSConfig;
|
||||
private final ChatColorConfig chatColorConfig;
|
||||
private final ColorPickerManager colorPickerManager;
|
||||
public static List<PluginListItem> pluginList = new ArrayList<>();
|
||||
@@ -176,7 +176,7 @@ public class ConfigPanel extends PluginPanel
|
||||
}
|
||||
|
||||
ConfigPanel(PluginManager pluginManager, ConfigManager configManager, ScheduledExecutorService executorService,
|
||||
RuneLiteConfig runeLiteConfig, RuneLitePlusConfig runeLitePlusConfig, ChatColorConfig chatColorConfig,
|
||||
RuneLiteConfig runeLiteConfig, OpenOSRSConfig OpenOSRSConfig, ChatColorConfig chatColorConfig,
|
||||
ColorPickerManager colorPickerManager)
|
||||
{
|
||||
super(false);
|
||||
@@ -184,7 +184,7 @@ public class ConfigPanel extends PluginPanel
|
||||
this.configManager = configManager;
|
||||
this.executorService = executorService;
|
||||
this.runeLiteConfig = runeLiteConfig;
|
||||
this.runeLitePlusConfig = runeLitePlusConfig;
|
||||
this.OpenOSRSConfig = OpenOSRSConfig;
|
||||
this.chatColorConfig = chatColorConfig;
|
||||
this.colorPickerManager = colorPickerManager;
|
||||
|
||||
@@ -289,13 +289,13 @@ public class ConfigPanel extends PluginPanel
|
||||
runeLite.nameLabel.setForeground(Color.WHITE);
|
||||
pluginList.add(runeLite);
|
||||
|
||||
// set RuneLitePlus config on top, as it should always have been
|
||||
final PluginListItem runeLitePlus = new PluginListItem(this, configManager, runeLitePlusConfig,
|
||||
configManager.getConfigDescriptor(runeLitePlusConfig),
|
||||
RUNELITEPLUS_PLUGIN, "RuneLitePlus client settings", "client");
|
||||
runeLitePlus.setPinned(pinnedPlugins.contains(RUNELITEPLUS_PLUGIN));
|
||||
runeLitePlus.nameLabel.setForeground(Color.WHITE);
|
||||
pluginList.add(runeLitePlus);
|
||||
// set openosrs config on top, as it should always have been
|
||||
final PluginListItem openosrs = new PluginListItem(this, configManager, OpenOSRSConfig,
|
||||
configManager.getConfigDescriptor(OpenOSRSConfig),
|
||||
openosrs_PLUGIN, "openosrs client settings", "client");
|
||||
openosrs.setPinned(pinnedPlugins.contains(openosrs_PLUGIN));
|
||||
openosrs.nameLabel.setForeground(Color.WHITE);
|
||||
pluginList.add(openosrs);
|
||||
|
||||
List<PluginListItem> externalPlugins = new ArrayList<>();
|
||||
// populate pluginList with all external Plugins
|
||||
@@ -578,7 +578,7 @@ public class ConfigPanel extends PluginPanel
|
||||
topPanelBackButton.setToolTipText("Back");
|
||||
topPanel.add(topPanelBackButton, BorderLayout.WEST);
|
||||
|
||||
if (!listItem.getName().equals("RuneLitePlus"))
|
||||
if (!listItem.getName().equals("openosrs"))
|
||||
{
|
||||
topPanel.add(listItem.createToggleButton(), BorderLayout.EAST);
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ import net.runelite.client.callback.ClientThread;
|
||||
import net.runelite.client.config.ChatColorConfig;
|
||||
import net.runelite.client.config.ConfigManager;
|
||||
import net.runelite.client.config.RuneLiteConfig;
|
||||
import net.runelite.client.config.RuneLitePlusConfig;
|
||||
import net.runelite.client.config.OpenOSRSConfig;
|
||||
import net.runelite.client.eventbus.EventBus;
|
||||
import net.runelite.client.events.OverlayMenuClicked;
|
||||
import net.runelite.client.events.PluginChanged;
|
||||
@@ -76,7 +76,7 @@ public class ConfigPlugin extends Plugin
|
||||
private RuneLiteConfig runeLiteConfig;
|
||||
|
||||
@Inject
|
||||
private RuneLitePlusConfig runeLitePlusConfig;
|
||||
private OpenOSRSConfig OpenOSRSConfig;
|
||||
|
||||
@Inject
|
||||
private ChatColorConfig chatColorConfig;
|
||||
@@ -95,7 +95,7 @@ public class ConfigPlugin extends Plugin
|
||||
{
|
||||
addSubscriptions();
|
||||
|
||||
configPanel = new ConfigPanel(pluginManager, configManager, executorService, runeLiteConfig, runeLitePlusConfig, chatColorConfig, colorPickerManager);
|
||||
configPanel = new ConfigPanel(pluginManager, configManager, executorService, runeLiteConfig, OpenOSRSConfig, chatColorConfig, colorPickerManager);
|
||||
|
||||
final BufferedImage icon = ImageUtil.getResourceStreamFromClass(getClass(), "config_icon.png");
|
||||
|
||||
|
||||
@@ -199,7 +199,7 @@ public class PluginListItem extends JPanel
|
||||
toggleButton.setPreferredSize(new Dimension(25, 0));
|
||||
attachToggleButtonListener(toggleButton);
|
||||
|
||||
if (name.equals("RuneLitePlus"))
|
||||
if (name.equals("openosrs"))
|
||||
{
|
||||
toggleButton.setVisible(false);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2019, Kyle <https://github.com/kyleeld>
|
||||
* Copyright (c) 2018, Raiever <https://github.com/Raieverr>
|
||||
* All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2019, Kyle <https://github.com/kyleeld>
|
||||
* Copyright (c) 2018, Raiever <https://github.com/Raieverr>
|
||||
* All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2019, Kyle <https://github.com/kyleeld>
|
||||
* Copyright (c) 2018, Raiever <https://github.com/Raieverr>
|
||||
* All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019, Kyleeld <https://github.com/kyleeld>
|
||||
* Copyright (c) 2019, RuneLitePlus <https://runelitepl.us>
|
||||
* Copyright (c) 2019, openosrs <https://openosrs.com>
|
||||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
|
||||
@@ -113,7 +113,7 @@ public class InfoPanel extends PluginPanel
|
||||
JLabel version = new JLabel(htmlLabel("RuneLite version: ", RuneLiteProperties.getVersion()));
|
||||
version.setFont(smallFont);
|
||||
|
||||
JLabel plusVersion = new JLabel(htmlLabel("RuneLitePlus version: ", RuneLiteProperties.getPlusVersion()));
|
||||
JLabel plusVersion = new JLabel(htmlLabel("Openosrs version: ", RuneLiteProperties.getPlusVersion()));
|
||||
plusVersion.setFont(smallFont);
|
||||
|
||||
JLabel revision = new JLabel();
|
||||
@@ -168,7 +168,7 @@ public class InfoPanel extends PluginPanel
|
||||
actionsContainer.add(buildLinkPanel(GITHUB_ICON, "License info", "for distribution", "https://github.com/runelite-extended/runelite/blob/master/LICENSE"));
|
||||
actionsContainer.add(buildLinkPanel(FOLDER_ICON, "Open logs directory", "(for bug reports)", LOGS_DIR));
|
||||
actionsContainer.add(buildLinkPanel(DISCORD_ICON, "Talk to us on our", "discord server", "https://discord.gg/HN5gf3m"));
|
||||
actionsContainer.add(buildLinkPanel(PATREON_ICON, "Patreon to support", "the RuneLitePlus devs", RuneLiteProperties.getPatreonLink()));
|
||||
actionsContainer.add(buildLinkPanel(PATREON_ICON, "Patreon to support", "the openosrs devs", RuneLiteProperties.getPatreonLink()));
|
||||
/* actionsContainer.add(buildLinkPanel(WIKI_ICON, "Information about", "RuneLite and plugins", runeLiteProperties.getWikiLink()));*/
|
||||
|
||||
add(versionPanel, BorderLayout.NORTH);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2019, Ethan <https://github.com/Wea1thRS/>
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2019, Ethan <https://github.com/Wea1thRS/>
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2019, Ethan <https://github.com/Wea1thRS/>
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2019, Ethan <https://github.com/Wea1thRS/>
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2019, Ethan <https://github.com/Wea1thRS/>
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2019, Ethan <https://github.com/Wea1thRS/>
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2019, Ethan <https://github.com/Wea1thRS/>
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2019, Ethan <https://github.com/Wea1thRS/>
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2019, Ethan <https://github.com/Wea1thRS/>
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2019, Ethan <https://github.com/Wea1thRS/>
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://github.com/runeliteplusplus
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2018, https://github.com/openosrsplus
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* ******************************************************************************
|
||||
* * Copyright (c) 2019 RuneLitePlus
|
||||
* * Copyright (c) 2019 openosrs
|
||||
* * Redistributions and modifications of this software are permitted as long as this notice remains in its original unmodified state at the top of this file.
|
||||
* * If there are any questions comments, or feedback about this software, please direct all inquiries directly to the file authors:
|
||||
* * ST0NEWALL#9112
|
||||
* * RuneLitePlus Discord: https://discord.gg/Q7wFtCe
|
||||
* * RuneLitePlus website: https://runelitepl.us
|
||||
* * openosrs Discord: https://discord.gg/Q7wFtCe
|
||||
* * openosrs website: https://openosrs.com
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
|
||||
* All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
|
||||
* All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
|
||||
* All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
|
||||
* All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
|
||||
* All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
|
||||
* All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
|
||||
* All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
|
||||
* All rights reserved.
|
||||
*
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
package net.runelite.client.plugins.runeliteplus;
|
||||
package net.runelite.client.plugins.openosrs;
|
||||
|
||||
import java.awt.event.KeyEvent;
|
||||
import javax.inject.Inject;
|
||||
@@ -38,7 +38,7 @@ import net.runelite.api.widgets.WidgetID;
|
||||
import static net.runelite.api.widgets.WidgetInfo.*;
|
||||
import net.runelite.client.callback.ClientThread;
|
||||
import net.runelite.client.config.Keybind;
|
||||
import net.runelite.client.config.RuneLitePlusConfig;
|
||||
import net.runelite.client.config.OpenOSRSConfig;
|
||||
import net.runelite.client.eventbus.EventBus;
|
||||
import net.runelite.client.input.KeyListener;
|
||||
import net.runelite.client.input.KeyManager;
|
||||
@@ -49,15 +49,15 @@ import net.runelite.client.util.HotkeyListener;
|
||||
@PluginDescriptor(
|
||||
loadWhenOutdated = true, // prevent users from disabling
|
||||
hidden = true, // prevent users from disabling
|
||||
name = "RunelitePlus"
|
||||
name = "openosrs"
|
||||
)
|
||||
@Singleton
|
||||
@Slf4j
|
||||
public class RuneLitePlusPlugin extends Plugin
|
||||
public class OpenOSRSPlugin extends Plugin
|
||||
{
|
||||
private final RuneLitePlusKeyListener keyListener = new RuneLitePlusKeyListener();
|
||||
private final openosrsKeyListener keyListener = new openosrsKeyListener();
|
||||
@Inject
|
||||
private RuneLitePlusConfig config;
|
||||
private OpenOSRSConfig config;
|
||||
|
||||
@Inject
|
||||
private KeyManager keyManager;
|
||||
@@ -113,7 +113,7 @@ public class RuneLitePlusPlugin extends Plugin
|
||||
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("runeliteplus"))
|
||||
if (!event.getGroup().equals("openosrs"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -214,7 +214,7 @@ public class RuneLitePlusPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
private class RuneLitePlusKeyListener implements KeyListener
|
||||
private class openosrsKeyListener implements KeyListener
|
||||
{
|
||||
private int lastKeyCycle;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2019 RuneLitePlus
|
||||
* Copyright (c) 2019 openosrs
|
||||
* Redistributions and modifications of this software are permitted as long as this notice remains in its original unmodified state at the top of this file.
|
||||
* If there are any questions comments, or feedback about this software, please direct all inquiries directly to the file authors:
|
||||
* ST0NEWALL#9112
|
||||
* RuneLitePlus Discord: https://discord.gg/Q7wFtCe
|
||||
* RuneLitePlus website: https://runelitepl.us
|
||||
* openosrs Discord: https://discord.gg/Q7wFtCe
|
||||
* openosrs website: https://openosrs.com
|
||||
******************************************************************************/
|
||||
|
||||
package net.runelite.client.plugins.playerindicators;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2019 RuneLitePlus
|
||||
* Copyright (c) 2019 openosrs
|
||||
* Redistributions and modifications of this software are permitted as long as this notice remains in its original unmodified state at the top of this file.
|
||||
* If there are any questions comments, or feedback about this software, please direct all inquiries directly to the file authors:
|
||||
* ST0NEWALL#9112
|
||||
* RuneLitePlus Discord: https://discord.gg/Q7wFtCe
|
||||
* RuneLitePlus website: https://runelitepl.us
|
||||
* openosrs Discord: https://discord.gg/Q7wFtCe
|
||||
* openosrs website: https://openosrs.com
|
||||
******************************************************************************/
|
||||
|
||||
package net.runelite.client.plugins.playerindicators;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -76,7 +76,7 @@ class ProfilesPanel extends PluginPanel
|
||||
private static final String PASSWORD_LABEL = "Account Password";
|
||||
private static final String HELP = "To add and load accounts, first enter a password into the Encryption Password " +
|
||||
"field then press %s. <br /><br /> You can now add as many accounts as you would like. <br /><br /> The next time you restart " +
|
||||
"RunelitePlus, enter your encryption password and click load accounts to see the accounts you entered.";
|
||||
"openosrs, enter your encryption password and click load accounts to see the accounts you entered.";
|
||||
|
||||
@Inject
|
||||
@Nullable
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* ******************************************************************************
|
||||
* * Copyright (c) 2019 RuneLitePlus
|
||||
* * Copyright (c) 2019 openosrs
|
||||
* * Redistributions and modifications of this software are permitted as long as this notice remains in its original unmodified state at the top of this file.
|
||||
* * If there are any questions comments, or feedback about this software, please direct all inquiries directly to the file authors:
|
||||
* * ST0NEWALL#9112
|
||||
* * RuneLitePlus Discord: https://discord.gg/Q7wFtCe
|
||||
* * RuneLitePlus website: https://runelitepl.us
|
||||
* * openosrs Discord: https://discord.gg/Q7wFtCe
|
||||
* * openosrs website: https://openosrs.com
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* ******************************************************************************
|
||||
* * Copyright (c) 2019 RuneLitePlus
|
||||
* * Copyright (c) 2019 openosrs
|
||||
* * Redistributions and modifications of this software are permitted as long as this notice remains in its original unmodified state at the top of this file.
|
||||
* * If there are any questions comments, or feedback about this software, please direct all inquiries directly to the file authors:
|
||||
* * ST0NEWALL#9112
|
||||
* * RuneLitePlus Discord: https://discord.gg/Q7wFtCe
|
||||
* * RuneLitePlus website: https://runelitepl.us
|
||||
* * openosrs Discord: https://discord.gg/Q7wFtCe
|
||||
* * openosrs website: https://openosrs.com
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019, RuneLitePlus <https://runelitepl.us>
|
||||
* Copyright (c) 2019, openosrs <https://openosrs.com>
|
||||
* Copyright (c) 2019, kyle <https://github.com/Kyleeld>
|
||||
* All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019, jkybtw <https://github.com/jkybtw>
|
||||
* Copyright (c) 2019, RuneLitePlus <https://runelitepl.us>
|
||||
* Copyright (c) 2019, openosrs <https://openosrs.com>
|
||||
* Copyright (c) 2019, kyle <https://github.com/Kyleeld>
|
||||
* All rights reserved.
|
||||
*
|
||||
|
||||
@@ -505,7 +505,7 @@ public class SpellbookPlugin extends Plugin
|
||||
|
||||
// Runs magic_spellbook_rebuild
|
||||
// The magic numbers probably are mobile specific widgetids
|
||||
// runeliteplus mobile when?
|
||||
// openosrs mobile when?
|
||||
clientThread.invoke(() ->
|
||||
client.runScript(
|
||||
MAGIC_SPELLBOOK_REDRAW,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2019, Infinitay <https://github.com/Infinitay>
|
||||
*
|
||||
* All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2019, Infinitay <https://github.com/Infinitay>
|
||||
*
|
||||
* All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2019, Infinitay <https://github.com/Infinitay>
|
||||
*
|
||||
* All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, https://runelitepl.us
|
||||
* Copyright (c) 2018, https://openosrs.com
|
||||
* Copyright (c) 2019, Infinitay <https://github.com/Infinitay>
|
||||
*
|
||||
* All rights reserved.
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
|
||||
/*
|
||||
* ******************************************************************************
|
||||
* * Copyright (c) 2019 RuneLitePlus
|
||||
* * Copyright (c) 2019 openosrs
|
||||
* * Redistributions and modifications of this software are permitted as long as this notice remains in its original unmodified state at the top of this file.
|
||||
* * If there are any questions comments, or feedback about this software, please direct all inquiries directly to the file authors:
|
||||
* * ST0NEWALL#9112
|
||||
* * RuneLitePlus Discord: https://discord.gg/Q7wFtCe
|
||||
* * RuneLitePlus website: https://runelitepl.us
|
||||
* * openosrs Discord: https://discord.gg/Q7wFtCe
|
||||
* * openosrs website: https://openosrs.com
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
|
||||
/*
|
||||
* ******************************************************************************
|
||||
* * Copyright (c) 2019 RuneLitePlus
|
||||
* * Copyright (c) 2019 openosrs
|
||||
* * Redistributions and modifications of this software are permitted as long as this notice remains in its original unmodified state at the top of this file.
|
||||
* * If there are any questions comments, or feedback about this software, please direct all inquiries directly to the file authors:
|
||||
* * ST0NEWALL#9112
|
||||
* * RuneLitePlus Discord: https://discord.gg/Q7wFtCe
|
||||
* * RuneLitePlus website: https://runelitepl.us
|
||||
* * openosrs Discord: https://discord.gg/Q7wFtCe
|
||||
* * openosrs website: https://openosrs.com
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2019 RuneLitePlus
|
||||
* Copyright (c) 2019 openosrs
|
||||
* Redistributions and modifications of this software are permitted as long as this notice remains in its original unmodified state at the top of this file.
|
||||
* If there are any questions comments, or feedback about this software, please direct all inquiries directly to the file authors:
|
||||
* ST0NEWALL#9112
|
||||
* RuneLitePlus Discord: https://discord.gg/Q7wFtCe
|
||||
* RuneLitePlus website: https://runelitepl.us
|
||||
* openosrs Discord: https://discord.gg/Q7wFtCe
|
||||
* openosrs website: https://openosrs.com
|
||||
******************************************************************************/
|
||||
|
||||
package net.runelite.client.plugins.wildernesslocations;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2019 RuneLitePlus
|
||||
* Copyright (c) 2019 openosrs
|
||||
* Redistributions and modifications of this software are permitted as long as this notice remains in its original unmodified state at the top of this file.
|
||||
* If there are any questions comments, or feedback about this software, please direct all inquiries directly to the file authors:
|
||||
* ST0NEWALL#9112
|
||||
* RuneLitePlus Discord: https://discord.gg/Q7wFtCe
|
||||
* RuneLitePlus website: https://runelitepl.us
|
||||
* openosrs Discord: https://discord.gg/Q7wFtCe
|
||||
* openosrs website: https://openosrs.com
|
||||
******************************************************************************/
|
||||
|
||||
package net.runelite.client.plugins.wildernesslocations;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2019 RuneLitePlus
|
||||
* Copyright (c) 2019 openosrs
|
||||
* Redistributions and modifications of this software are permitted as long as this notice remains in its original unmodified state at the top of this file.
|
||||
* If there are any questions comments, or feedback about this software, please direct all inquiries directly to the file authors:
|
||||
* ST0NEWALL#9112
|
||||
* RuneLitePlus Discord: https://discord.gg/Q7wFtCe
|
||||
* RuneLitePlus website: https://runelitepl.us
|
||||
* openosrs Discord: https://discord.gg/Q7wFtCe
|
||||
* openosrs website: https://openosrs.com
|
||||
******************************************************************************/
|
||||
|
||||
package net.runelite.client.plugins.wildernesslocations;
|
||||
|
||||
@@ -81,7 +81,7 @@ public class ClientLoader
|
||||
catch (ClassNotFoundException e)
|
||||
{
|
||||
RuneLiteSplashScreen.setError("Unable to load client", "Class not found. This means you"
|
||||
+ " are not running RuneLitePlus with Gradle as the injected client"
|
||||
+ " are not running openosrs with Gradle as the injected client"
|
||||
+ " is not in your classpath.");
|
||||
|
||||
log.error("Error loading RS!", e);
|
||||
|
||||
@@ -107,7 +107,7 @@ import org.pushingpixels.substance.internal.utils.SubstanceTitlePaneUtilities;
|
||||
public class ClientUI
|
||||
{
|
||||
private static final String CONFIG_GROUP = "runelite";
|
||||
private static final String PLUS_CONFIG_GROUP = "runeliteplus";
|
||||
private static final String PLUS_CONFIG_GROUP = "openosrs";
|
||||
private static final String CONFIG_CLIENT_BOUNDS = "clientBounds";
|
||||
private static final String CONFIG_CLIENT_MAXIMIZED = "clientMaximized";
|
||||
private static final String CONFIG_OPACITY = "enableOpacity";
|
||||
@@ -115,7 +115,7 @@ public class ClientUI
|
||||
private static final int CLIENT_WELL_HIDDEN_MARGIN = 160;
|
||||
private static final int CLIENT_WELL_HIDDEN_MARGIN_TOP = 10;
|
||||
public static boolean allowInput = false;
|
||||
public static final BufferedImage ICON = ImageUtil.getResourceStreamFromClass(ClientUI.class, "/runeliteplus.png");
|
||||
public static final BufferedImage ICON = ImageUtil.getResourceStreamFromClass(ClientUI.class, "/openosrs.png");
|
||||
|
||||
@Getter
|
||||
private TrayIcon trayIcon;
|
||||
@@ -536,7 +536,7 @@ public class ClientUI
|
||||
if (client != null && !(client instanceof Client))
|
||||
{
|
||||
SwingUtilities.invokeLater(() -> JOptionPane.showMessageDialog(frame,
|
||||
"RuneLitePlus has not yet been updated to work with the latest\n"
|
||||
"openosrs has not yet been updated to work with the latest\n"
|
||||
+ "game update, it will work with reduced functionality until then.",
|
||||
"RuneLite is outdated", INFORMATION_MESSAGE));
|
||||
}
|
||||
|
||||
@@ -48,12 +48,12 @@ public class RuneLiteSplashScreen extends JFrame
|
||||
|
||||
private RuneLiteSplashScreen()
|
||||
{
|
||||
this.setTitle("RuneLitePlus");
|
||||
this.setTitle("openosrs");
|
||||
this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
||||
this.setSize(FRAME_SIZE);
|
||||
this.setLayout(new BorderLayout());
|
||||
this.setUndecorated(true);
|
||||
this.setIconImage(ImageUtil.getResourceStreamFromClass(RuneLiteSplashScreen.class, "/runeliteplus.png"));
|
||||
this.setIconImage(ImageUtil.getResourceStreamFromClass(RuneLiteSplashScreen.class, "/openosrs.png"));
|
||||
|
||||
final JPanel panel = new JPanel();
|
||||
panel.setLayout(new BorderLayout());
|
||||
|
||||
@@ -55,11 +55,11 @@ import net.runelite.client.util.LinkBrowser;
|
||||
public class InfoPanel extends JPanel
|
||||
{
|
||||
private static final String RUNELITE_VERSION = "runelite.version";
|
||||
private static final String RUNELITE_PLUS_VERSION = "runelite.plus.version";
|
||||
private static final String RUNELITE_PLUS_DATE = "runelite.plus.builddate";
|
||||
private static final String RUNELITE_PLUS_VERSION = "open.osrs.version";
|
||||
private static final String RUNELITE_PLUS_DATE = "open.osrs.builddate";
|
||||
private static final Color DARK_GREY = new Color(10, 10, 10, 255);
|
||||
|
||||
private static final BufferedImage TRANSPARENT_LOGO = ImageUtil.getResourceStreamFromClass(InfoPanel.class, "/runeliteplus_transparent.png");
|
||||
private static final BufferedImage TRANSPARENT_LOGO = ImageUtil.getResourceStreamFromClass(InfoPanel.class, "/openosrs_transparent.png");
|
||||
static final Dimension PANEL_SIZE = new Dimension(200, RuneLiteSplashScreen.FRAME_SIZE.height);
|
||||
private static final Dimension VERSION_SIZE = new Dimension(PANEL_SIZE.width, 25);
|
||||
private static final File RUNELITE_DIR = new File(System.getProperty("user.home"), ".runelite");
|
||||
@@ -69,7 +69,7 @@ public class InfoPanel extends JPanel
|
||||
|
||||
public InfoPanel()
|
||||
{
|
||||
try (InputStream in = getClass().getResourceAsStream("/runelite.plus.properties"))
|
||||
try (InputStream in = getClass().getResourceAsStream("/open.osrs.properties"))
|
||||
{
|
||||
properties.load(in);
|
||||
}
|
||||
@@ -120,7 +120,7 @@ public class InfoPanel extends JPanel
|
||||
this.add(logsFolder, c);
|
||||
c.gridy++;
|
||||
|
||||
final JLabel discord = createPanelButton("Get help on Discord", "Instant invite link to join the RuneLitePlus discord", () -> LinkBrowser.browse(RuneLiteProperties.getDiscordInvite()));
|
||||
final JLabel discord = createPanelButton("Get help on Discord", "Instant invite link to join the openosrs discord", () -> LinkBrowser.browse(RuneLiteProperties.getDiscordInvite()));
|
||||
this.add(discord, c);
|
||||
c.gridy++;
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ public class MessagePanel extends JPanel
|
||||
private static final Dimension BAR_SIZE = new Dimension(PANEL_SIZE.width, 30);
|
||||
private static final int MESSAGE_AREA_PADDING = 15;
|
||||
|
||||
private final JLabel titleLabel = new JLabel("Welcome to RuneLitePlus");
|
||||
private final JLabel titleLabel = new JLabel("Welcome to OpenOSRS");
|
||||
private final JLabel messageArea;
|
||||
private final JLabel barLabel = new JLabel("Doing something important");
|
||||
private final JProgressBar bar = new JProgressBar(0, 100);
|
||||
|
||||
@@ -392,13 +392,13 @@ public class SwingUtil
|
||||
stylizeJPanels(pane);
|
||||
|
||||
final Frame frame = component == null ? JOptionPane.getRootFrame() : JOptionPane.getFrameForComponent(component);
|
||||
final JDialog dialog = new JDialog(frame, "RuneLitePlus Error", true);
|
||||
final JDialog dialog = new JDialog(frame, "openosrs Error", true);
|
||||
dialog.setContentPane(pane);
|
||||
dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
|
||||
dialog.setAlwaysOnTop(true);
|
||||
dialog.setAutoRequestFocus(true);
|
||||
dialog.setLocationRelativeTo(null);
|
||||
dialog.setIconImage(ImageUtil.getResourceStreamFromClass(SwingUtil.class, "/runeliteplus_transparent.png"));
|
||||
dialog.setIconImage(ImageUtil.getResourceStreamFromClass(SwingUtil.class, "/openosrs_transparent.png"));
|
||||
|
||||
// Listen for value changes and close dialog when necessary
|
||||
pane.addPropertyChangeListener(e -> {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user