Commit Graph
67 Commits
Author SHA1 Message Date
ElgarL aa6dd20ab5 Merge pull request #3 from phrstbrn/master
Refactored Channels to allow better subclassing
2012-02-18 01:27:42 -08:00
Zak Ford ae46e35272 Refactored channels to allow for subclassing 2012-02-16 17:28:43 -05:00
ElgarL 8b2e679602 Fix a possible small memory leak (phrstbrn). 2012-02-16 21:36:36 +00:00
ElgarL 6dcdf674f7 Merge pull request #2 from phrstbrn/master
Small Memory Leak Fix
Allow unused player references to be cleaned up early by GC.
2012-02-16 13:32:33 -08:00
phrstbrn defc586ee2 Fix small memory leak 2012-02-16 15:21:20 -05:00
ElgarL f758f273be Error trap registering permissions. 2012-02-15 21:37:35 +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 9d87165022 Fix loading craftIRC tags for channels 2012-02-03 02:30:03 +00:00
ElgarL 50c8998050 remove debug spam 2012-02-03 02:13:34 +00:00
ElgarL 02d6017397 Fix fetching irc tags 2012-02-03 01:53:19 +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 50474cbe2f update version 2012-02-02 20:58:19 +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 f03018da26 Minor code tidying 2012-01-31 22:51:09 +00:00
ElgarL 83cc6cef4c Simple typo fix 2012-01-30 16:04:40 +00:00
ElgarL a0f70c92bc release 2012-01-28 22:03:37 +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 3bd256f15a Add build dependency for Towny 2012-01-27 17:45:45 +00:00
ElgarL 8a8a7cadcd Update automatic build 2012-01-27 17:36:05 +00:00
ElgarL d7f099cf12 Added automated ant build for eclipse IDE 2012-01-27 16:30:00 +00:00
ElgarL 8ab409860d update paths 2012-01-27 14:14:02 +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 d71959e829 minor update 2012-01-21 21:13:49 +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 84f2ef355b remove debug spam 2012-01-16 01:56:35 +00:00
ElgarL 5142945e60 Fix I'm lonely spam. 2012-01-16 01:38:53 +00:00
ElgarL e0b8b869b4 Fixed a silly file creation error 2012-01-15 22:41:25 +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 49c7f63d5c Fix typo in lonely 2012-01-15 00:33:09 +00:00
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