mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-01 14:38:57 +00:00
- Update min. Towny version to 0.100.0.0.
This commit is contained in:
1 parent
7265f58637
commit
6540b2cf1d
3 files changed
+7
-5
No files matched your search
@@ -7,7 +7,7 @@
|
||||
<groupId>com.palmergames.bukkit</groupId>
|
||||
<artifactId>TownyChat</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>0.109</version>
|
||||
<version>0.110</version>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
@@ -26,7 +26,7 @@
|
||||
<java.version>17</java.version>
|
||||
<project.bukkitAPIVersion>1.16</project.bukkitAPIVersion>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<towny.version>0.99.5.0</towny.version>
|
||||
<towny.version>0.100.0.0</towny.version>
|
||||
</properties>
|
||||
|
||||
<!-- For use with GitHub Package Registry -->
|
||||
|
||||
@@ -474,4 +474,5 @@ v0.110:
|
||||
- Add optional listen and speak nodes to TownyChat channels.
|
||||
- The channels in the channels.yml may now be given listenpermission and speakpermission keys, whose values will be the permission node require to either speak or listen to the channel.
|
||||
- When these are set on a channel they will make the permission key of the channel redundant and unused.
|
||||
- Closes https://github.com/TownyAdvanced/Towny/issues/1020.
|
||||
- Closes https://github.com/TownyAdvanced/Towny/issues/1020.
|
||||
- Update min. Towny version to 0.100.0.0.
|
||||
@@ -8,6 +8,7 @@ import com.palmergames.bukkit.TownyChat.channels.Channel;
|
||||
import com.palmergames.bukkit.TownyChat.channels.ChannelsHolder;
|
||||
import com.palmergames.bukkit.TownyChat.config.ChatSettings;
|
||||
import com.palmergames.bukkit.TownyChat.config.ChannelConfigurationHandler;
|
||||
import com.palmergames.bukkit.TownyChat.config.ChannelsSettings;
|
||||
import com.palmergames.bukkit.TownyChat.listener.EssentialsDiscordHookListener;
|
||||
import com.palmergames.bukkit.TownyChat.listener.TownyChatPlayerListener;
|
||||
import com.palmergames.bukkit.TownyChat.tasks.onLoadedTask;
|
||||
@@ -59,7 +60,7 @@ public class Chat extends JavaPlugin {
|
||||
private DynmapAPI dynMap = null;
|
||||
private Essentials essentials = null;
|
||||
|
||||
private static String requiredTownyVersion = "0.99.5.0";
|
||||
private static String requiredTownyVersion = "0.100.0.0";
|
||||
public static boolean usingPlaceholderAPI = false;
|
||||
public static boolean usingEssentialsDiscord = false;
|
||||
boolean chatConfigError = false;
|
||||
@@ -120,7 +121,7 @@ public class Chat extends JavaPlugin {
|
||||
private void loadConfigs() {
|
||||
FileMgmt.checkOrCreateFolders(new String[] { getRootPath(), getTownySettingsPath() });
|
||||
chatConfigError = !ChatSettings.loadCommentedChatConfig();
|
||||
channelsConfigError = !channelsConfig.loadChannels();
|
||||
channelsConfigError = !ChannelsSettings.loadCommentedChannelsConfig();//!channelsConfig.loadChannels();
|
||||
}
|
||||
|
||||
public static Chat getTownyChat() {
|
||||
|
||||
Reference in new issue
Block a user