PermissionsEx

PermissionsEx

14M Downloads

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

commented

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

commented

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.

commented

I don't understand is there a youtube video showing how?

commented

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.

commented

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.

commented

No not really this is my first time

commented

Ok. I'll start at the beginning.

commented

okay
btw im using a spigot server

commented

(This is going to take some time, and normally we don't do this.)

commented

Have you started your server for the first time yet?

commented

Yes i launched many times trying to learn the basics

commented

OK, good, so all the default files are where they should be.

commented

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?

commented

either i'm dumb or i just don't understand so no it doesn't really make sense

commented

You know how to open the files on your server, right?

commented

i'm using note pad : / is that wrong?

commented

And along with the name being red before the prefix it also says [world]

commented

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.

commented

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.

commented

ok so there isn't a special program to open them to make it more simple or easier?

commented

Nope. It's all notepad edits (the easy way) or using commands (the hard way).

commented

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...

commented

Yep. We're gettin' there. :-)

commented

Okay

commented

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?

commented

Yes i understand this part a lot more how ever is my permissions.yml supposed to only have 1 line?

commented

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.

commented

the one with 1 line is in permissions ex folder

commented

Highlight that one line, and delete it. We're going to put something else inside that file.

commented

okay

commented

okay i deleted the 1 line

commented

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.

commented

Ok, start your server and tell me what you see in-game when you talk.

commented

done.

commented

okay hold on 1sec

commented

Type it here exactly the same way you see it in-game.

commented

[world]
that is the info however my name and "the visitor" is red

commented

So:

    [world] Guest DropSuit the Visitor: words you typed

Right?

commented

oh it didn't copy everything hold on

commented

[world] t

commented

yes but it says [world] t
(i just typed t to test it)

commented

It didn't say Guest anywhere?

commented

ok it basically said [world] (myname) The Visitor t but its all red

commented

Ok, good. EssentialsChat is working, we just have to change the colors and stuff now.

commented

oh yeah it said it after [world] i didn't see it until you mentioned it

commented

ok sweet

commented

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.

commented

ok so i think i changed them but if the # is after true then do i get rid of it or no

commented

After true, the # won't have any effect on anything, but it's best to delete it so the file isn't cluttered.

commented

Let me know when you're ready for the next step; this is the hardest one of them all for you.

commented

im ready

commented

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.)

commented

on what essentials?

commented

I didn't tell you to save it or close it yet. ;-)

commented

Yep, inside that same Essentials config.yml file we're working on.

commented

i did CTRL+F and searched for
format: '[{GROUP}] {DISPLAYNAME} :&r {MESSAGE}'
but nothing came up yet

commented

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.

commented

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.)

commented

okay i went to the line and found format: '<{DISPLAYNAME}> {MESSAGE}' and i searched and found it :D

commented

Ok, this is the tough part, are ya ready?

commented

i hope i'm ready

commented

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}'
commented

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'.

commented

Tell me when you got that done, and I'll explain what that big block of stuff is.

commented

i think i did it right

commented
commented

Pretty close. Use this: https://pastebin.com/H76rzVq5

commented

so delete all the data and replace it with this file?

commented

ok i pasted the file into my file

commented

whats next

commented

Saved the file, close everything, start the server.

All the colors are gone, in-game, right?

commented

You should see:

    Guest DropSuit the Visitor: words you typed

and it's all white, right?

commented

hold on i gotta check

commented

Don't forget to save the file, back there....

commented

okay

commented

my name is still red

commented

Did you save the file and everything?

commented

i think

commented

i noticed that when you typed "there" it was a link is that something im supposed to do?

commented

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?

commented

If you open those 2 files from the server, now, do you see all of the changes we made are still in them?

commented

okay yeah i added them in case they was gone

commented

i will check again

commented

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
commented

i ment i added the text in case it was gone

commented

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.

commented

Nothing we did was saved. We wasted 2 hours.

commented

omg really

commented

[world] but everthing other than world and geust is red

commented

Yep.

commented

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.

commented

wait so your past bins i can't use those to fix it?

commented

okay

commented

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.

commented

aw no thats gonna take for ever to fix

commented

ughhhhhhhhhh

commented

idk what even messed up

commented

2 hours 15 minutes, we spent on it.

commented

You just didn't save the changes we made as we made them.

commented

I don't get paid anything from PEX anymore, so I can't really do another 2.25 hours to do all this again, sorry. But all the instructions are in this ticket for you to follow. You just have to make sure you save what we did.