mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-02 06:28:58 +00:00
v0.30:
- Stop adding extra logs now that chat is being passed back to bukkit.
This commit is contained in:
1 parent
63a932ce1d
commit
4003c47399
3 files changed
+7
-6
No files matched your search
+3
-1
@@ -120,4 +120,6 @@ v0.28:
|
||||
- Forget using any fake events and move to setting recipients. We should now be compatible with just about every other chat modifying plugin there is.
|
||||
v0.29:
|
||||
- Fix a duplicating chat issue when relaying via craftIRC.
|
||||
- Reload TownyChat if we detect craftIRC perform a reload (no more unregistered tags after reloading craftIRC).
|
||||
- Reload TownyChat if we detect craftIRC perform a reload (no more unregistered tags after reloading craftIRC).
|
||||
v0.30:
|
||||
- Stop adding extra logs now that chat is being passed back to bukkit.
|
||||
@@ -23,7 +23,6 @@ import com.palmergames.bukkit.towny.object.Resident;
|
||||
import com.palmergames.bukkit.towny.object.Town;
|
||||
import com.palmergames.bukkit.towny.object.TownyUniverse;
|
||||
import com.palmergames.bukkit.util.BukkitTools;
|
||||
import com.palmergames.bukkit.util.ChatTools;
|
||||
|
||||
public class StandardChannel extends Channel {
|
||||
|
||||
@@ -109,18 +108,18 @@ public class StandardChannel extends Channel {
|
||||
|
||||
/*
|
||||
* Perform any last channel specific functions
|
||||
* like logging this chat and replaying to IRC/Dynmap.
|
||||
* like logging this chat and relaying to IRC/Dynmap.
|
||||
*/
|
||||
String msg = event.getFormat().replace("%1$s", event.getPlayer().getDisplayName()).replace("%2$s", event.getMessage());
|
||||
|
||||
switch (exec) {
|
||||
|
||||
case TOWN:
|
||||
plugin.getLogger().info(ChatTools.stripColour("[Town Msg] " + town.getName() + ": " + msg));
|
||||
//plugin.getLogger().info(ChatTools.stripColour("[Town Msg] " + town.getName() + ": " + msg));
|
||||
break;
|
||||
|
||||
case NATION:
|
||||
plugin.getLogger().info(ChatTools.stripColour("[Nation Msg] " + nation.getName() + ": " + msg));
|
||||
//plugin.getLogger().info(ChatTools.stripColour("[Nation Msg] " + nation.getName() + ": " + msg));
|
||||
break;
|
||||
|
||||
case DEFAULT:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
name: TownyChat
|
||||
main: com.palmergames.bukkit.TownyChat.Chat
|
||||
version: 0.29
|
||||
version: 0.30
|
||||
author: ElgarL, Shade, phrstbrn
|
||||
website: http://code.google.com/a/eclipselabs.org/p/towny/
|
||||
description: >
|
||||
|
||||
Reference in new issue
Block a user