[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4586: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4588: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4590: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
TheDgtl • View topic - [CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

[CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

iChat Support and Discussion
Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

[CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

Postby Drakia » March 4th, 2012, 2:10 am

iChatMessages - Custom Messages Formatting
Version: 1.0.1
CraftBukkit: 1.1-R4 and later

Plugin Support:
(REQUIRED)

If you are requesting help, post your server log, your entire Permission config file (As well as what it's named), your iChat config/variables files, and your iChatMessages config file. This information is REQUIRED for me to help you.
<-- Post configs there when asking for help

=============
Description
=============
iChatMessages is an iChat addon that allows you to format join/leave/kick messages
This plugin REQUIRES iChat-2.x (viewtopic.php?f=2&t=4)

Download (Direct JAR): http://thedgtl.net/bukkit/iChatMessages.jar
Source: https://github.com/TheDgtl/iChatMessages

=============
Features
=============
Through the iChat API layer this plugin has access to all of a users variables defined for iChat.
Colors are supported in all parts of the formatting.
You can pick and choose which messages to customize, you don't need to customize what you don't want to.

=============
Formatting
=============
Message formatting is defined in the file plugins/iChatMessages/config.yml
The message formats can contain colors and variables as explained below.
To use colors use the standard Minecraft color codes found here: http://www.minecraftwiki.net/wiki/Class ... olor_Codes

Available variables:
+prefix - The prefix for this user, or this users group if they don't have one defined.
+suffix - The suffix for this user, or this users group if they don't have one defined.
+name - The users name
+displayname - The users display name (Set by plugins such as Towny)
+iname - The iChat formatted player name (Defined by iname-format)
+group - The users group
+healthbar - A visual health bar for this user
+health - The users current health value (Between 0 and 20)
+message - The message the player typed
+world - What world the player is currently in
+time - Timestamp, configurable in config.yml. Uses the format for SimpleDateFormat - http://bit.ly/dscw40
+reason - The reason for a kick (Only available in kickFormat)

Example (Default):
joinFormat: +iname has joined the game
quitFormat: +iname has left the game
kickFormat: +iname has been kicked for +reason

As with iChat you can define any number of custom variables in your iChat variables.yml file and use them in iChatMessages formats!

=============
Permissions
=============
ichatm.reload - Allow reloading the iChatMessages config

=============
Commands
=============
/ichatm reload - Reload the iChatMessages config file.

=============
F.A.Q.
=============
Q) Why don't you have any FAQs?
A) I do now ;)

=============
Changes
=============
[Version 1.0.0]
- Initial release of iChatMessages. Basic feature set.

Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

Re: [CHAT] iChatMessages 1.0.0 - Custom Messages Formatting

Postby Drakia » March 4th, 2012, 2:11 am

If requesting help please create a new topic, thank you.
As this is a brand new plugin there may be issues, if you encounter any bugs or wish to say thanks, feel free to post in this topic :)

User avatar
Inscrutable
 
Posts: 117
Joined: October 28th, 2011, 5:00 pm
Location: Fortress of Evil, Tasmania, Australia

Re: [CHAT] iChatMessages 1.0.0 - Custom Messages Formatting

Postby Inscrutable » March 4th, 2012, 4:21 am

Zap, Flash, like a genie you deliver the goods! Thank you, I'll try it out with 1.23 and see if I can break it :twisted:
Regulation Brass Ones, Guv'nor

Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

Re: [CHAT] iChatMessages 1.0.0 - Custom Messages Formatting

Postby Drakia » March 4th, 2012, 4:34 am

Considering it took a whole of an hour or so to code and test, there's a good chance you will ;)

Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

Re: [CHAT] iChatMessages 1.0.0 - Custom Messages Formatting

Postby Drakia » March 4th, 2012, 12:51 pm

Awe I already found a bug, old version of CraftBukkit cry if you're missing onDisable()

[Version 1.0.1]
- Old versions of CB don't like missing onDisable()

Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

Re: [CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

Postby Drakia » March 4th, 2012, 5:00 pm


User avatar
ZeroPoke
 
Posts: 103
Joined: October 26th, 2011, 9:38 pm

Re: [CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

Postby ZeroPoke » March 4th, 2012, 6:05 pm


Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

Re: [CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

Postby Drakia » March 4th, 2012, 6:22 pm

The example was for join messages, I'm fairly sure people can extrapolate that to other messages too ;)

User avatar
ZeroPoke
 
Posts: 103
Joined: October 26th, 2011, 9:38 pm

Re: [CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

Postby ZeroPoke » March 4th, 2012, 7:23 pm


Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

Re: [CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

Postby Drakia » March 4th, 2012, 7:25 pm


User avatar
ZeroPoke
 
Posts: 103
Joined: October 26th, 2011, 9:38 pm

Re: [CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

Postby ZeroPoke » March 4th, 2012, 11:23 pm

Im talking about the third example showing the default join.

Too prove a point Im more then willing to join their group. Especially because I tend not to read either... Well till there a problem I cant figure out.

Edit: I actually enjoy that group now that I thing about it. Watching you flip out is fun.

Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

Re: [CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

Postby Drakia » March 4th, 2012, 11:39 pm


User avatar
ZeroPoke
 
Posts: 103
Joined: October 26th, 2011, 9:38 pm

Re: [CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

Postby ZeroPoke » March 5th, 2012, 1:38 pm

thats three. On your counting groups I was counting actual examples xD

User avatar
Inscrutable
 
Posts: 117
Joined: October 28th, 2011, 5:00 pm
Location: Fortress of Evil, Tasmania, Australia

Re: [CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

Postby Inscrutable » March 12th, 2012, 2:08 am

Regulation Brass Ones, Guv'nor

User avatar
ZeroPoke
 
Posts: 103
Joined: October 26th, 2011, 9:38 pm

Re: [CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

Postby ZeroPoke » March 12th, 2012, 3:46 pm

hahahaha Nice

sentriz
 
Posts: 4
Joined: October 29th, 2012, 1:26 pm

Re: [CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

Postby sentriz » October 29th, 2012, 1:34 pm

Hi, wonderful plugin when used with TagAPI. One thing I would love to see in it though, would be death messages support.

config would be like:

enableJoin: true
enableQuit: true
enableDeath: true
joinFormat: +{suffix}** +{colour}+name +{suffix}has joined the game.
quitFormat: +{suffix}** +{colour}+name +{suffix}has left the game.+{leave}
zombieDeath: +{suffix}** +{colour}+name +{suffix}was slain by zombie.
creeperDeath: +{suffix}** +{colour}+name +{suffix}was slain by creeper.
playerDeath: +{suffix}** +{colour}+name +{suffix}was slain by %player%.
playerformat: +{colour}+name
//%player% format; their {colour}, and their +name, not the killer's, hope this is possible.

I really hope you could do this, Drakia. It would be amazing.

Thanks in advance,
sentriz.

Unknown_Mage
 
Posts: 1
Joined: February 10th, 2013, 10:30 am

Re: [CHAT] iChatMessages 1.0.1 - Custom Messages Formatting

Postby Unknown_Mage » February 10th, 2013, 10:51 am

When I format messages for quit, it doesn't seem to do it properly sometimes.
Sometimes it does the default quit message, and the rest of the time it does a different format.

I have format setup like this.
quit: +{wName} +displayname +{quit}

Sometimes, the displayname doesn't show up and instead replaces it with the realname.
Join format is the same also, but it doesn't have this problem.

No errors when I do this, so I don't have a point in showing console.


Return to iChat

Who is online

Users browsing this forum: No registered users