Git Product home page Git Product logo

Comments (9)

Qveshn avatar Qveshn commented on August 15, 2024

I agree. Time to correct messages. Not only parentheses, but also urls and so on.

Specifically on this message above, do you think to fix only parentheses or remove colors too?
In other words, use "CommandSender.sendMessage" (as done now) or use a standard bukkit logger without any colors ("Bukkit.getLogger().info")?

from lightapi.

SlimeDog avatar SlimeDog commented on August 15, 2024

I have no opinion as to the correct method. I want only that I have the option to remove formatting.

Strictly speaking, <> are angle brackets. Parentheses are (). The standard for console/log messages is square brackets [].

from lightapi.

Qveshn avatar Qveshn commented on August 15, 2024

yes, yes, my poor english assumes: parentheses = square brackets :D
Of course I will change <> to []

Should I also remove colors in this message?

from lightapi.

SlimeDog avatar SlimeDog commented on August 15, 2024

I would like the option of no formatting: no colors, no embolden, etc. However, others like the formatting. So it should be an option, or a customizable string.

from lightapi.

Qveshn avatar Qveshn commented on August 15, 2024

ok

from lightapi.

Qveshn avatar Qveshn commented on August 15, 2024

Hi
I have made changes in 3.4.1
config.yml now has parameter "colored-log" (default = true)
To see it pls recreate config.yml by deleting it and restarting server/plugin
Notes: "colored-log" affects only logging and not general messages to player/console
There are not a lot of logging (mostly at plugin start).
Is 3.4.1 what you expected?

PS. There is also additional parameter "message-prefix" (default=""). It is used as prefix before any output to players/console (command respone)

from lightapi.

SlimeDog avatar SlimeDog commented on August 15, 2024

Yes, I got it last night. It looks good.

Please build config.yml into the JAR. It is much preferable to

  • unzip the JAR
  • compare the current with the new config.yml
  • make the necessary changes to reflect the new stuff
  • re-start the server

than

  • delete current config.yml
  • create the new one (on start-up)
  • stop the server
  • make changes to reflect my edits
  • re-start the server

Alternatively, document it (up-to-date) so I can copy it and see the changes. I prefer the first method.

from lightapi.

Qveshn avatar Qveshn commented on August 15, 2024

ok

from lightapi.

SlimeDog avatar SlimeDog commented on August 15, 2024

Closed due to dev abandonment.

from lightapi.

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.