Plugins System (#510)
* Started Ripping Plugin System From Astraeus
*Currently only ClickingButtons Support
*Also Started Using The Logout Button Plugin From Astraeus
* NpcFirstClickEvent setup for plugins
also made Man & Women chat work through this
* Server: Add Google Collect Lib
* Server: NpcSecondClickEvent setup for plugins
also handle pickpocketing npc clicking through plugin
* Server: NpcThirdClickEvent setup for plugins
* Server: Remove conflicting action for Secondclicking npc id 3
* Server: ItemFirstClickEvent setup for plugins
Also Handle Yo-Yo First Click Through This
* Server: ItemOnItemEvent setup for plugins
Also Handle Black Candle Lighting With Tinderbox Through this
* Server: ItemOnNpcEvent setup for plugins
* Server: ItemOnObjectEvent setup for plugins
Also Handle Fillable Items Through This
* Server: ItemSecondClickEvent & ItemThirdClickEvent setup for plugins
Also Handle Yo-Yo Actions Through This
* Server: ObjectFirstClickEvent setup for plugins
Also Handle FirstClick Mining Actions Through This
* Server: ObjectSecondClickEvent setup for plugins
Also Handle Stall Thieving Actions Through This
* Server: ObjectThirdClickEvent setup for plugins
* Server: ObjectFourthClickEvent setup for plugins
Also Handle Fourth Click Farming Object Actions Through This
* Server: MagicOnItemEvent setup for plugins
Also Handle SuperHeat Through This
* More mage training arena (#509)
* Fixup points display
* Only allow players to deposit up to 12k at one time
* Apple damage and play animation
* Update order or prices
* Update Telekinetic.java
(cherry picked from commit ab3b1e9731)
Co-authored-by: RedSparr0w <RedSparr0w@users.noreply.github.com>
Co-authored-by: Danial <admin@redsparr0w.com>
This commit is contained in:
74 files changed
+1799
-75
No files matched your search
@@ -0,0 +1,43 @@
|
||||
package com.rs2.event.impl;
|
||||
|
||||
import com.rs2.event.Event;
|
||||
|
||||
/**
|
||||
* Represents a command event.
|
||||
*
|
||||
* @author Vult-R
|
||||
*/
|
||||
public final class CommandEvent implements Event {
|
||||
|
||||
/**
|
||||
* The name for this command.
|
||||
*/
|
||||
private final String name;
|
||||
|
||||
/**
|
||||
* The input for this command.
|
||||
*/
|
||||
private final String input;
|
||||
|
||||
/**
|
||||
* Creates the command.
|
||||
*/
|
||||
public CommandEvent(String name, String input) {
|
||||
this.name = name;
|
||||
this.input = input;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the name of this command.
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the input for this command.
|
||||
*/
|
||||
public String getInput() {
|
||||
return input;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user