Need a plugin: Chat world prefix....

Discussion in 'Bukkit Help' started by hostiile, Jan 21, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    hostiile

    I'm running a server with about 7 maps. I'm still using iChat, and I need a plugin that will allow me to change the world prefix to another name. Say, for instance, the raw map name is adventure2. I would like to set that name to Fallout in the chat. When I use +world, it just says adventure2 and looks bad. I'm been looking for a plugin for this all day.
     
  2. Offline

    chaseoes

    What plugin do you use to handle your multiple worlds?
     
  3. Offline

    hostiile

    Sorry. I use Multiverse.
     
  4. Offline

    chaseoes

    As far as I know Multiverse has a built in feature to have world prefixes. Check your worlds.yml for the option. You could also change the color/name of that prefix by giving your world an alias name.

    You could also just rename your worlds to have the prefix you want.

    I actually give my worlds different prefixes by using iChat and adding a prefix in front of the normal prefix for different worlds etc., if you're interested in that I could show you an example of how I set up my config to do it.
     
  5. Offline

    hostiile

    If you could show me your config that'd be awesome. Thanks.
     
  6. Offline

    chaseoes

    variables.yml:
    Code:
    # iChat Variable Config
    # This is now the only method for defining variables
    users:
      chaseoes:
        prefix: '[&eOwner] '
        suffix: '&4'
    groups:
      Admins:
        prefix: '[&cAdmin&7] '
        suffix: '&4'
      Default:
        prefix: '[Guest] '
        suffix: '&2'
    PVP:
      groups:
        Admins:
          prefix: '[&aPVP&7] [&cAdmin&7] '
          suffix: '&4'
        Default:
          prefix: '[&aPVP&7] [Guest] '
          suffix: '&2'
      users:
        chaseoes:
          prefix: '[&aPVP&7] [&eOwner] '
          suffix: '&4'
    
    config.yml:
    Code:
    handle-me: true
    date-format: HH:mm:ss
    message-format: '+iname&7: &f+message'
    me-format: '* +name +message'
    iname-format: '&7+prefix+suffix+displayname'
    
    If you look closely, I just copied my regular groups config down to the worlds section, "PVP" being the name of my PVP world and just added another prefix in front of the existing one. You can keep doing that for each world you want to have a different prefix.
     
  7. Offline

    hostiile

    Show Spoiler


    I followed your model, but it's not doing anything.

    variables.yml
    Code:
    # iChat Variable Config
    # This is now the only method for defining variables
    users:
        Drakia:
            prefix: ''
            suffix: '&1'
    groups:
        owner:
            name: Owner
            prefix: '&cOwner&f'
            suffix: ''
        admin:
            name: Admin
            prefix: '&cAdmin&f'
            suffix: ''
        default:
            name: Guest
            prefix: ''
            suffix: ''
        moderator:
            name: Moderator
            prefix: '&bMod&f'
            suffix: ''
        builder:
            name: Builder
            prefix: '&bBuilder&f'
            suffix: ''
    Normal:
      groups:
        owner:
            name: Owner
            prefix: '&f[&4Creative&f]&cOwner&f'
            suffix: ''
        admin:
            name: Admin
            prefix: '&f[&4Creative&f]&cAdmin&f'
            suffix: ''
        default:
            name: Guest
            prefix: '&f[&4Creative&f]'
            suffix: ''
        moderator:
            name: Moderator
            prefix: '&f[&4Creative&f]&bMod&f'
            suffix: ''
        builder:
            name: Builder
            prefix: '&f[&4Creative&f]&bBuilder&f'
            suffix: ''
    config.yml
    Code:
    handle-me: true
    date-format: HH:mm:ss
    message-format: '+iname: +message'
    me-format: '* +name +message'
    iname-format: '[+prefix+suffix&f] +displayname'
    
    Nothing happens ingame.
     
  8. Offline

    chaseoes

    Nothing happens? As in the per-world prefix isn't working.. or none of them are? Make sure you have the latest version of iChat (2.4.5). Do /version iChat in the game to find your version.
     
  9. Offline

    SBHouse

    I use the latest AB of Multiverse and it does this for me already. But I do not use iChat.
     
  10. Offline

    chaseoes

    That's what I originally suggested.
     
  11. Offline

    hostiile

    Can you upload your iChat.jar to Mediafire or somewhere? I updated to the latest version of iChat and it's completely messed up.
     
  12. Offline

    chaseoes

    You can find it here. Then try using the configs you posted above. One thing though, remove the "name" lines from your groups etc., I'm not sure what that's for, but it's not required in this version as long as your group names are the same as they are with your permissions plugin.
     
Thread Status:
Not open for further replies.

Share This Page