I need help ASAP i'm using prefix's and i wanna make ranks but when i do &4[Owner]&9 It Makes The User Name Red And at the begging there is [World]
DropSuit opened this issue · 114 comments
I just need to know how to make user names custom colors they just turn red and have [world] every time no mater what :(
These are my plugins
world guard-6.2.1
worldedit-bukkit-6.1.7.2
vault
timelock
shopkeepers
setspawn
scoreboardstats
protocollib
permissionsEX
mulitvers-core
minigames
libsdisguises
imageonmap
essentialsX
essentialsSpawn EssentialsProtect EssentialsChat EssentialsAntibuild Essentials
cs-CoreLib
CreateYourOwnMenus
ClearLag
Citizens
Formatting Codes | Color Codes
Use an ampersand &
instead of the section symbol §
in your Essentials\config.yml file and your PermissionsEx\permissions.yml file.
This except of the Essentials\config.yml file can help too.
Sorry, documentation on pretty much everything related to Minecraft is shoddy and hard to find.
Give me a minute to write up a brief tutorial for you.
Do you have any experience at all with anything related to running a Minecraft server?
I'd like to know how much 'basic' stuff I don't have to go into extreme detail on.
Go into the PermissionsEx folder, open the permissions.yml file, and replace everything inside that file with the information in this example. (Be sure to save the file.)
From that example file, if you wanted the "Guest" group to have a gold prefix before their name in-game, you would change the prefix: 'Guest '
to be prefix: '&6Guest &r'
. The &6
changes everything coming after it to the color gold, and then the &r
resets the color back to the default (which I believe is white). So the prefix would be gold, the username would be white, and the chat text would be white.
Does that make sense so far?
That's somewhat good. You're going to be opening those files a lot to change stuff inside them. (That's what my previous message was telling you to do.)
For best results, don't change stuff inside files while the server is running.
And along with the name being red before the prefix it also says [world]
You have many, many, many changes to make still, so nothing in-game will look the way you want it to look right now.
ok so there isn't a special program to open them to make it more simple or easier?
okay so can you kinda break it down how to remove the red name and [world] before the name i'm 12 so this is kinda hard for me to understand...
The prefix is stored in the PermissionsEx folder's permissions.yml file. We type the color codes and formatting codes we want a group to have into their prefix:
, under options:
in the permissions.yml file.
The prefix is displayed in-game by a different plugin called a chat management plugin. In your case, that's "EssentialsChat". To get EssentialsChat to display stuff the way we want it in-game, we have to change stuff in several places in the Essentials folder's config.yml file. The first place is near the very top of the config.yml file, and the second is way down near the bottom of the file, almost all the way to the bottom, in fact.
Does that make sense to you?
Yes i understand this part a lot more how ever is my permissions.yml supposed to only have 1 line?
is my permissions.yml supposed to only have 1 line?
There are actually 2 files on your server using that name, so it's important to specify which one you're talking about.
Is it the one in the server's "root folder" (which has a file named server.properties in it) or is it the one inside the plugins > PermissionsEx folder?
The "root" permissions.yml file should have nothing inside it at all.
The PermissonsEx folder file is the one you want to customize for your server.
Highlight that one line, and delete it. We're going to put something else inside that file.
Once that line is deleted, go to https://pastebin.com/8ZSHxauG and download that file. Open it, copy everything inside it with CTRL+C, go back to your server's PermissionsEx\permissions.yml file, and paste everything you copied by pressiing CTRL+V. Then save the file.
Ok, good. EssentialsChat is working, we just have to change the colors and stuff now.
Go inside the Essentials folder, open the config.yml file, and CTRL+F to find change-displayname:
. Make sure there is no #
at the front of that line, and that the option is set to true
.
A couple lines below that, make sure change-playerlist:
has no #
at the front of that line, and is set to false
.
A few more lines down, make sure add-prefix-suffix:
has no #
at the front of that line, and is set to true
.
Let me know when you complete those 3 changes.
ok so i think i changed them but if the # is after true then do i get rid of it or no
After true
, the # won't have any effect on anything, but it's best to delete it so the file isn't cluttered.
Let me know when you're ready for the next step; this is the hardest one of them all for you.
Ok, now you're going to CTRL+F to find format: '[{GROUP}] {DISPLAYNAME} :&r {MESSAGE}'
.
Let me know when you find that line. (There may be a #
in front of it. If there is, good, leave it there.)
i did CTRL+F and searched for
format: '[{GROUP}] {DISPLAYNAME} :&r {MESSAGE}'
but nothing came up yet
OK, you may be in the wrong file or something went terribly wrong.
Copy the entire contents of the file you're in right now, and paste it to Pastebin. Copy the link from the address bar after you create your paste, and put that link in this ticket.
Look at your Pastebin link page, scroll down to line 667. Lines 667 through 672 are going to get changed.
Do you see those lines in your file? (Not in the paste.)
okay i went to the line and found format: '<{DISPLAYNAME}> {MESSAGE}' and i searched and found it :D
Ok, in your file, we're going to delete all of this:
format: '<{DISPLAYNAME}> {MESSAGE}'
#format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'
group-formats:
# Default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}'
# Admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'
Then copy all of this:
#format: '<{DISPLAYNAME}> {MESSAGE}'
#format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'
#group-formats:
# Default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}'
# Admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'
group-formats:
Guest: '{DISPLAYNAME}&r: {MESSAGE}'
Member: '{DISPLAYNAME}&r: {MESSAGE}'
Mod: '{DISPLAYNAME}&r: {MESSAGE}'
Admin: '{DISPLAYNAME}&r: {MESSAGE}'
Owner: '{DISPLAYNAME}&r: {MESSAGE}'
and paste that into your file, where we just deleted the other 'junk'.
Tell me when you got that done, and I'll explain what that big block of stuff is.
just to make sure https://pastebin.com/Tv0yqnU5
Pretty close. Use this: https://pastebin.com/H76rzVq5
Saved the file, close everything, start the server.
All the colors are gone, in-game, right?
You should see:
Guest DropSuit the Visitor: words you typed
and it's all white, right?
Don't forget to save the file, back there....
i noticed that when you typed "there" it was a link is that something im supposed to do?
Saved the permissions.yml file we copied from my example?
Saved the config.yml file we just finished editing?
The server wasn't running when you saved those, right?
If you open those 2 files from the server, now, do you see all of the changes we made are still in them?
okay yeah i added them in case they was gone
Sorry. I don't know what that means.
Is the chat in-game all white now? Do you see:
Guest DropSuit the Visitor: words
i ment i added the text in case it was gone
If you put something somewhere that I didn't tell you, the last 2 hours have been wasted and this won't work.
You need to go back up to the top of this ticket, read every post, do everything all over again, and be sure to save it.
The example permissions file, yes.
The excerpt (small piece of) the Essentials config file, no. This file has to be copied over the correct places in your file.