[CHAT] mChannel - Channel plugin for use with mChat [1597]

Discussion in 'WIP and Development Status' started by MiracleM4n, Aug 15, 2011.

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

    gameswereus

    EDIT:
    Wow you are an a$$ <---- this was about captian
     
  2. Offline

    MiracleM4n

    @gameswereus I think He/She was talking to captainawesome7
     
  3. Offline

    feildmaster

    It's he. And sorry so many unrelated posts are going your way man.
     
  4. Offline

    vapid2323

    Quick question,

    I need to have a channel that the default usergroup connects to when they join. This channel can only be viewed while they are applying to my server. This helps me prevent spam from random people showing up on the main chat.

    After they are accepted on my server and I change the permissions group they should now have access to the main global channel and not the default one.

    I have setup my permissions as such:
    Code:
    groups:
        default:
            permissions:
                mchannel.join.Nomad: true
                mchat.prefix.Everyone: true
                mchat.suffix.Everyone: true
                permissions.build: false
        Regulars:
            permissions:
                mchannel.join.Global: true
                mchannel.join.Local: true
                mchannel.join.Nomad: false
                mchat.prefix.Regulars: true
                mchat.suffix.Regulars: true
                mchat.prefix.default: false
                mchat.suffix.default: false
                permissions.build: true
            inheritance:
            - default
    
    But they still seem to be able to chat in nomad even after getting access to the Regulars group.
     
  5. Offline

    MiracleM4n

    @vapid2323 Make sure to set the channel you want them to join when they first start as default: true and the current default channel as default: false
     
  6. Offline

    captainawesome7

    Haha you should have seen it before I put it in my project thread, it was probably as messy as a plugin could possibly be while still working xD
     
  7. Offline

    vapid2323

    I believe thats the setup I have, I will play around with it.

    Code:
    # mChannel configuration file
    
    mchannel:
        Global:
            default: 'false'
            distance: '0'
            tag: '&e[G]'
            type: Global
        Local:
            default: 'false'
            distance: '60'
            tag: '&e[L]'
            type: Local
        Staff:
            default: 'false'
            distance: '0'
            tag: '&e[S]'
            type: Private
        Nomad:
            default: 'true'
            distance: '0'
            tag: '&e[N]'
            type: Global
     
  8. Offline

    mutiny

    so im getting this everytime someone uses local chat, not gonna work if this keeps happening, it dumps people out of local and into a non channel....
    Code:
    java.lang.IllegalArgumentException: Cannot measure distance between worlds or to null
            at org.bukkit.Location.distance(Location.java:327)
            at net.D3GN.MiracleM4n.mChannel.MPlayerListener.onPlayerChat(MPlayerListener.java:35)
            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:435)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    
    cant run server like this, 100+ people...
     
  9. Offline

    MiracleM4n

    Ah IC what is going on if the channel is set to default it overrides all permissions nodes. I will work on this tonight when I work on adding an actual config (the existing "config.yml" will be renamed so be warned of this next time I say I have updated it)
     
  10. Offline

    mutiny

    thanks for reply, godspeed...
     
  11. Offline

    MiracleM4n

    @mutiny There was a else if I accidentally put as if. I will fix this as soon as I have a chance. (currently at work on my phone)
     
  12. Offline

    mutiny

    went back to herochat for the timebeing, dying to switch however 8^)
     
  13. Offline

    MiracleM4n

    *Small update* -adding passworded channels and fixing Local chat MultiWorld support

    PS: I was really tired tonight and didnt get much done. I will get the rest done tomorrow night including adding a locale, reformatting commands, and fixing @vapid2323 's problems.
     
  14. Offline

    gameswereus

    Sorry I didn't get the video up yet. My server had a lot of problems when I upgraded to RB 1060.
     
  15. Offline

    MiracleM4n

    @gameswereus Dont worry you are doing this as a favour so deal with any of your own problems before doing this. Also if I werent so damn lazy id make a video myself :p
     
  16. Offline

    Bob-Kyle

    Could you make it so we can only see the chat in the channel we're in -without- it not coming up in the console?

    The whole reason I installed channels on my server was to separate the mass amounts of new players chat and also give admins a place to talk privately, however the only way I've found to enable that with mChannel is by setting it all to private, which hides it from the console as well which kind of renders my server logs pointless.
     
  17. Offline

    MisanthropX

    Ok I abandoned Herochat and all other localchat plugins because they do not support prefixes with the new superperms.

    However.

    I get severe errors when running the plugin with every single chat line.

    I guess someone reportet this before.

    This plugin is really essential for my server :/
    I would like to see a bug fix soon, sir @MiracleM4n

    I use the default config files, just with mchannel changed local to default:true
    By the way: I tried both: bukkit 1000 and 1060.
    But get same errors with both versions,

    Thanks in advance!!
     
  18. Offline

    MiracleM4n

    @MisanthropX going home for lunch now ill takee a look.

    @MisanthropX Found the error I was placing the default distance values as Strings not integers. To fix it go into the config and remove all the single quotes from around the Distance values.

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

    MisanthropX

    aweeesome!!

    thanks a lot!

    Just one more thing.
    If it is not already possible with the prefix/suffix thing in mchat.


    there is a so called "tag" in the config.

    tag: '&eLocal'

    I would like to use several local chat distances to be able to speak,whisper and also shout.

    A configurable suffix would be nice because then I can do this:

    Misan shouts: Hey whats up there!?
    @MiracleM4n whispers: not so loud! they will find and kill us!

    Thanks again for the fast support, *adding dev to favourite plugin devs*
     
  20. Offline

    MiracleM4n

    MisanthropX Hmm I will work on this :D I will have to make mChat tie into the mChannel. I will do this after I get off work I am shortly going back so wont have a chance as of yet.
     
  21. Offline

    kahlilnc

    Can you shorten the commands down? Maybe /mch?
     
  22. Offline

    MiracleM4n

    @kahlilnc I was thinking this might conflict with mchat (-t).
     
  23. Offline

    kahlilnc

    MMmmmm
     
  24. Offline

    GmK

    @MiracleM4n

    Coming from HeroChat, I wonder if you can be in multiple channels at once, so you listen to local and global, and select a focus into which channel you speak?
     
  25. Offline

    MisanthropX

    Ok @MiracleM4n .
    I am pretty disappointed with the plugin.

    I tried to update to 1060 today. but it failed totally.
    everybody was able to hear everyone.. the "user joined X local channel" message was spammed around the whole server.. I thought this would be just a private message but it is not!
    this is the config:

    Code:
    
    mchannel:
        r:
            default: 'true'
            distance: 18
            tag: '&eLocal'
            type: Local
        s:
            default: 'false'
            distance: 35
            tag: '&eLocal'
            type: Local
        f:
            default: 'false'
            distance: 3
            tag: '&eLocal'
            type: Local
    
    

    However.. everyone was able to hear everyone.

    I have no idea what is wrong :/
     
  26. Offline

    MiracleM4n

    MisanthropX I am sorry you are upset but as stated this plugin is in dev. Any bugs you have could you kindly report. Removong the user has joined x channel is at the top iof the list next to command restructuring and additional features. Please be aware once again that this is indev. Thanks for your understanding (hopefully you understand my ramblongs on...:p)
     
  27. Offline

    MisanthropX

    Well I hope you fix that soon.
    Of course I am just the stupid user of the plugin and I can't sue you :p

    However.
    Thanks for the plugin so far and I just can wait for future updates.

    Mchat/channel is actually the heart of our server (or lets say local chat plugins) but as I read: many people switch to mchat so youre doing a good job so far.


    Thanks
     
  28. Offline

    Tealk

    can you please add single channel formate like:
    Chunk:
    default: 'false'
    distance: 5
    tag: '&eChunk'
    type: Chunk
    message-format: '+<custVar>+prefix+group+suffix+name&f: +message'
    Global:
    default: 'true'
    distance: 0
    tag: '&eGlobal'
    type: Global
    message-format: '+<custVar>+prefix+group+suffix+name&f: +message'
     
  29. Offline

    MiracleM4n

    Huge update coming soon. Please post here what you want included.

    @MisanthropX Please PM me so I can give you a pre-release (And anyone else for that matter).

    Currently what I have included is:
    • Permissions based default channel.
    • Easier commands for creation/editing of channels.
    • (Hopeful) CraftIRC 3 support.
    • (Hopefully Better Working) Factions support.
    • Making the (Now Global) default channel a Boolean value.
    • Changed config.yml to channels.yml
    • Added a NEW config.yml for global Channel joining message (More to come).
    • More API methods.
    • ......
    To come:
    • Shout/Whisper.
    • Channel Prefix/Suffix.
    • Coloured Chat messages.
    • Better formatting of creation/editing of channels.
    • OFFER MORE??????? Like OMG?????

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

    Tealk

Thread Status:
Not open for further replies.

Share This Page