Comments (16)
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.
http://scr.hu/150/9egkw
Yes i tried /denizen reload and /reload.
from denizen.
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.
http://scr.hu/150/uc341
It doesnt work. I have that errors in console...
from denizen.
What character encoding are you using when saving your YML files?
from denizen.
ANSI
from denizen.
Try UTF-8 or Unix-UTF8
from denizen.
The same thing with UTF-8
from denizen.
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.
So, how can i fix it?
from denizen.
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.
Also, put up a pastebin/pastie of your entire config file.
from denizen.
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.
I would be interested to know if this worked:
player_chat_to_npc: "\u00a77[\u00a7e\u00a77]: "
I know it's ugly... but... :)
from denizen.
Damn! It Works... :D
Thanks very much... You can close, but if you can, add suport to "&" character :)
from denizen.
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)
- Plugin Fails to Enable on 1.18.2
- mechanism loot_table_id HOT 1
- MongoDB
- NPCs Sinking into ground instead of sitting HOT 1
- Spread Around New Tag Param Usage, Static Tag Registration, new Property format, and Command autoExecute HOT 1
- Short-circuit tags HOT 1
- Move Denizen packet listener to async, HOT 2
- Chicken EggLayTime mechanism feature HOT 1
- folder delete
- Improve Tag <PlayerInventoryTag.map_slots> HOT 1
- Add wolf collar dyed and cat collar dyed event HOT 2
- New FurnaceStartsSmeltingEvent returns an incorrect total_cook_time context value
- Discord Appeal HOT 1
- Custom explorer maps creation
- Update to 1.19.4 HOT 1
- Nested translate tags produce broken strings HOT 2
- Oraxen Support HOT 3
- Some artifacts are missing in the published Maven artifacts HOT 1
- java.lang.NoClassDefFoundError: net/citizensnpcs/trait/HologramTrait$HologramDirection HOT 2
- NoClassDefFoundError "craftbukkit/v1_20_R3/inventory/CraftInventoryCustom" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from denizen.