SimpleClans

SimpleClans

467k Downloads

Update to 1.3.3 - /clan not working, HeroChat not fixed

G-m-K opened this issue ยท 17 comments

commented

Updated to 1.3.3 (latest on BukkitDev page) - the /clan command stopped working for everyone immediately and the 'Bleeding' issue for HeroChat isnt fixed.

Sorry to say :/

commented

Herochat is pukey, but what else has channels? Here is a screen of what the chat looks like for me. http://i.imgur.com/F81YQ.png

Which is exactly how I would expect it to look??? I dont know if these other guys have it set up differently or what.

commented

http://pastebin.com/24ixTd7T This may elaborate a little bit Phaed. Got this on /reload and on startup on my test box.

commented

Ah I didnt see any stacks, thanks for supplying one!

commented

Just noticed this error, i just uploaded 1.3.4 with the fix for that. Will need to install herochat on my dev server to try to debug the bleeding issue further. Hold tight on that one.

commented

@MonsterTKE

  • Are you using HeroChat there?
    If yes:
  • Which Permission System?
  • How are user prefix/suffix set in the Permissions-Config?
  • How is the channel config in HeroChat?
  • See here for my first report to see what I mean #5 (Players in Clans having the name like the separator, players not in Clans have the name like their prefix, as intended)
commented

Yes its herochat. PermissionsEX (which I wont drop ever if I dont have to)

http://pastebin.com/Wz8yst5y herochat config.

http://pastebin.com/i1Zm0BQR PermissionsEX sample group with prefix.

commented

Thanks.

How do you get a red name in the picture posted above? That's not clear from the configs you posted, they are more or less the same as us. From the config you posted, the playername would be white.

In the picture you posted, the playername (as we want it) would be orange as well. I am really stumped.

commented

That's what I have

"&f[&4Admin&f]&4"

And my name is white and not 4, as the separator in my Clans config is white. That's what I am saying all the time - there is no way I can get my name to stay colored the way I want it to.

My heroChat Config: http://pastebin.com/EAULHaHB
My PEX example: http://pastebin.com/ZKcbeVt1 (pastebin yaml parser failed a little there)

See - it is like you have, and yet my name is not red as it should be. Except if I am really really blind and dont see something obvious.

commented

I think this has to do with a problem pulling the prefixes from PEX rather than a HeroChat problem. See what SimpleClans does is pull the prefix, and strip out the last color code in it, and puts it between the separator and the name. Then sets the display name to (clantag + separator + colorcode + name), so then when herochat or mchat later adds the prefix and suffix to the display name it ends up like this: (prefix + (clantag + separator + colorcode + name) + suffix) and all the colors look right. But since SimpleClans is not able to pull the prefix correctly, it doesnt add the color code, and so the separator bleeds into the name.

I'll add direct support for PEX later on today.

commented

'&1[Mods]&f' see the &f part of the prefix, after the [Mods]? Change it to &4.

'&1[Mods]&4' <------like this.

commented

As I said, the only difference is the additional &f and &4 in your prefix. Mine displays the way it should. (so it seems)
Yours doesnt, the only difference is the additional tags in the prefix.

I dont know if you are going for the white brackets or not. But I would try &4[Admin]&4 to produce an output like this.

[red][clantag][red] if you are trying to have white brackets I dont know what to tell you? Other than what Phaed suggested.

commented

No you dont have it like me.

you have this. '&f[&4Admin&f]&4 '

I have this. '&1[Mods]&4'

you have an additional &f and an additional &4

commented

@MonsterTKE

See this?

Clan Tags

The additional &f &4 dont make a difference, what matters for SimpleClans is that last color code on the right, the &4.

The playername without a Clan get the color, just like it should be.

The players with a clan dont get the color. You also use PEX, we do too. Your config is the same as ours. Still, it works for you, and doesnt for us. That's what really confuses me.

@phaed420

Thanks for the explanation, am hoping for the best :)

commented

@MonsterTKE

I did '&4[Admin]&4 ' - see the result:

Clan Tags

So, it def. isnt that. Something else must be interfering.

commented

Are both you guys setting the prefixes on the same file as your permissions?

commented

Fixed it! Turns out the extra space on your prefix was messing it up. I've made it trim out the extra spaces before extracting the last color code. that should do it. download 1.3.5

commented

@phaed420

You are a genius, who would have thought of that? Thank you, it works perfectly now!

And sorry for all the hassle with this small issue :)