[CHAT] bChat 1.0 - a chat plugin for use with bInfo [1000]

Discussion in 'Inactive/Unsupported Plugins' started by codename_B, Aug 2, 2011.

  1. Offline

    codename_B

    LOOK ON dev.bukkit.org FOR UPDATES
     
  2. Offline

    ACallander

    I currently use bInfo and bPermissions, will bChat allow chat rooms? like region specific like HeroChat w/ channel chat.
     
  3. Offline

    ACallander

    Is there a way I can give certain users different colors for there names? Like donor users.
     
  4. Offline

    Chumper

    Hey, one question for bChat:

    Now that there are Multigroups in bPermissions, how does bChat knows, which permissionnode it has to take.

    For example we have two groups:

    guest with basic permissions
    admin with more permissions

    both have a colornode color.guest and color.admin

    The User Player has both usergroups, so witch colornode will be picked?

    At the moment the guestnode is picked on my server
     
  5. Offline

    codename_B

    bChat always goes for the highest priority node from bInfo (the higher up the file it is the higher priority it is)
     
  6. Offline

    Chumper

    Thanks, so i will build up the file with admins on the top and guests on the bottom of the file.
     
  7. Offline

    codename_B

    Thats how I've got it and it works fine :D
     
  8. Offline

    VanillaSnack

    Hmm i tried to add a Prexif but somehow I just get [] Name .....

    prefix: '%GREEN%Builder%WHITE%'

    something wrong ??
     
  9. Offline

    codename_B

    Permission node.
     
  10. Offline

    VanillaSnack

    I made myself op ... BUT.....

    Code:
    VanillaSnack:
        - Admin
    Code:
     Admin:
        - color.admin
        
    Code:
    Admin:
        prefix: '%RED%Admin'
        suffix: ''
        node: color.admin[/color]
    
    Why do I have no Prefix now ?
     
  11. Offline

    codename_B

    Chat format?
     
  12. Offline

    DivineKyuuji

    Is it possible to change the color of each persons name individually? I can put colors in the format before the name but that's for everyone. And I tried adding a name line in the info file like how there's a prefix and suffix line but that doesn't work the name is still white. So how would I go about changing the color of peoples names individually?
     
  13. Offline

    VanillaSnack

    I just deleted the Suffix from the Chat Format ... everything else is original...
     
  14. Offline

    codename_B

    Color each name individually? That'd probably be a different chat plugin, this is per group.
     
  15. Offline

    SniperXPX

    I found a bug. I couldn't find a github or redmine but here it is. If you type a colour variable incorrectly while in-game and in chat, for example %TYPOCOLOR%, the bChat plugin will throw an exception in console:

    18:58:28 [SEVERE] Could not pass event PLAYER_CHAT to bChat
    java.util.UnknownFormatConversionException: Conversion = 'l'
    at org.bukkit.event.player.PlayerChatEvent.setFormat(PlayerChatEvent.java:84)
    at com.ubempire.bananachat.ChatHandler.onPlayerChat(ChatHandler.java:39)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:706)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:436)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:453)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    And when the message is displayed, it is displayed without any formatting. I don't know what the source code is but just use a switch statement for the colour names and a 'Default:' at the end of the statement that will ignore the %var% and just display it as is.

    EDIT: If you have an odd number of %'s in your message, it will throw this error.

    EDIT2: I noticed Spout in the stack trace, maybe there's a conflict?
     
  16. Offline

    IAMWIN

    does this work with 1060 or do we have to wait for it to update
     
  17. Offline

    ultimak

    I noticed this too, but realized i have a pretty out of date spout so I am going to update it to spout 1.0.5]
     
  18. Offline

    stkeroro

    why my chat have the current world before nicks?


    EDIT: its multiverse fucking all the chat, fixed in cofing.yml of multiverse 2.0
     
  19. Offline

    ChewyDinosaur

    bChat config:
    Code:
    format: '[%PREFIX%|%SUFFIX%%WHITE%] %NAME%: %MESSAGE%'
    bInfo player info:
    Code:
    admin:
        prefix: '%RED%ADMIN%WHITE%'
        suffix: '%GREEN%AWESOME'
        node: bInfo.admin
    
    
    I'm using the exact lines from your example screenshot, but this is what I'm ending up with

    [​IMG]
     
  20. Offline

    Boltblaster

    I have the same problem. I gave the * permission to Admin and it doesn't display stuff...
     
  21. Offline

    Celeress

    This is a nice plugin and i got it working and stuff but the problem is that when your using the permission system, just the way its set up, messes everything up. I use btrack to promote/demote easier and the whole "add" a group to the list of groups under the player in the bpermssions config, just seems to mess everything up. If i want to promote someone, it does promote them but it dosen't change there prefix or anything because of the first group in the list. Example: I promote noob1 from member to builder, and the advantages in builder is more commands and a new prefix saying "builder" in blue. But when i promote him he still keeps the "member" prefix in green but is a builder now with all the commands. Then if i try to fix this problem (very simple but annoying) i have to go into the bperms config and make the "builder" group be ontop of the "member" group if i want him to have the "builder" prefix. I dont know if you can change this but maybe change it so when you /promote someone it "adds" the group infront of the previous group, not after, so then it gets the newest groups prefix and everything <_< Other then this, all these plugins work great and i dont have any errors. Its just this annoying thing where i always have to switch the groups spots in the config... Because i always get the people on my server complaining "aw, why am i sitll a member!" and i have to always tell them "you are a builder just let me fix something!"
     
  22. Offline

    BlueMoon

    Got a little question here...

    when I run all of the 3 plugins, I got an error saying that I should uninstall bInfo if I want bPermissions to work correctly... but how can I get prefix/suffix in the game?

    thanks in advance!
     
  23. Offline

    mxm24

    can you add a world varible and the ability to use colored text in the chat like with ichat?

    and a permission for it?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  24. Offline

    xColourTheory

    bInfo is not working with bPermissions,
    Im pretty sure you need bInfo to use bChat
     
  25. Offline

    Tux_Peng

    You can use bChat with bPermission, no bInfo needed
     
  26. Offline

    dotromain

    could this plugin work in Multi-world ?

    Not working on my server :/
     
  27. the % needs to be +
    and look here for more info: http://dev.bukkit.org/server-mods/bchat/


    my problem is that, if someone types: ":\" or anything else with an \, bchat gives errors.
     
  28. Offline

    smexhy

    To me it does not work :(:(:(

    Why? :(:oops::confused:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  29. Offline

    Tux_Peng

    OK, so this is how you use bchat with bpermissions

    DO NOT INSTALL BINFO
    Show Spoiler
    default: default
    players:
    tux_peng:
    - default
    - member
    - super
    - police
    - mod
    - admin
    groups:
    default:
    - prefix.0.%GRAY%Default
    member:
    - prefix.1.%LIGHT_PURPLE%Member
    super:
    - prefix.2.%GREEN%Super
    police:
    - prefix.3.%BLUE%Supercop
    mod:
    - prefix.4.%YELLOW%Mod
    donater:
    - prefix.5.%GOLD%Donater
    admin:
    - prefix.5.%RED%Admin
     
  30. Offline

    TheBeast808

    Doesn't work very well. It would be much nicer if you just worked with the iChat author to make it more compatible.
     
  31. Offline

    WhiteDragon

    I am trying to get the Prefix Admin to show up for admins but I can't seem to get it to work. This is my config.yml
    format: '+PREFIX +NAME: +WHITE+MESSAGE'
    This is my bPermissions world.yml
    when I type in chat all that I get is: WhiteDragon: text here.
    What I am looking for is it to say this: Admin WhiteDragon: text here.
    Any help would be nice.
     

Share This Page