mirror of
				https://github.com/Aust1n46/VentureChat.git
				synced 2025-10-30 13:32:24 +00:00 
			
		
		
		
	Direct register message command aliases to override Essentials.
This commit is contained in:
		
							parent
							
								
									38330c93a6
								
							
						
					
					
						commit
						f1ecbf24b1
					
				| @ -268,6 +268,7 @@ public class MineverseChat extends JavaPlugin implements PluginMessageListener { | ||||
| 		commands.put("rangedspy", new RangedSpy("rangedspy")); | ||||
| 		commands.put("removemessage", new Removemessage("removemessage")); | ||||
| 		commands.put("reply", new Reply("reply")); | ||||
| 		commands.put("r", new Reply("r")); | ||||
| 		commands.put("setchannel", new Setchannel("setchannel")); | ||||
| 		commands.put("setchannelall", new Setchannelall("setchannelall")); | ||||
| 		commands.put("spy", new Spy("spy")); | ||||
| @ -281,7 +282,11 @@ public class MineverseChat extends JavaPlugin implements PluginMessageListener { | ||||
| 			this.getCommand(command).setExecutor(commandExecutor); | ||||
| 		} | ||||
| 		 | ||||
| 		this.getCommand("message").setExecutor(new MessageCommandExecutor()); | ||||
| 		MessageCommandExecutor messageCommandExecutor = new MessageCommandExecutor(); | ||||
| 		this.getCommand("message").setExecutor(messageCommandExecutor); | ||||
| 		this.getCommand("msg").setExecutor(messageCommandExecutor); | ||||
| 		this.getCommand("tell").setExecutor(messageCommandExecutor); | ||||
| 		this.getCommand("whisper").setExecutor(messageCommandExecutor); | ||||
| 		this.getCommand("ignore").setExecutor(new IgnoreCommandExecutor()); | ||||
| 
 | ||||
| 		channelListener = new Channel(); | ||||
|  | ||||
| @ -17,10 +17,25 @@ commands: | ||||
|         usage: /unmute [playername] [channel] | ||||
|         aliases: [ump,vunmute] | ||||
|         description: Unmutes player in a channel so they can talk again. | ||||
|         permission-message: You don't have <permission> | ||||
|     msg: | ||||
|         usage: /msg [playername] [msg] | ||||
|         aliases: [vmsg] | ||||
|         description: Send a message to a player | ||||
|         permission-message: You don't have <permission> | ||||
|     tell: | ||||
|         usage: /tell [playername] [msg] | ||||
|         aliases: [vtell] | ||||
|         description: Send a message to a player | ||||
|         permission-message: You don't have <permission> | ||||
|     whisper: | ||||
|         usage: /whisper [playername] [msg] | ||||
|         aliases: [vwhisper,w] | ||||
|         description: Send a message to a player | ||||
|         permission-message: You don't have <permission> | ||||
|     message: | ||||
|         usage: /message [playername] [msg] | ||||
|         aliases: [vmessage,msg,pm,tell,vtell,whisper,w,vwhisper] | ||||
|         aliases: [vmessage,pm] | ||||
|         description: Send a message to a player | ||||
|         permission-message: You don't have <permission> | ||||
|     ignore: | ||||
| @ -105,8 +120,13 @@ commands: | ||||
|         permission-message: You don't have <permission> | ||||
|     reply: | ||||
|         usage: /reply [msg] | ||||
|         aliases: [r,vreply] | ||||
|         aliases: [vreply] | ||||
|         description: Reply to a message | ||||
|         permission-message: You don't have <permission> | ||||
|     r: | ||||
|         usage: /r [msg] | ||||
|         aliases: [] | ||||
|         description: Reply to a message | ||||
|         permission-message: You don't have <permission> | ||||
|     spy: | ||||
|         usage: /spy | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Aust1n46
						Aust1n46