MonsterIRC

MonsterIRC

24.4k Downloads

Color issues

Opened this issue · 7 comments

commented

This is a feature request.
I havent been able to change the color of the formatting.
Using the color codes like "&3" will just type out &3 as normal text, like so: "[G] &3[IRC] :
Using the color codes like "§3" will mess up the config file and make MonsterIRC overwrite the config with the default one.

The reason why I want color codes is because I dont want IRC messages to be colored the same way as the herochat tag it is in. So for example, by Global Channel which has tag "G" and is green will make the whole message green, when I only want the "[G]" to be green and the rest to be white.
Here is a example for how it is right now: http://dl.dropbox.com/u/23839404/example.png

Please add color code support, if there already isnt! :)

commented

Should be fixed, now you can add &(color) into the formatting

commented

I'm still experiencing these issues with your 1.56.

I have it like this in my settings.yml:

FORMAT:
MINECRAFT: '&7[&5IRC&7]&f {name}:&7{message}'

But it prints it out all in green text. Like so: http://dl.dropbox.com/u/23839404/bug.png
Green is the chat color/syntax of my Herochat channel 'Global', but I dont see why it uses it, or why it types out all the color codes instead of changing the color.

commented

This is fixed, I was going to put an rb up on Sunday with this however my computers cooler died and I'm waiting on an RMA. To get the build that has it go to dev.monstercraft.org:8080 and get the latest dev build. Sorry

On 2012-03-28, at 1:16 PM, thernztrom [email protected] wrote:

I'm still experiencing these issues with your 1.56.

I have it like this in my settings.yml:

FORMAT:
MINECRAFT: '&7[&5IRC&7]&f {name}:&7{message}'

But it prints it out all in green text. Like so: http://dl.dropbox.com/u/23839404/bug.png
Green is the chat color/syntax of my Herochat channel 'Global', but I dont see why it uses it, or why it types out all the color codes instead of changing the color.


Reply to this email directly or view it on GitHub:
#48 (comment)

commented

No worries, thanks for providing me with the Jenkins link.

commented

However, when I just put on the latest dev-build on my server, whenever someone types in-game there is an error generated in the server log, and no message is sent to the IRC. (However the IRC -> Game works, now with correct colors. :) ) The message looks like this:
2012-03-28 19:13:26 [SEVERE] Could not pass event PlayerChatEvent to MonsterIRC
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:786)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:103)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
Caused by: java.lang.IncompatibleClassChangeError: Expecting non-static method com.gmail.nossr50.mcMMO.getPlayerProfile(Lorg/bukkit/entity/Player;)Lcom/gmail/nossr50/datatypes/PlayerProfile;
at org.monstercraft.irc.plugin.managers.listeners.MonsterIRCListener.onChat(MonsterIRCListener.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
... 13 more

commented

Does it perhaps have to-do with the recent mcMMO update?
http://dev.bukkit.org/server-mods/mcmmo/files/33-mc-mmo-1-3-04/
"! Changed event package structure - be sure to update these if you're using the API in your plugin"
Im running 1.2.4-R0.1, latest Vault and mcMMO 1.3.04

commented

Same issue as thernztrom mentioned above.