Commit Graph
28 Commits
Author SHA1 Message Date
ElgarL 05ede998d2 fix default channels to always modify the format 2012-01-15 00:32:30 +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 3180d767ce raised priority again as it messes up with esschat 2011-10-28 18:39:26 +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 2e72d37810 - 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-24 01:43:34 +00:00
ElgarL fd6648676b Changed priority so we parse open chat before herochat (else herochat still shows messages intended for tc/nc modes) 2011-10-23 17:03:58 +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 1980cfe14b Upto date 2011-10-21 02:23:24 +00:00
ElgarL 0e26cfd80f v0.2:
- Fixed players entering regex fields in chat crashing chat.
2011-10-21 02:16:01 +00:00
ElgarL dd78651adc Fixed empty string tests 2011-10-20 17:48:01 +00:00
ElgarL 9bff9bea6e fixed .isEmpty() 2011-10-20 13:16:52 +00:00
ElgarL a13fd4e721 2011-10-20 12:26:21 +00:00
ElgarL 287f1c04a8 2011-10-20 12:26:07 +00:00
ElgarL 66d1c685bf 2011-10-20 12:25:23 +00:00