PermissionsEx

Basic Prefix / Suffix Tutorial

    #1 Aug 16, 2014 at 03:43 UTC - 3 likes

    This little guide walks you through the basic setup of EssentialsChat to display a prefix, suffix, or both when you type in-game.

    To get your prefix and/or suffix displayed, there are 3 things you need to do in your Essentials\config.yml file:

    1. Around line 32, you'll see change-displayname:. This is the key component which will make EssentialsChat change the displaying of your username into prefix+username+suffix. (If for some reason this is not "true" on your Essentials\config.yml file, change it to true.)

    2. Around line 42, you need to remove the # at the beginning of the line add-prefix-suffix:, and to set the option to true. (I have no idea why line 32 and 42 are 2 separate options which have to be "true" in order for prefixes and suffixes to work. It doesn't look like line 32 does anything at all on it's own.)

    3. Go all the way down to around line 525 (where you find " #format: '<{DISPLAYNAME}> {MESSAGE}' " and remove the # from the beginning.

    Save the Essentials\config.yml and the permissions.yml if you have been working on both of them at the same time to fine-tune your prefix/suffix with color and formatting codes.

    Type /ess reload and /pex reload in-game to reload both Essentials and PermissionsEx.

    Now, when you type in-game, if the group you are in has a prefix and/or suffix defined in the permissions.yml file, EssentialsChat will show them in-game just like line 525 was formatted (and with whichever color codes you defined in your Essentials\config.yml and permissions.yml files):

    <YourGroupPrefixYourUsernameYourSuffix> Words your typed here.

    Notice how there are no spaces between the prefix, name, and suffix? This is because most server admins forget to add a blank space to the end of their prefix, and to the beginning of their suffix. For example, let's look at a single group named "Guest". (Click Here.) In this example, there is no space at the end of the prefix, or before the suffix. We end up with the following:

    <GuestStormbowtheVisitor> words I typed

    By adding the spaces (as you see here and as you learned in the Basic PEX Tutorial), you end up with a much cleaner chat line:

    < Guest Stormbow the Visitor> words I typed

    And, of course, you can format your group prefix/suffix just about any way you like. (Though, I would advise against using the magic text/scrambled letters formatting code because it's extremely overused on servers and annoys many people.)

    And, finally, you will need Vault in order for prefixes and suffixes to display on your server. Just drop the Vault.jar file into your server's plugins folder and you're ready to go.

    Last edited Apr 04, 2016 by Stormbow

    Official PermissionsEx Guru* (*not the PEX programmer)
    Basic PEX Guide | Prefix/Suffix Guide | Troubleshooting Guide
    Remember to 'LIKE' the posts which you find helpful.
    http://s25.postimg.org/ah2qkzbzj/no_trolling.gif

    BFAK:83847,94c9f420badc7fda29227b4adaca49728cacc02e4e890d026ebba529a25877e9

    #4 Nov 28, 2014 at 01:41 UTC - 2 likes

    I have done all of this but the prefixes are still not showing up?

    #5 Nov 28, 2014 at 03:28 UTC - 1 like

    @JREAPER99: Go

    Post your PermissionsEx\permissions.yml and Essentials\config.yml files (2 separate links) on pastebin and leave the links in this thread and I'll take a look at them for you.

    I got the PM with your information.

    Last edited Nov 28, 2014 by Stormbow
    #9 Nov 30, 2014 at 00:02 UTC - 1 like

    Problem solved!

    Had to move the "prefix:" sections for each group under "options:" for JReaper99's 1.7.10 server.

    (Just like the example I made right here.)

    Last edited Nov 30, 2014 by Stormbow
    #10 Jan 07, 2015 at 13:59 UTC - 0 likes

    I followed your guide. It seems 'add-prefix-suffix:' was set to 'false' before. The problem persists. I checked to see if there were spaces in the pex config by searching for the 'tab' character, which is ' ', and no results came up. I also searched manually by backspacing to see if there was a tab and then retyping the space sign. Still no results.

    I guess that you're right, it must be the teamcity version/bug. The teamcity version is really just a port to spigot 1.8, no code was changed/modified other than what was necessary. Thus, I think the problem is an issue with this version.

    #11 Jan 07, 2015 at 23:08 UTC - 0 likes

    @ajthemacboy: Go

    Yeah... I don't understand why there is a "port" to Spigot when the normal Essentials package seems to work fine for everyone else that's running Spigot.

    I've handled almost 1150 posts (as of this post, all on this PEX forum), averaging 10 posts or less to resolve any problems, and I've only run into 2 people using vTeam City Essentials. In both cases, the problems did not easily resolve.

    All the more reason to use "official" releases.

    Last edited Jan 07, 2015 by Stormbow
    #12 Jan 20, 2015 at 03:01 UTC - 0 likes

    In 1.7.9 my Prefix's were working fine and now in 1.8.1 the prefixs are missing no matter what i do

    #13 Jan 20, 2015 at 07:03 UTC - 0 likes

    @EpicEzio: Go

    Which version of PEX are you using? ( And why didn't you make your own thread? ;p )

    #16 Feb 06, 2015 at 21:26 UTC - 0 likes

    OMG THIS WORKED!!!!! THANK YOU SO MUCH IT ACTUALLY WORKED CANT THANK YOU ENOUGH!! THANK YOU SO MUCH

    #17 Feb 07, 2015 at 14:56 UTC - 0 likes

    @marvinworld: Go

    You're welcome. :)

    #19 Feb 10, 2015 at 02:30 UTC - 0 likes

    Is there any other chat plugin that will make prefixes work from permissionsEx since essentials doesnt work currently?

    Last edited Feb 10, 2015 by KnightIndustries
    #20 Feb 10, 2015 at 04:50 UTC - 0 likes

    @KnightIndustries: Go

    What do you mean Essentials "doesn't work currently"?

    What version is your server and which version of Essentials are you using? (A pastebin link to your startup log would be immensely helpful.)

    Last edited Feb 10, 2015 by Stormbow
    #21 Feb 13, 2015 at 01:30 UTC - 0 likes

    i'm using 1.8

    http://pastebin.com/9awZ6jwu

    Last edited Feb 13, 2015 by KnightIndustries
    #22 Feb 13, 2015 at 05:51 UTC - 0 likes

    @KnightIndustries: Go

    You don't have Essentials installed correctly on your server according to your startup log.

    Download Essentials, unzip it, put the .jar files in your server's plugins folder.

    You also have other plugin errors you need to resolve.

    Last edited Feb 13, 2015 by Stormbow
    #23 Feb 16, 2015 at 22:27 UTC - 0 likes

    I did as you said to do with essentials but it did not work, more thank likely it not being compatible with 1.8. http://pastebin.com/xH7hfAKK

    As for the other errors, i have no clue how to resolve them yet xD, probably because they are not to date with 1.8 either even though they work.

    #25 Feb 17, 2015 at 01:35 UTC - 0 likes

    @KnightIndustries: Go

    Download PEX 1.23 (not 1.23.1, which you are currently using). See if that solves the rest of your problem.

    #26 Feb 21, 2015 at 19:06 UTC - 0 likes

    Nope as i said. essentials is NOT updated to 1.8/1.8.1 it will not work.

    #27 Feb 23, 2015 at 13:44 UTC - 0 likes

    @KnightIndustries: Go

    Post your updated startup log and permissions.yml file for me to look at.

    #28 Mar 16, 2015 at 02:24 UTC - 0 likes

    @Stormbow: Go

    I have yet to find one chat that works with PEX 1.23.1 on bukkitcraft 1.8.1. Can you provide a direct link to the EssentialsChat as everyone I try gives me the same essentials and the config looks nothing like what I have seen posted from your end.

    Last edited Mar 16, 2015 by KreatorB

    Thank You KreatorB

    Visit Us Online: Minecraft Server - iplay.mc-srv.com

    #29 Mar 16, 2015 at 02:48 UTC - 0 likes
    Quote from KreatorB: Go

    @Stormbow: Go

    I have yet to find one chat that works with PEX 1.23.1 on bukkitcraft 1.8.1. Can you provide a direct link to the EssentialsChat as everyone I try gives me the same essentials and the config looks nothing like what I have seen posted from your end.

    for get that the following works - ChatEx - http://www.curse.com/bukkit-plugins/minecraft/chatex

You must login to post a comment. Don't have an account? Register to get one!