Open matipoirierg opened 9 months ago
Perhaps we can implement it using Skript.
import:
org.bukkit.Bukkit
net.william278.husktowns.events.TownCreateEvent
net.william278.husktowns.events.TownDisbandEvent
on load:
set {_existHuskTowns} to Bukkit.getPluginManager().getPlugin("HuskTowns")
if {_existHuskTowns} is set:
send "HuskTowns Skript-Loaded!" to console
on TownDisbandEvent:
set {_TownName} to event.getTownName()
broadcast "> &cTown %{_TownName}% &cDisbanded!"
on TownCreateEvent:
set {_TownName} to event.getTownName()
broadcast "exam"
Global messages for town creation/disband. This is to improve the town server plugin feel, it's funny when people create a new town using Towny and everyone knows it and sends congratulations messages, or when a town is disbanded everyone says rip in chat.