Now uses alias option to override essentials commands
This commit is contained in:
@@ -1,5 +1,17 @@
|
|||||||
command message {
|
command message {
|
||||||
[string:player] [string:message...] {
|
[string:player] [string:message...] {
|
||||||
|
alias m;
|
||||||
|
alias em;
|
||||||
|
alias msg;
|
||||||
|
alias emsg;
|
||||||
|
alias t;
|
||||||
|
alias et;
|
||||||
|
alias tell;
|
||||||
|
alias etell;
|
||||||
|
alias w;
|
||||||
|
alias ew;
|
||||||
|
alias whisper;
|
||||||
|
alias ewhisper;
|
||||||
run message player message;
|
run message player message;
|
||||||
help Sends a direct message to a player.;
|
help Sends a direct message to a player.;
|
||||||
perm utils.message;
|
perm utils.message;
|
||||||
@@ -8,6 +20,9 @@ command message {
|
|||||||
|
|
||||||
command reply {
|
command reply {
|
||||||
[string:message...] {
|
[string:message...] {
|
||||||
|
alias r;
|
||||||
|
alias er;
|
||||||
|
alias ereply;
|
||||||
run reply message;
|
run reply message;
|
||||||
help Sends a direct message to the last person you talked to.;
|
help Sends a direct message to the last person you talked to.;
|
||||||
perm utils.message;
|
perm utils.message;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import com.redstoner.modules.datamanager.DataManager;
|
|||||||
|
|
||||||
import net.md_5.bungee.api.ChatColor;
|
import net.md_5.bungee.api.ChatColor;
|
||||||
|
|
||||||
@Version(major = 3, minor = 0, revision = 13, compatible = 3)
|
@Version(major = 3, minor = 1, revision = 0, compatible = 3)
|
||||||
public class Message implements Module
|
public class Message implements Module
|
||||||
{
|
{
|
||||||
HashMap<CommandSender, CommandSender> replyTargets = new HashMap<CommandSender, CommandSender>();
|
HashMap<CommandSender, CommandSender> replyTargets = new HashMap<CommandSender, CommandSender>();
|
||||||
|
|||||||
Reference in New Issue
Block a user