Question Towny Help

Discussion in 'Bukkit Help' started by Somefloppyears, Jul 17, 2019.

  1. Offline

    Somefloppyears

    Hello there, I'm setting up towny for my minecraft server, and when I downloaded it I saw that there was townychat. How do I set it up so it will be compatible with pex/essentials chat? So it will be like {townytag} {group} {playername} {msg} (I've used that exact code in the towny config to no avail.)
     
  2. Offline

    timtower Ninja on the waves Moderator

    @Somefloppyears Please post your config.
    And do you have other plugins handling chat?
     
  3. Offline

    Somefloppyears

    Only plugins I have handling chat is Essentials Chat, unless pex counts. Here's my TownyChat config.

    Code:
     channel_formats:
        # This is the format which will be used for GLOBAL chat/channels.
        # This is also the format used when you have modify_chat.enable: true, but use other plugins to handle chat.
        global: '{townytag} {group} {playername} {msg}'
        # TOWN channel types.
        town: '{group} {playername} {msg}'
        # NATION channel types.
        nation: '{townytag} {group} {playername} {msg}'
        # DEFAULT channel types.
        default: '{townytag} {group} {playername} {msg}'
     
  4. Offline

    timtower Ninja on the waves Moderator

  5. Offline

    Somefloppyears

    This is the part under it:
    Code:
    tag_formats:
          world: '&f[&f%s&f] '
          town: '&f[&3%s&f] '
          nation: '&f[&e%s&f] '
          # First %s is the nation tag, second is the town tag.
          both: '&f[&6%s&f|&3%s&f] '
      
        # Chat colours
      colour:
        king: '&f'
        mayor: '&f'
        resident: '&f'
    
      #modify_chat:
        # This is used for when you don't have another plugin to format chat.
        # or you want some other plugin to handle open chat, but want Towny formatting.
        # It will cause Towny to overwrite any other plugins alterations to the format.
        enable: 'true'
        # If true the chat formats will be read from below to allow per world formatting.
        # These can then be altered individually.
        per_world: 'false'
        # If true any player who speaks in a channel in which he cannot be heard,
        # either by being along in the channel or out-of-range of another player in his chat channel,
        # that player will see a message saying they cannot be heard.
        alone_message: 'false'
        # This allows you to set your alone message.
        alone_message_string: 'No one in range can hear you or you are alone in this channel.'
      #worlds:
        'world_the_end':
          global: '{townytag} {group} {playername} {msg}'
          town: '{group} {playername} {msg}'
          nation: '{townytag} {group} {playername} {msg}'
          default: '{townytag} {group} {playername} {msg}'
        'world':
          global: '{townytag} {group} {playername} {msg}'
          town: '{group} {playername} {msg}'
          nation: '{townytag} {group} {playername} {msg}'
          default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
        'world_nether':
          global: '{townytag} {group} {playername} {msg}'
          town: '{group} {playername} {msg}'
          nation: '{townytag} {group} {playername} {msg}'
          default: '{townytag} {group} {playername} {msg}'
    
    When I take off the hashtag from modify_chat, it looks like this. https://cdn.discordapp.com/attachments/464125737180332033/601096695509417995/brokenowner.PNG
    When the hashtag is there, it's normal, like this. https://cdn.discordapp.com/attachments/464125737180332033/601096741135187987/owner.PNG
    One thing I'm confused on is why even when I enable the modify chat thing, the town and nation thing won't show? Im in a town called test and a nation called test.
    Basically I just want the format to be [Nation][Town] [Admin] Bob: Hello! or [Nation|Town] [Admin] Bob: Hello! For the second one, I believe it would be {townytag} {group} {modplayername} or just {playername} and then {msg} I want everything to be set up as I currently have it with essentialschat, just with the exception of the towny/nation tag being before the rank.
     
    Last edited: Jul 17, 2019
  6. Offline

    Somefloppyears

Share This Page