Inactive [CHAT] ChannelChat v0.6 beta - Dynamic, LightWeight, Simple Chat Channels [1.1-R1]

Discussion in 'Inactive/Unsupported Plugins' started by feildmaster, Sep 20, 2011.

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

    feildmaster Retired Staff

    ChannelChat v0.6 beta
    Dynamic, Light Weight, Simple Chat Channels​

    Features:
    Look at the ProjectPage.

    Tag Examples (open)
    Base format: <name> message
    Channel will be "Global" to keep it simple

    no tag: [Global] <name> message

    tag '[g]': [g] <name> message

    tag 'g': g <name> message

    Using Colors:

    tag '`1g': g <name> message

    tag '`1[g]': [g] <name> message

    tag '[`1g`f]': [g] <name> message

    Using Factions:
    no tag: [faction Global] <name> message

    tag '[g][{FACTION}]': [g][faction tag here] <name> message

    "Secret" World Tag:
    tag: '{world}': [WorldNameHere] <name> message
     
    afistofirony, Zynastor and CubieX like this.
  2. Offline

    ProjectInfinity

    In my honest opinion that is not a real issue. Maybe just have a channel that cannot be joined if you do not have the node then, the user can then specify in their configs.yml. Then if the user does not have the node required to join it simply skips it. That might be easier.

    Or would craftbukkit's permission system cause trouble?
     
  3. Offline

    feildmaster Retired Staff

    That's exactly what I was saying. ;)
     
  4. Offline

    ProjectInfinity

    Darn. Would it be possible to support things like PEX and bPermissions first and then later add BukkitPermissions?

    The only major thing I can put my finger on right now is the lack of a proper way to have a staff channel. Otherwise this is just what I needed (when counting stuff you have planned out, like disable join/leave messages).
     
  5. Offline

    feildmaster Retired Staff

    @ProjectInfinity : I'll never support anything other than straight BukkitPermissions; in any case, it's later on the list.

    Right now I'm focusing on revamping the channel system. I think I have a good layout planned. :)
     
    Bradley Hilton likes this.
  6. Offline

    CubieX

    Is is possible to use colors for each channel AND also colors in prefixes for the group and name of players?

    I'm using ChannelChat and iChat for that, but I can't get it to work properly.
    The groups and names are colored like it is defined in the iChat config, and the channel tag from ChannelChat shows up in front of the users name.
    So far so good.
    But the message color is not choosable while using those two Plugins together, or is there a way?
    It seems like the prefix colors override the color code for the channel tag, so all I get is a white message color.
    HeroChat had a "color"-option for each channel to select the message color, regardless of the color codes used in the pefixes of the groups config.
    In fact, the color codes do not work for me entirely.
    Using '`7[`el`7]' does not give me a yellow "l" tag for the local chat.

    A second problem I encountered:
    There are 5 channels predefined in the channels.yml
    But whenever I restart my server and use "/cc l" oder "/cc g" to switch the active channel, I get the message "l created" or "g created" as if this channel would not exist until then.
    At the second use of /cc l it properly says "now talking in l"
    And for me, even a member or moderator wihtout any permissions fpr it, can create channels via the /cc CHANNEL command.
    Why is that?

    (I'm using PermissionsEx with has a bridge module for Permissions 2.7)
     
  7. Offline

    ProjectInfinity

    If you have a working Local chat tag, then lucky you. Mine doesn't, nor does World. So it's very hard to differentiate between local and world chat.

    I can also confirm that people without permission can create channels. Please fix. :) Using PEX 1.15 with legacy permissions bridge like described above.
     
  8. Offline

    feildmaster Retired Staff

    @CubieX and @ProjectInfinity Creating Channels defaults to True for everyone, you have to explicitly set it to false. (Easiest way, is editing plugin.yml in the jar) I have plans to move this to the config... or possibly limiting it through the config.

    Your channels.yml please. I'll give colors a bit more testing as well... Once I fix the system. xD

    Does the bridge have a module for SuperPerms?
     
  9. Offline

    ProjectInfinity

    PEX Supports SuperPerms alright.

    Bukkit Permissions (SuperPerms) compatible.
    as stated in their wiki. Meaning, this is the only plugin I have (out of about 37 plugins) that I am incapable of controlling from PEX.
    edit: I believe disable-unmatched: false might have something to do with it, I'm still looking for more information on this superperms option.

    By the way, some of my users cannot comprehend that your plugin does not use the /ch command (officially anyway). Could you either fix this or remove it from listening to /ch ?
    Code:
    2011-10-16 21:09:25 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ch' in plugin ChannelChat v0.3 beta
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
        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:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.UnsupportedOperationException: Not supported yet.
        at feildmaster.ChanChat.Commands.AdminCommand.onCommand(AdminCommand.java:8)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
    RB #1317. This is the only problem, all commands work fine otherwise.
     
    Bradley Hilton likes this.
  10. Offline

    feildmaster Retired Staff

    Ooops... I uploaded the wrong plugin.yml.

    Remove the aliases from command "channel-admin" and do a hard reload, should work...
     
  11. Offline

    Kainzo

    Not to hi-jack but there are builds floating around that allow for the craftirc3 support.
     
  12. Offline

    feildmaster Retired Staff

    Yeah... But instead of a "floating around" build. This plugin has much more potential than what HeroChat could ever have. :p AND doesn't need to "add support."
     
  13. Offline

    Kainzo

    Good luck with your plugin :)
     
  14. Offline

    feildmaster Retired Staff

    You too. :p
     
  15. Offline

    CubieX

    Yes, PEX does have SuperPerms support.

    My channels.yml
    Code:
    # ChannelName: #No spaces
    #    listed: #true/false
    #    range: # For local chats
    #    tag: #Channel Tag
    #    owner: #Owner Name
    #    auto_join: #true/false
    #    type: #Global/Local/World
    #    password: #Channel Password
    g:
        listed: true
        range: 0
        tag: '[G]'
        owner:
        auto_join: true
        type: Global
        password:
    l:
        listed: true
        range: 100
        tag: '[`eL`7]`e'
        owner:
        auto_join: true
        type: Local
        password:
    h:
        listed: true
        range: 0
        tag: '[`bH`7]`b'
        owner:
        auto_join: true
        type: Global
        password:
    s:
        listed: false
        range: 0
        tag: '[`as`7]`a'
        owner:
        auto_join: false
        type: Global
        password: creeper
    w:
        listed: false
        range: 0
        tag: '{World}`9'
        owner:
        auto_join: false
        type: World
        password:
    
    Hm ok, after setting the default for the chanchat.create to "op" and insertig a default: op to chanchat.all in the plugin.yml it works when switching channels.

    4 things should be improved:

    1. the channel tag for local channels is broken though
    2. there should be a parameter to choose the text color for each channel
    3. having an alias for each channel would be nice. So we would not have to call channels just "h" or "l" in the channels.yml
    4. when using "/cc join CHANNEL" for a channel that does not exist, a new channel is created, even if a normal user without permissions does it.
     
  16. Offline

    feildmaster Retired Staff

    Will be fixed next update. I have already updated the system... :)
    Hmm... Not too sure about this one. Text colors are hard to read and should stay white. But if enough people want it I'll add it. The channel system is pretty dynamic, and easy to add features to.
    The permissions bridge for pex is slightly broken, give your users a negative permission for ChannelChat.create
     
  17. Offline

    CubieX

    Tried that, but didn't work for me. (tried - -ChanChat.create and - -ChannelChat.create)

    As soon as these permisson bugs are fixed, I will give this plugin a try on our Server.
    But choosing colors for chat channels would definitely be nice, as we also used them with HeroChat. ;)
    Let people recognize your plugin as better choice for the broken HeroChat. Because there is currently no other alternative in sight and people are starving for something like this.
     
  18. Offline

    feildmaster Retired Staff

    @CubieX : People actually used colors for channel text?
     
  19. Offline

    ProjectInfinity

    I tested this for a long time to find out how to do it. Turns out a negative permissions is required when using PEX, the following is exactly what you need
    Code:
    -ChanChat.create
    Confirmed on my server. :)

    PS: Remember that if anyone inherits the group you give this negative permission to, they won't be able to create channels either.
     
  20. Offline

    CubieX

    @ProjectInfinity
    Does not work for me....
    I'm using PEX 1.14 on Bukkit 1185

    My permissions.yml:

    Code:
    users:
        CubieX:
            group:
            - Moderator
    groups:
        Gast:
            default: true
            prefix: '&7[Gast]'
            permissions:
            - essentials.list
            - essentials.msg
            - essentials.rules
            - essentials.spawn
            - modifyworld.chat.*
            options:
                rank: '100'
        Member:
            prefix: '&2'
            permissions:
            - modifyworld.*
            - ChestShop.command.iteminfo
            - ChestShop.shop.buy
            - ChestShop.shop.create
            - ChestShop.shop.sell
            - essentials.sethome
            - essentials.home
            - essentials.msg
            - essentials.mail
            - essentials.signs.use.disposal
            - essentials.signs.use.free
            - essentials.signs.use.heal
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.back.*
            - iConomy.user
            - lwc.create
            - lwc.flag.redstone
            - lwc.info
            - lwc.modify
            - lwc.remove
            - lwc.unlock
            - mywarp.warp.basic.*
            - mywarp.warp.sign.warp
            - -ChanChat.create
            inheritance:
            - Gast
            options:
                rank: '95'
        Trusted:
            prefix: '&9[Trusted]'
            permissions:
            - essentials.tpa
            - essentials.tpahere
            inheritance:
            - Member
            options:
                rank: '90'
        Moderator:
            prefix: '&3[Mod]'
            permissions:
            - essentials.afk
            - essentials.ban
            - essentials.broadcast
            - essentials.essentials
            - essentials.ext
            - essentials.invsee
            - essentials.kick
            - essentials.realname
            - essentials.seen
            - essentials.signs.break.disposal
            - essentials.signs.create.disposal
            - essentials.signs.use.time
            - essentials.signs.use.weather
            - essentials.tempban
            - essentials.time
            - essentials.top
            - essentials.tp
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpahere
            - essentials.tpdeny
            - essentials.tphere
            - essentials.tpo
            - essentials.tpohere
            - essentials.tppos
            - essentials.unban
            - essentials.weather
            - iconomy.plus
            - slotgroups.list
            - slotgroups.user.info
            - worldedit.navigation.jumpto
            - worldguard.heal.*
            - worldguard.stack
            - worldguard.locate
            - worldguard.notify
            - worldguard.region.info.*
            - logblock.tools.toolblock
            inheritance:
            - Trusted
            options:
                rank: '80'
        Admin:
            prefix: '&4[Admin]'
            permissions:
            - '*'
    
    Neither members, nor trusted or moderators should be able to create channels.
    But "CubieX" can still make channels using /cc join NEWCHANNELNAME
    If I use "/cc join omg" it says "omg created!" and then I can switch to it using /cc omg

    Well, we did. ^^
    Gray for Global chat, yellow for local chat, cyan for help chat and red for official broadcasts.
    I could live with just the tags beeing colored, but as I said: It would be a nice feature. ;)

    More important than that:
    Someone requested a message that says "No one can hear you!" for the local chat earlier.
    I would higjhly appreciate that too. It's very confusing not to now if there is someone around when using local chat.
    And on large servers, local chat is vital to keep the chat load at a manageable level.
     
  21. Offline

    feildmaster Retired Staff

    it should be added on gast; and "CubieX" is an admin(?) with * node?

    I'll see how I can add it. name+message or just the message? (If name+message, if name has colors it will not color the rest of the message)

    Done.

    Also, try putting "default: false" in the plugin.yml... If pex is still giving you troubles.

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

    CubieX

    No, CubieX is Moderator here. Mods have no '*' permission.

    Moderator should get it inherited by Trusted and Trusted inherited by Member.
    But I also tried it directly in the Moderator group. And I also checked if CubieX is NOT listed in the OP.txt.
    It blocks "/cc create" but by using "/cc join" on a non-existent channel, it's still created.
    default: false did nothing for me.
    No idea what the problem is.

    Channels created by using "/cc join ..." are not persistant, though. But they are accessible until doing a reload or restart. We never created channels in-game. And especcially normal members should not be able to do so. :/

    Normally, colors should only be for the messages. Not the names. Names colors should come from the prefix alone, if you ask me.
     
  23. Offline

    feildmaster Retired Staff

    I'm getting tired of the problems PEX creates... -_-

    That's what I was thinking, just wanted to be sure.
     
  24. Offline

    thernztrom

    Please redirrect me to one. I'd like to test if there is one.
     
  25. Offline

    Trollkemada

    Could you make it compatible with CraftIRC?
     
  26. Offline

    feildmaster Retired Staff

     
  27. Offline

    WhosDaMan

    PEX? I hate their built-in chat :p
     
  28. Offline

    feildmaster Retired Staff

    pex has... a chat...? What?
     
  29. Offline

    ProjectInfinity

    ChatManager.
     
  30. Offline

    Salax

    Just switched to this because HeroChat didn't support OKB3's nickname format. Really liking it so far.
     
  31. Offline

    feildmaster Retired Staff

    I like links.

    Thank you.

    EDIT IN:

    Now.
    What exactly do you mean by this? :p
     
Thread Status:
Not open for further replies.

Share This Page