Commit Graph
43 Commits
Author SHA1 Message Date
ElgarL 9c1858320b 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.
2012-04-20 18:22:10 +01:00
ElgarL e373612cdf Cancel our own event after all other plugins have had a bash at the
formatting.
2012-04-17 19:01:12 +01:00
ElgarL d19c5cbb71 Throw a "fake" PlayerChatEvent which will allow TownyChat to have much
increased compatibility with other plugins (dumptruckman).

Update build.xml to clear an error and change to use bin folder
2012-04-16 21:48:10 +01:00
ElgarL fb041c5ca7 Update to account for the refactoring in Towny. 2012-04-15 13:59:07 +01:00
ElgarL 8f909b8591 v0.24:
- Update to refect permission changes in Towny.
2012-03-31 05:28:43 +01:00
ElgarL cc906ce584 v0.23:
- Update for craftbukkit-1.1-R6.
2012-03-01 20:18:08 +00:00
ElgarL b66d431a51 v0.22:
- Change channel sub classing method to allow 3rd party plugins to
create their own channel types (phrstbrn).
2012-02-18 09:30:00 +00:00
ElgarL 8b2e679602 Fix a possible small memory leak (phrstbrn). 2012-02-16 21:36:36 +00:00
ElgarL c4aae51c63 v0.21:
- Fix getAllPermissions in ChannelsHolder (thanks phrstbrn).
2012-02-15 20:57:50 +00:00
ElgarL 03cf1b8d26 - Fix spacing in default formats.
- Unregister the 'towny' endpoint tag so it won't error when performing
a reload.
2012-02-14 13:52:14 +00:00
ElgarL 5bf6ff5cf6 v0.20:
- Add serialization of numeric world names.
2012-02-10 20:31:14 +00:00
ElgarL f4c39f45e2 v0.19:
- Fix an error on startup if not using HeroicDeath.
2012-02-04 08:00:27 +00:00
ElgarL 805d077b3b Set default for new HeroicDeath interface to prevent new config errors. 2012-02-04 07:46:10 +00:00
ElgarL 20c74891a4 v0.18:
- Added craftIRC channel tag support. A new entry per channel will
allow you to set the endpoint tags for all channels to craftIRC
(craftIRCTag: 'admin').
2012-02-03 01:34:26 +00:00
ElgarL 5558470cdc Add support for our updated HeroicDeath jar (hopefully someone will take
over support for heroic Death now it's updated).
2012-02-03 00:55:09 +00:00
ElgarL 05f74b6326 Fix craftIRC hook to not spam console with an invalid number format
error if the wrong version is detected.
2012-02-02 20:55:36 +00:00
ElgarL ac23c10f01 v0.17:
- If a player has no permissions for any channel but we are still set
to modify chat, remove the channelTag and msgcolour entries.
	- Fix Spam timer to work in milliseconds so values of 0.5 actually
work.
2012-02-01 05:43:23 +00:00
ElgarL 4de2af1506 spam_time now accepts smaller values (eg. 0.5). 2012-01-28 17:32:24 +00:00
ElgarL 12a0e8395a Added a new command '/townychat reload'. 2012-01-28 17:24:13 +00:00
ElgarL 94fa4859db Fixed Op's with no default mode set using local chat. It will now try
global, then world, then local in it's search order.
2012-01-28 16:40:43 +00:00
ElgarL 38835bea33 v0.16:
- Lowered event priorities to HIGH to allow other plugins the chance to beat us to the event and cancel.
2012-01-27 13:35:47 +00:00
ElgarL dca5a8db13 v0.15:
- Updated for the new Bukkit Event system.
2012-01-21 12:50:57 +00:00
ElgarL 5ea30523d2 v0.14:
- The default permission node for the global chat channel has changed to 'towny.chat.general'
	- TownyChat now registers is't permissions with Bukkit.
2012-01-17 17:07:44 +00:00
ElgarL fde67df61a v0.13:
- Fixed channel modes when defaulting to a global channel not to place you in one of your own (Lonely spam).
2012-01-16 21:57:30 +00:00
ElgarL 8a4a49421f v0.12:
- Major rewrite to move all channel handling into TownyChat.
	- All chat channels are now defined in their own file 'Channels.yml' found in the Towny/Settings folder.
	- Range limits can now be applied to town and nation chat.
	- You can create two identical channels, one with a range limit and one without. The player will use whichever they have permission for.
	- towny_default_modes now uses the full chat channel name. To allow use of the default channel it would be towny_default_modes: 'general'
	- Moved ALL chat settings to 'ChatConfig.yml' found in the Towny/Settings folder.
2012-01-15 22:21:05 +00:00
ElgarL c95c0bee59 v0.12:
- Major rewrite to move all channel handling into TownyChat.
	- All chat channels are now defined in their own file 'Channels.yml' found in the Towny/Settings folder.
	- Range limits can now be applied to town and nation chat.
	- You can create two identical channels, one with a range limit and one without. The player will use whichever they have permission for.
	- towny_default_modes now uses the full chat channel name. To allow use of the default channel it would be towny_default_modes: 'general'
2012-01-14 23:43:30 +00:00
ElgarL aa8ddfb584 v0.11:
- Fixed channel tag for the global channel.
	- Fixed range test trying to cross worlds.
2012-01-14 00:10:49 +00:00
ElgarL aaf14506a5 - Added a new mode '/towny spy', or '/res set mode spy'.
This requires you have the permission node 'towny.chat.spy' and be using TownyChat.
	  If you toggle this mode on you will be able to see all town/nation/global, and all custom channel chat.
	- If a player doesn't have the 'towny.chat.global' permission node, any open chat will pass through for any other plugins to handle.
2012-01-13 04:10:39 +00:00
ElgarL 62401fae8c v0.10:
- Code rewrite for new code locations in Towny.
	- Added a spam filter so players can only send one message every two seconds.
	- Added the ability to restrict channel ranges.
	
	  All custom channels (not town or nation) can now have an extra value
	  appended to signify a range limit on chat.
	  
	  -1 = no limits
	   0 = same world only
	  any positive value = limited range (blocks) in the same world.
	  
	  eg. - /g,,,towny.chat.global,-1
	        or a local channel that covers 100 blocks range
	        /l,&f[local],&f,towny.chat.local,100
2012-01-12 19:20:20 +00:00
ElgarL fa02b75141 TownyChat now passes player chat to Dynmap. 2012-01-02 19:10:41 +00:00
ElgarL f0955a10ab - Updated to use new per world channel formats. 2012-01-01 14:43:38 +00:00
ElgarL 69022478d2 Fixed {townformatted} and {nationformatted} to display correctly. 2011-12-30 22:24:41 +00:00
ElgarL f368d6d25b v0.7:
- Added support for Essentials mute and ignore features. Players on ignore will still be seen in town and nation chat.
	- Added craftIRC 3.1 support
	
	  Add a channel tag of 'admin' to the
	  receiving channel in the craftIRC config.
	  
	  Disable Auto paths and add the following to the 'paths:' section

	    - source: 'minecraft'
	      target: 'admin'
	      formatting:
	        chat: '%message%'
	        
	    - source: 'admin'     # These are endpoint tags
	      target: 'minecraft'    #
	      formatting:
	        chat: '%foreground%[%red%%ircPrefix%%sender%%foreground%] %message%'
2011-12-24 10:40:16 +00:00
ElgarL 9e4357e8e3 v0.7:
- Added support for Essentials mute and ignore features. Players on ignore will still be seen in town and nation chat.
2011-12-21 19:26:29 +00:00
ElgarL 98cc34034b v0.6:
- Changed global chat to pass through bukkits chat process instead of our own (allows other plugins to see it again).
2011-12-17 22:12:08 +00:00
ElgarL 1eec33b5c8 Fixed '/g' mode to add formatting. 2011-12-14 15:07:32 +00:00
ElgarL 410ab57336 - Added {worldname} as an accepted entry. 2011-11-18 19:05:07 +00:00
ElgarL 7629cddd02 v0.5:
- Added auto modes for chat.
	  Type '/tc' to set town chat mode. All text typed from then on will be sent to town chat.
	  While in a chat mode you can still talk in other channels by using the channel commands eg. '/nc hi'.
	  While in a chat mode you can talk in global chat with '/g text here'.
	  to clear all chat modes '/g'.
	- Added a new permission node for global chat ('/g') of 'towny.chat.global'.
2011-11-18 17:45:17 +00:00
ElgarL bb326c93dd v0.4:
- Fixed custom channel chat not showing in the console.
2011-10-31 09:07:17 +00:00
ElgarL 0923d35dd4 - Fixed missing {} around modplayername. 2011-10-28 14:16:35 +00:00
ElgarL 86d6cbea7c v0.3:
- TownyChat now only enables itself if Towny successfully starts.
2011-10-25 18:24:48 +00:00
ElgarL 2f0bab1a2a - changed PLAYER_CHAT event to run earlier so we triger before other chat plugins.
If players are using chat modes we need to run first to cancel the chat event for other plugins.
2011-10-23 16:39:49 +00:00
ElgarL 0e26cfd80f v0.2:
- Fixed players entering regex fields in chat crashing chat.
2011-10-21 02:16:01 +00:00