mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-23 10:39:05 +00:00
Fixed remaining instances of old plugin messaging channel name.
This commit is contained in:
parent
dababd760f
commit
ef20ad8b10
@ -1,4 +1,4 @@
|
|||||||
name: VentureChat
|
name: VentureChat
|
||||||
main: mineverse.Aust1n46.chat.bungee.MineverseChatBungee
|
main: mineverse.Aust1n46.chat.bungee.MineverseChatBungee
|
||||||
version: 2.17.2
|
version: 2.17.3
|
||||||
author: Aust1n46
|
author: Aust1n46
|
@ -48,7 +48,7 @@ public class GlobalMute extends Command {
|
|||||||
}
|
}
|
||||||
out.writeUTF(time);
|
out.writeUTF(time);
|
||||||
if(plugin.getProxy().getServers().get(args[0]).getPlayers().size() > 0) {
|
if(plugin.getProxy().getServers().get(args[0]).getPlayers().size() > 0) {
|
||||||
plugin.getProxy().getServers().get(args[0]).sendData("venturechat:", stream.toByteArray());
|
plugin.getProxy().getServers().get(args[0]).sendData(MineverseChatBungee.PLUGIN_MESSAGING_CHANNEL, stream.toByteArray());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
commandSender.sendMessage(new TextComponent(ChatColor.RED + "Player: " + ChatColor.GOLD + args[1] + ChatColor.RED + " is not connected to server: " + args[0]));
|
commandSender.sendMessage(new TextComponent(ChatColor.RED + "Player: " + ChatColor.GOLD + args[1] + ChatColor.RED + " is not connected to server: " + args[0]));
|
||||||
|
@ -40,7 +40,7 @@ public class GlobalMuteAll extends Command {
|
|||||||
out.writeUTF(args[1]);
|
out.writeUTF(args[1]);
|
||||||
out.writeUTF(args[0]);
|
out.writeUTF(args[0]);
|
||||||
if(plugin.getProxy().getServers().get(args[0]).getPlayers().size() > 0) {
|
if(plugin.getProxy().getServers().get(args[0]).getPlayers().size() > 0) {
|
||||||
plugin.getProxy().getServers().get(args[0]).sendData("venturechat:", stream.toByteArray());
|
plugin.getProxy().getServers().get(args[0]).sendData(MineverseChatBungee.PLUGIN_MESSAGING_CHANNEL, stream.toByteArray());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
commandSender.sendMessage(new TextComponent(ChatColor.RED + "Player: " + ChatColor.GOLD + args[1] + ChatColor.RED + " is not connected to server: " + args[0]));
|
commandSender.sendMessage(new TextComponent(ChatColor.RED + "Player: " + ChatColor.GOLD + args[1] + ChatColor.RED + " is not connected to server: " + args[0]));
|
||||||
|
@ -42,7 +42,7 @@ public class GlobalUnmute extends Command {
|
|||||||
out.writeUTF(args[2]);
|
out.writeUTF(args[2]);
|
||||||
out.writeUTF(args[0]);
|
out.writeUTF(args[0]);
|
||||||
if(plugin.getProxy().getServers().get(args[0]).getPlayers().size() > 0) {
|
if(plugin.getProxy().getServers().get(args[0]).getPlayers().size() > 0) {
|
||||||
plugin.getProxy().getServers().get(args[0]).sendData("venturechat:", stream.toByteArray());
|
plugin.getProxy().getServers().get(args[0]).sendData(MineverseChatBungee.PLUGIN_MESSAGING_CHANNEL, stream.toByteArray());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
commandSender.sendMessage(new TextComponent(ChatColor.RED + "Player: " + ChatColor.GOLD + args[1] + ChatColor.RED + " is not connected to server: " + args[0]));
|
commandSender.sendMessage(new TextComponent(ChatColor.RED + "Player: " + ChatColor.GOLD + args[1] + ChatColor.RED + " is not connected to server: " + args[0]));
|
||||||
|
@ -40,7 +40,7 @@ public class GlobalUnmuteAll extends Command {
|
|||||||
out.writeUTF(args[1]);
|
out.writeUTF(args[1]);
|
||||||
out.writeUTF(args[0]);
|
out.writeUTF(args[0]);
|
||||||
if(plugin.getProxy().getServers().get(args[0]).getPlayers().size() > 0) {
|
if(plugin.getProxy().getServers().get(args[0]).getPlayers().size() > 0) {
|
||||||
plugin.getProxy().getServers().get(args[0]).sendData("venturechat:", stream.toByteArray());
|
plugin.getProxy().getServers().get(args[0]).sendData(MineverseChatBungee.PLUGIN_MESSAGING_CHANNEL, stream.toByteArray());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
commandSender.sendMessage(new TextComponent(ChatColor.RED + "Player: " + ChatColor.GOLD + args[1] + ChatColor.RED + " is not connected to server: " + args[0]));
|
commandSender.sendMessage(new TextComponent(ChatColor.RED + "Player: " + ChatColor.GOLD + args[1] + ChatColor.RED + " is not connected to server: " + args[0]));
|
||||||
|
@ -69,7 +69,7 @@ public class Ignore extends MineverseCommand {
|
|||||||
out.writeUTF("Send");
|
out.writeUTF("Send");
|
||||||
out.writeUTF(args[0]);
|
out.writeUTF(args[0]);
|
||||||
out.writeUTF(mcp.getUUID().toString());
|
out.writeUTF(mcp.getUUID().toString());
|
||||||
mcp.getPlayer().sendPluginMessage(plugin, "venturechat:", byteOutStream.toByteArray());
|
mcp.getPlayer().sendPluginMessage(plugin, MineverseChat.PLUGIN_MESSAGING_CHANNEL, byteOutStream.toByteArray());
|
||||||
out.close();
|
out.close();
|
||||||
}
|
}
|
||||||
catch(Exception e) {
|
catch(Exception e) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: VentureChat
|
name: VentureChat
|
||||||
version: 2.17.2
|
version: 2.17.3
|
||||||
api-version: 1.13
|
api-version: 1.13
|
||||||
main: mineverse.Aust1n46.chat.MineverseChat
|
main: mineverse.Aust1n46.chat.MineverseChat
|
||||||
depend: [Vault, ProtocolLib, PlaceholderAPI]
|
depend: [Vault, ProtocolLib, PlaceholderAPI]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user