Skip to content

Commit

Permalink
Add support for new towny and minecraft versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Warriorrrr committed Sep 16, 2024
1 parent 7771c7c commit 479514b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ tasks {
}

runServer {
minecraftVersion("1.20.6")
minecraftVersion("1.21.1")

downloadPlugins {
libs.towny.get().version?.let { github("TownyAdvanced", "Towny", it, "towny-${it}.jar") }
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = io.github.townyadvanced
version = 0.0.11-SNAPSHOT
version = 0.0.11

paperVersions = 1.16-1.20.6
modrinthVersions = 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6
paperVersions = 1.16-1.21.1
modrinthVersions = 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[libraries]
spigot = { group = "org.spigotmc", name = "spigot-api", version = "1.19.4-R0.1-SNAPSHOT" }
towny = { group = "com.palmergames.bukkit.towny", name = "towny", version = "0.100.2.9" }
towny = { group = "com.palmergames.bukkit.towny", name = "towny", version = "0.100.4.2" }
jetbrains-annotations = { group = "org.jetbrains", name = "annotations", version = "24.0.1" }
anvilgui = { group = "net.wesjd", name = "anvilgui", version = "1.9.5-SNAPSHOT" }
anvilgui = { group = "net.wesjd", name = "anvilgui", version = "1.10.2-SNAPSHOT" }
jabel = { group = "com.github.bsideup.jabel", name = "jabel-javac-plugin", version = "1.0.0" }
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

public class TownyMenus extends JavaPlugin implements Listener {

private static final Version requiredTownyVersion = Version.fromString("0.100.2.0");
private static final Version requiredTownyVersion = Version.fromString("0.100.4.0");
private static TownyMenus plugin;
private final Object scheduler;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
import com.palmergames.bukkit.towny.object.TownBlockTypeCache;
import com.palmergames.bukkit.towny.object.TownBlockTypeCache.CacheType;
import com.palmergames.bukkit.towny.object.TownBlockTypeHandler;
import com.palmergames.bukkit.towny.object.TransactionType;
import com.palmergames.bukkit.towny.object.Translation;
import com.palmergames.bukkit.towny.object.economy.Account;
import com.palmergames.bukkit.towny.object.economy.BankTransaction;
import com.palmergames.bukkit.towny.object.economy.transaction.TransactionType;
import com.palmergames.bukkit.towny.permissions.PermissionNodes;
import com.palmergames.bukkit.towny.permissions.TownyPerms;
import io.github.townyadvanced.townymenus.gui.MenuHelper;
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@
0.0.10:
- Update AnvilGUI again for proper 1.20.6 support.
- Fix rogue underscore in front of town name when changing name.
0.0.11:
- Add support for new Towny versions, now requires version 0.100.4.0 or up.
- Add support up to 1.21.1.

0 comments on commit 479514b

Please sign in to comment.