Code Monkey home page Code Monkey logo

Comments (16)

aufdemrand avatar aufdemrand commented on June 17, 2024

That should work... what build are you using? Debuzeb 98+ doesn't ever write to a config file, only reads. When you made the changes, did you try /denizen reload?

from denizen.

Adeo-xx avatar Adeo-xx commented on June 17, 2024

http://scr.hu/150/9egkw
Yes i tried /denizen reload and /reload.

from denizen.

aufdemrand avatar aufdemrand commented on June 17, 2024

I am unable to reproduce this.. colors work for me. Make sure you are using build 124, the latest recommended build on ci.citizensnpcs.net.

from denizen.

Adeo-xx avatar Adeo-xx commented on June 17, 2024

http://scr.hu/150/uc341
It doesnt work. I have that errors in console...

from denizen.

aufdemrand avatar aufdemrand commented on June 17, 2024

What character encoding are you using when saving your YML files?

from denizen.

Adeo-xx avatar Adeo-xx commented on June 17, 2024

ANSI

from denizen.

aufdemrand avatar aufdemrand commented on June 17, 2024

Try UTF-8 or Unix-UTF8

from denizen.

Adeo-xx avatar Adeo-xx commented on June 17, 2024

The same thing with UTF-8

from denizen.

aufdemrand avatar aufdemrand commented on June 17, 2024

Seems to be a SnakeYML (implemented in Bukkit) problem.. :(

https://bukkit.atlassian.net/browse/BUKKIT-1466

I see there's a 'hackfix' to strip the YML file of that character before reading in the YML, which I will look in to.

from denizen.

Adeo-xx avatar Adeo-xx commented on June 17, 2024

So, how can i fix it?

from denizen.

aufdemrand avatar aufdemrand commented on June 17, 2024

I'm not completely sure, as I am unable to reproduce this on my own. You're the second person in which this has seemed to affect...

I'm being told you may need to encode to ANSI, back to UTF-8, back to ANSI, back to UTF-8. Sorry I don't have a more scientific answer as of now. I promise I will look into it.. stripping the character on start of Denizen is definitely possible, I just need to finish up the changes I'm doing right now to Denizen before I can get to that, unfortunately. You could, for now, not use color codes.

Also, what program are you using to edit your YML files?

from denizen.

aufdemrand avatar aufdemrand commented on June 17, 2024

Also, put up a pastebin/pastie of your entire config file.

from denizen.

Adeo-xx avatar Adeo-xx commented on June 17, 2024

http://pastebin.com/qFQzQnHR Here is my config. Now without paragraphs.
But with paragraphs this looks like
"§7[NPC]§e< NPC >§7: < TEXT >"

from denizen.

aufdemrand avatar aufdemrand commented on June 17, 2024

I would be interested to know if this worked:

player_chat_to_npc: "\u00a77[\u00a7e\u00a77]: "

I know it's ugly... but... :)

from denizen.

Adeo-xx avatar Adeo-xx commented on June 17, 2024

Damn! It Works... :D
Thanks very much... You can close, but if you can, add suport to "&" character :)

from denizen.

aufdemrand avatar aufdemrand commented on June 17, 2024

I'll probably just add "%%[#]" support, it's easier on parsing. That is supported in scripts now, by the way, just not in config yet.

Thanks for testing!

from denizen.

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.