Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Inactive PureChat v1.4.0

Provides custom chat formats based on PurePerms groups for your server.

  1. Legoboy0215
    Offline

    Legoboy0215 Notable Member

    Joined:
    Nov 1, 2014
    Posts:
    1,724
    Minecraft User:
    Legoboy0215
    It was added already... lol. But it bugged, now it does not.
  2. asyven
    Offline

    asyven New Member

    Joined:
    Jan 17, 2015
    Posts:
    29
    Minecraft User:
    asyven
    PHP:
    if($this->factionsPro != null)
            {
                if(!
    $this->factionsPro->isInFaction($player->getName()))
                {           
                    
    $nameTag str_replace("{faction}""..."$nameTag);
                }

                if(
    $this->factionsPro->isLeader($player->getName()))
                {
                    
    $nameTag str_replace("{faction}""**" $this->factionsPro->getPlayerFaction($player->getName()), $nameTag);
                }
                if(
    $this->factionsPro->isOfficer($player->getName()))
                {
                    
    $nameTag str_replace("{faction}""*" $this->factionsPro->getPlayerFaction($player->getName()), $nameTag);
                }
                else
                {
                    
    $nameTag str_replace("{faction}"" " $this->factionsPro->getPlayerFaction($player->getName()), $nameTag);
                }
            }
    fix code
    got it
    64FF00 likes this.
  3. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    I got it. That was just because of the default builtin factionspro nametag support
    Legoboy0215 likes this.
  4. lucasvitegui
    Offline

    lucasvitegui Active Member

    Joined:
    Apr 18, 2015
    Posts:
    191
    Minecraft User:
    lucasviteguiBR
    Hi, i downloaded the plugin, but ranks didn't apeear...

    Attached Files:

    64FF00 likes this.
  5. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    Can I take a look at your PureChat config.yml
  6. lucasvitegui
    Offline

    lucasvitegui Active Member

    Joined:
    Apr 18, 2015
    Posts:
    191
    Minecraft User:
    lucasviteguiBR
    Any change from original

    # PureChat by 64FF00 ([email protected], @64FF00 for Twitter)

    ---
    # Allows you to use per-world chat formats + per-world nametags
    # - true / false
    enable-multiworld-support: false

    # A list of all PurePerms groups
    groups:
    Guest:
    # Default tags: {world_name}, {display_name}, {user_name}, {message}
    # Also remember that you can also use {faction} tag if you have FactionsPro plugin installed!

    # New feature added in v1.2.4 - Colors!
    # RE:eek: {COLOR_RED}, GREEN: {COLOR_GREEN}, BLUE: {COLOR_BLUE}, LIGHT_PURPLE: {COLOR_LIGHT_PURPLE}, and so on...
    # BOL:eek: {FORMAT_BOLD}, STRIKETHROUGH: {FORMAT_STRIKETHROUGH}, UNDERLINE: {FORMAT_UNDERLINE}, ITALIC: {FORMAT_ITALIC}
    # RESET: {FORMAT_RESET}

    # You might also need to set 'pchat.colored' permission node to your players if you want to allow them to use colored chat and nametags
    default-chat: "{COLOR_YELLOW}{FORMAT_BOLD}[Guest]{COLOR_WHITE}{FORMAT_RESET} {display_name} {COLOR_GRAY}> {message}"

    # Almost all of the tags can be applied to nametag formats except {message} tag
    default-nametag: "{COLOR_YELLOW}{FORMAT_BOLD}[Guest]{COLOR_WHITE}{FORMAT_RESET} {display_name} {COLOR_GRAY}"
    worlds: []
    Admin:
    default-chat: "{COLOR_AQUA}{FORMAT_BOLD}[Admin]{COLOR_WHITE}{FORMAT_RESET} {display_name} {COLOR_GRAY}> {message}"
    default-nametag: "{COLOR_AQUA}{FORMAT_BOLD}[Admin]{COLOR_WHITE}{FORMAT_RESET} {display_name} {COLOR_GRAY}"
    worlds: []
    Owner:
    default-chat: "{COLOR_BLUE}{FORMAT_BOLD}[Owner]{COLOR_WHITE}{FORMAT_RESET} {display_name} {COLOR_GRAY}> {message}"
    default-nametag: "{COLOR_BLUE}{FORMAT_BOLD}[Owner]{COLOR_WHITE}{FORMAT_RESET} {display_name} {COLOR_GRAY}"
    worlds: []
    OP:
    default-chat: "{COLOR_GREEN}{FORMAT_BOLD}[OP]{COLOR_WHITE}{FORMAT_RESET} {display_name} {COLOR_GRAY}> {message}"
    default-nametag: "{COLOR_BLUE}{FORMAT_BOLD}[Owner]{COLOR_WHITE}{FORMAT_RESET} {display_name} {COLOR_GRAY}"
    worlds: []
    ...
  7. lucasvitegui
    Offline

    lucasvitegui Active Member

    Joined:
    Apr 18, 2015
    Posts:
    191
    Minecraft User:
    lucasviteguiBR
    Thank you so much. After this update Ranks is being showed :)
    But how do i change the default nametag for new players ? "Guest" for "Visitante"
    64FF00 likes this.
  8. lucasvitegui
    Offline

    lucasvitegui Active Member

    Joined:
    Apr 18, 2015
    Posts:
    191
    Minecraft User:
    lucasviteguiBR
  9. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    It's easy. You just need to create a new rank on PurePerms, copy default chat and nametag formats and rename it to "Visitante" on PureChat config
  10. lucasvitegui
    Offline

    lucasvitegui Active Member

    Joined:
    Apr 18, 2015
    Posts:
    191
    Minecraft User:
    lucasviteguiBR
    could you tell me whats wrong here ?
    I added the rank CoOwner, But i got an error...
    ----> https://www.sendspace.com/file/5p3df4
  11. Bash
    Offline

    Bash New Member

    Joined:
    Nov 13, 2014
    Posts:
    1
    Minecraft User:
    xBashJPMx
    I got the same problem here
  12. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    Can you change the [SERVER] and [CONSOLE] and plugin outputs? Would be a cool feature!
  13. XxD7omGamer
    Offline

    XxD7omGamer New Member

    Joined:
    Jun 28, 2015
    Posts:
    38
    Minecraft User:
    XxD7omGamer
    My server say
    Server thread/WARNING RuntimeException: "yaml_parse(): scanning error encountered during parsing: did not find expected alphabetic or numeric character (line 83, column 4), context while scanning an anchor (line 83, column 1)" (E_WARNING) in "/src/pocketmine/utils/Config" at line 143
    28.07 21:31:05 [Server] Server thread/CRITICAL "Could not pass event 'pocketmine\event\player\PlayerChatEvent' to 'PureChat v1.2.8': yaml_parse(): scanning error encountered during parsing: did not find expected alphabetic or numeric character (line 83, column 4), context while scanning an anchor (line 83, column 1) on _64FF00\PureChat\ChatListener
    the plugin PurePerms and PureChat is daisble
    sorry for english nad =}
    64FF00 likes this.
  14. rock2rap
    Offline

    rock2rap New Member

    Joined:
    Aug 23, 2013
    Posts:
    48
    Minecraft User:
    Williams
    I Love this Plugin!an
    Request feature add Faction Color on Nametag
  15. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    Try using an online yaml parser (http://yaml-online-parser.appspot.com/) to check your errors in your config file. All you need to do is just copy + paste your config.yml data to the yaml parser site.
  16. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    64FF00 updated PureChat with a new update entry:

    PureChat v1.2.9

    Read the rest of this update entry...
  17. BobbyTowers
    Offline

    BobbyTowers Active Member

    Joined:
    Jun 4, 2015
    Posts:
    41
    Minecraft User:
    BobbyTowers
    The color for the ranks over the players head is not working with v1.2.9 and v1.2.8 They work fine with v1.2.7 Chat works fine on all three.
  18. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    64FF00 updated PureChat with a new update entry:

    PureChat v1.3.0

    Read the rest of this update entry...
  19. BobbyTowers
    Offline

    BobbyTowers Active Member

    Joined:
    Jun 4, 2015
    Posts:
    41
    Minecraft User:
    BobbyTowers
    Color name tags still dont work and yes I set the permissions. I tried all four. Still using v1.2.7 :(
    - pchat.colored
    - pchat.colored.chat
    - pchat.colored.format
    - pchat.colored.nametag

    Screenshot_2015-08-24-16-20-01[1].png
  20. GuddaJ
    Offline

    GuddaJ New Member

    Joined:
    Aug 18, 2015
    Posts:
    47
    Minecraft User:
    YoungRichNigger9
    I dont know how to set this look what happend when i downloaded it can somebody do a step by step guid please it well be usefull

    Attached Files:

Share This Page

Advertisement