From 01aefb5094d2d317f75ca7fb34f139367e55d01a Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Thu, 21 Nov 2019 12:30:10 +0200 Subject: [PATCH] Drop towny_chat as it is not useful in any way --- towny_chat/depends.txt | 1 - towny_chat/description.txt | 1 - towny_chat/init.lua | 15 --------------- towny_chat/mod.conf | 3 --- towny_chat/settingtypes.txt | 0 5 files changed, 20 deletions(-) delete mode 100644 towny_chat/depends.txt delete mode 100644 towny_chat/description.txt delete mode 100644 towny_chat/init.lua delete mode 100644 towny_chat/mod.conf delete mode 100644 towny_chat/settingtypes.txt diff --git a/towny_chat/depends.txt b/towny_chat/depends.txt deleted file mode 100644 index 34ed0af..0000000 --- a/towny_chat/depends.txt +++ /dev/null @@ -1 +0,0 @@ -towny diff --git a/towny_chat/description.txt b/towny_chat/description.txt deleted file mode 100644 index fd9f94e..0000000 --- a/towny_chat/description.txt +++ /dev/null @@ -1 +0,0 @@ -Towny Chat Mods diff --git a/towny_chat/init.lua b/towny_chat/init.lua deleted file mode 100644 index 786e6f3..0000000 --- a/towny_chat/init.lua +++ /dev/null @@ -1,15 +0,0 @@ --- A township system for Minetest servers. --- The MIT License - 2019 Evert "Diamond" Prants - -local modpath = minetest.get_modpath(minetest.get_current_modname()) -towny.chat.modpath = modpath - -minetest.register_on_chat_message(function (name, message) - local town = towny.get_player_town(name) - local result = ("<%s> %s"):format(name, message) - if town then - result = ("[%s] <%s> %s"):format(towny.get_full_name(town), towny.get_player_name(name), message) - end - minetest.chat_send_all(result) - return true -end) diff --git a/towny_chat/mod.conf b/towny_chat/mod.conf deleted file mode 100644 index 967237e..0000000 --- a/towny_chat/mod.conf +++ /dev/null @@ -1,3 +0,0 @@ -name = towny_chat -description = Towny Chat Mods -depends = towny diff --git a/towny_chat/settingtypes.txt b/towny_chat/settingtypes.txt deleted file mode 100644 index e69de29..0000000