Renamed PriceCommands plugin to ChatCommands

This commit is contained in:
l2-
2017-07-21 18:09:39 -04:00
committed by Adam
parent 1d4305a17a
commit 546973c116
3 changed files with 10 additions and 9 deletions

View File

@@ -36,6 +36,7 @@ import net.runelite.client.RuneLite;
import net.runelite.client.plugins.account.AccountPlugin; import net.runelite.client.plugins.account.AccountPlugin;
import net.runelite.client.plugins.boosts.Boosts; import net.runelite.client.plugins.boosts.Boosts;
import net.runelite.client.plugins.bosstimer.BossTimers; import net.runelite.client.plugins.bosstimer.BossTimers;
import net.runelite.client.plugins.chatcommands.ChatCommands;
import net.runelite.client.plugins.clanchat.ClanChat; import net.runelite.client.plugins.clanchat.ClanChat;
import net.runelite.client.plugins.cluescrolls.ClueScrollPlugin; import net.runelite.client.plugins.cluescrolls.ClueScrollPlugin;
import net.runelite.client.plugins.combatnotifier.CombatNotifier; import net.runelite.client.plugins.combatnotifier.CombatNotifier;
@@ -52,7 +53,7 @@ import net.runelite.client.plugins.jewelrycount.JewelryCount;
import net.runelite.client.plugins.mousehighlight.MouseHighlight; import net.runelite.client.plugins.mousehighlight.MouseHighlight;
import net.runelite.client.plugins.opponentinfo.OpponentInfo; import net.runelite.client.plugins.opponentinfo.OpponentInfo;
import net.runelite.client.plugins.pestcontrol.PestControl; import net.runelite.client.plugins.pestcontrol.PestControl;
import net.runelite.client.plugins.pricecommands.PriceCommands; import net.runelite.client.plugins.chatcommands.ChatCommands;
import net.runelite.client.plugins.rememberusername.RememberUsername; import net.runelite.client.plugins.rememberusername.RememberUsername;
import net.runelite.client.plugins.runecraft.Runecraft; import net.runelite.client.plugins.runecraft.Runecraft;
import net.runelite.client.plugins.timers.Timers; import net.runelite.client.plugins.timers.Timers;
@@ -105,7 +106,7 @@ public class PluginManager
plugins.add(new FishingPlugin()); plugins.add(new FishingPlugin());
plugins.add(new WoodcuttingPlugin()); plugins.add(new WoodcuttingPlugin());
plugins.add(new RememberUsername()); plugins.add(new RememberUsername());
plugins.add(new PriceCommands()); plugins.add(new ChatCommands());
plugins.add(new ClueScrollPlugin()); plugins.add(new ClueScrollPlugin());
plugins.add(new Timers()); plugins.add(new Timers());

View File

@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
package net.runelite.client.plugins.pricecommands; package net.runelite.client.plugins.chatcommands;
import com.google.common.eventbus.Subscribe; import com.google.common.eventbus.Subscribe;
import java.io.IOException; import java.io.IOException;
@@ -44,11 +44,11 @@ import net.runelite.rs.api.ItemComposition;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
public class PriceCommands extends Plugin public class ChatCommands extends Plugin
{ {
private static final Logger logger = LoggerFactory.getLogger(PriceCommands.class); private static final Logger logger = LoggerFactory.getLogger(ChatCommands.class);
private final PriceCommandsConfig config = RuneLite.getRunelite().getConfigManager().getConfig(PriceCommandsConfig.class); private final ChatCommandsConfig config = RuneLite.getRunelite().getConfigManager().getConfig(ChatCommandsConfig.class);
private final ItemManager itemManager = RuneLite.getRunelite().getItemManager(); private final ItemManager itemManager = RuneLite.getRunelite().getItemManager();
private final ItemClient itemClient = new ItemClient(); private final ItemClient itemClient = new ItemClient();
private final RuneLite runelite = RuneLite.getRunelite(); private final RuneLite runelite = RuneLite.getRunelite();

View File

@@ -22,17 +22,17 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
package net.runelite.client.plugins.pricecommands; package net.runelite.client.plugins.chatcommands;
import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem; import net.runelite.client.config.ConfigItem;
@ConfigGroup( @ConfigGroup(
keyName = "pricecommands", keyName = "chatcommands",
name = "Chat commands", name = "Chat commands",
description = "Configuration for chat commands" description = "Configuration for chat commands"
) )
public interface PriceCommandsConfig public interface ChatCommandsConfig
{ {
@ConfigItem( @ConfigItem(
keyName = "enabled", keyName = "enabled",