Coder Social home page Coder Social logo

Chat format about development HOT 11 CLOSED

multichat avatar multichat commented on August 30, 2024
Chat format

from development.

Comments (11)

OllieMartin avatar OllieMartin commented on August 30, 2024

Yeah I'm sure I can sort out something for a local chat prefix :)

However; its very weird that your colours aren't working as Ive had no issues with luckperms or anything else. Could you send me your config and a screenshot of the console just so I can check some things? Thanks a lot and sorry for the issues!

from development.

 avatar commented on August 30, 2024

Part of log bungee: http://pastebin.com/UBc6y3fJ

1:

2:

from development.

 avatar commented on August 30, 2024

Solved colors using unicode instead of section character. Tried encoding utf8 on multiple way without success: "§" = > "\u00A7":

  • SpigotComm.java:[117,87]
  • SpigotComm.java:[133,238]
  • BungeeComm.java:[57,100]
  • BungeeComm.java:[58,117]
  • ChatStream.java:[242,66]

from development.

OllieMartin avatar OllieMartin commented on August 30, 2024

Okay Ive just got home so Im going to try and fix this :)

Im gonna set up luckperms etc. to try and replicate your issue, I know the kinds of things that could cause the issue but its weird that it hasnt affected any of the other servers Ive seen the plugin working on

from development.

OllieMartin avatar OllieMartin commented on August 30, 2024

Also when you said you used unicode what symbol were you referring to?

from development.

OllieMartin avatar OllieMartin commented on August 30, 2024

Were you using the § symbol for colour codes? I can only re-create your issue if paste that in instead of &? The way the plugin works is it takes any & colour codes and converts the display names to use § as that is how it is interpreted by most plugins. I do all my processing after converting the color codes to start with §. Ive got the latest version of luckperms and multichat and I cant seem to make it break :/

from development.

OllieMartin avatar OllieMartin commented on August 30, 2024

I have however implemented this for you! https://puu.sh/urbWv/ac0725e8d6.png

The way it works is that in the global format you can specify %MODE% which will become either "Global" or "Local", or %M% which will become "G" or "L" :)

1.4.1 pre release 1
https://github.com/MultiChat/Development/blob/master/multichat/target/multichat-1.4.1.jar

from development.

 avatar commented on August 30, 2024

Just for meh ! Thanks =D

I'm not using this symbol, it's in the source code where i replaced to make it works. I'll try again, maybe i missed something.

from development.

OllieMartin avatar OllieMartin commented on August 30, 2024

Yeah try the version I just posted in case it fixes it.

So you in the code replaced "§" for "\u00A7"? Weird how that would work instead :S As I said Ive seen the plugin working on multiple servers so I found it surprising it was giving you errors :/

from development.

 avatar commented on August 30, 2024

Hello,

I tried the lastest jar and it's working very well ! Thanks :)

So i changed again some lines (just translation) and i got this color problem again. Then i tried to compile it without changes and i got it too. I've done "mvn package / mvn clean package / mvn build" and i get a different size of compiled .jar. Am i doing something wrong ? Anyway you can close this it is not an issue anymore :p

from development.

OllieMartin avatar OllieMartin commented on August 30, 2024

Great! :)

And that does seem very weird, Maven clean and Maven install are what I do when re-building it so what you are doing seems fine to me! When I release 2.0 all the messages will be totally configurable so you wont need to worry about editing the code for translations in the future :)

Sorry about that, if you need anything else then please let me know!
Thanks a lot, ~Ollie

from development.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.