ryandw11 / UltraChat

A spigot plugin for the chat.
MIT License
3 stars 3 forks source link

[Feature Request] add messages to lang #18

Closed SoRadGaming closed 3 years ago

SoRadGaming commented 3 years ago

These are the set messages. that cannot be changed unless modifying the jar located at UltraChat/src/me/ryandw11/ultrachat/commands/ChannelCmd.java

else{ if(!plugin.channel.contains(args[0])){ p.sendMessage(ChatColor.RED + "That channel does not exsist!"); return true; } if(plugin.data.getString(p.getUniqueId() + ".channel").equalsIgnoreCase(args[0])){ p.sendMessage(ChatColor.RED + "Error: you are currently in the channel"); } else if(p.hasPermission(plugin.channel.getString(args[0] + ".permission")) || plugin.channel.getString(args[0] + ".permission").equalsIgnoreCase("none")){ plugin.data.set(p.getUniqueId() + ".channel", args[0]); plugin.saveFile(); p.sendMessage(ChatColor.BLUE + "You are now in the channel " + args[0] + "!"); } else{ p.sendMessage(ChatColor.RED + "You do not have permission to join that channel."); } } return false;