Drop towny_chat as it is not useful in any way

This commit is contained in:
Evert Prants 2019-11-21 12:30:10 +02:00
parent a6376b559a
commit 01aefb5094
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
5 changed files with 0 additions and 20 deletions

View File

@ -1 +0,0 @@
towny

View File

@ -1 +0,0 @@
Towny Chat Mods

View File

@ -1,15 +0,0 @@
-- A township system for Minetest servers.
-- The MIT License - 2019 Evert "Diamond" Prants <evert@lunasqu.ee>
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)

View File

@ -1,3 +0,0 @@
name = towny_chat
description = Towny Chat Mods
depends = towny