mirror of
				https://github.com/Aust1n46/VentureChat.git
				synced 2025-10-30 21:52:23 +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("rangedspy", new RangedSpy("rangedspy")); | ||||||
| 		commands.put("removemessage", new Removemessage("removemessage")); | 		commands.put("removemessage", new Removemessage("removemessage")); | ||||||
| 		commands.put("reply", new Reply("reply")); | 		commands.put("reply", new Reply("reply")); | ||||||
|  | 		commands.put("r", new Reply("r")); | ||||||
| 		commands.put("setchannel", new Setchannel("setchannel")); | 		commands.put("setchannel", new Setchannel("setchannel")); | ||||||
| 		commands.put("setchannelall", new Setchannelall("setchannelall")); | 		commands.put("setchannelall", new Setchannelall("setchannelall")); | ||||||
| 		commands.put("spy", new Spy("spy")); | 		commands.put("spy", new Spy("spy")); | ||||||
| @ -281,7 +282,11 @@ public class MineverseChat extends JavaPlugin implements PluginMessageListener { | |||||||
| 			this.getCommand(command).setExecutor(commandExecutor); | 			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()); | 		this.getCommand("ignore").setExecutor(new IgnoreCommandExecutor()); | ||||||
| 
 | 
 | ||||||
| 		channelListener = new Channel(); | 		channelListener = new Channel(); | ||||||
|  | |||||||
| @ -18,9 +18,24 @@ commands: | |||||||
|         aliases: [ump,vunmute] |         aliases: [ump,vunmute] | ||||||
|         description: Unmutes player in a channel so they can talk again. |         description: Unmutes player in a channel so they can talk again. | ||||||
|         permission-message: You don't have <permission> |         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: |     message: | ||||||
|         usage: /message [playername] [msg] |         usage: /message [playername] [msg] | ||||||
|         aliases: [vmessage,msg,pm,tell,vtell,whisper,w,vwhisper] |         aliases: [vmessage,pm] | ||||||
|         description: Send a message to a player |         description: Send a message to a player | ||||||
|         permission-message: You don't have <permission> |         permission-message: You don't have <permission> | ||||||
|     ignore: |     ignore: | ||||||
| @ -105,7 +120,12 @@ commands: | |||||||
|         permission-message: You don't have <permission> |         permission-message: You don't have <permission> | ||||||
|     reply: |     reply: | ||||||
|         usage: /reply [msg] |         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 |         description: Reply to a message | ||||||
|         permission-message: You don't have <permission> |         permission-message: You don't have <permission> | ||||||
|     spy: |     spy: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Aust1n46
						Aust1n46