Chat Channels with SimplePrefix support

Discussion in 'Plugin Requests' started by _Hybrid, Jan 4, 2016.

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

    _Hybrid

    Plugin category: Chat

    Suggested name: Channels

    What I want: I know there are awesome plugins that create different chat channels, but I need one that had support for the plugin SimplePrefix (http://dev.bukkit.org/bukkit-plugins/simple-prefix/).
    My chat format is like this: <SPRprefix> <essentialsprefix> <name> <essentialssuffix>
    With any other Chat channels plugin it messes up my chat format :(
    I just need two chat channels: Global, Roleplay. When people use broadcast and /me I would like
    to see it no matter which channel I am in. When I am in global, chat is normal. While in
    roleplay, I want a cyan (&b) [R] tag before the SPR prefix so players know they are in the channel.
    When they switch channels players get a message saying:
    '&3[&bZatcastChat&3] &aYou have switched to the <channelname> channel'
    Whenever they log out they switch back to global

    Ideas for commands:
    /chat roleplay - Switches to roleplay chat.
    /chat global - Switched to global chat.
    /chat reload - reloads plugin

    Ideas for permissions:
    channel.roleplay - access to /chat roleplay
    channel.global - access to /chat global
    channel.reload - access to /chat reload

    When I'd like it by: Within the week :D
     
  2. Offline

    DreamMCNetwork

    I'm sorry, but I don't understand the need for SimplePrefix
     
  3. Offline

    _Hybrid

    @DreamMCNetwork
    I have a Harry Potter server, so the chat goes like this:
    (5)<[G] Hybrid [Mage]>
    The 5 is the simple prefix. It shows which year the player is in. I couldn't add it with essentials prefixes because it is already being used by the House, which is the [G]. Then the suffix is the donor rank.
     
  4. Offline

    _Hybrid

  5. Offline

    _Hybrid

    Bumpity Boop
     
  6. Offline

    _Hybrid

  7. Offline

    _Hybrid

    Bump D:
     
  8. Offline

    _Hybrid

    Bump :/
     
  9. Offline

    _Hybrid

  10. Offline

    _Hybrid

    Bump D:
     
  11. Offline

    Firestar311

    Hello @_Hybrid I have started developing this plugin, and don't worry, Simple Prefix will be specially supported

    EDIT: Is it alright if I add a staff channel as well? I have found that useful on my server
     
  12. Offline

    _Hybrid

    @Jayfeather311
    XD Thank you so much. As you can tell by the amount of bumps, it hasn't been easy finding someone.
    And sure! a Staff channel sounds awesome.
    Thank you :D
    EDIT:
    At the request of my oh so lovely players, could you also add a roast channel?
    Thanks xD
     
    Last edited: Jan 29, 2016
  13. Offline

    _Hybrid

    @Jayfeather311
    Hey, how is the plugin coming along?
    Do you possibly have a ETA when it will be done?
    Thanks :)
     
  14. Offline

    Firestar311

    @_Hybrid Sorry, I was sick Thurday - Tuesday and missed school, I have been trying to catch up with my school work. and Sorry, I do not have an ETA
     
  15. Offline

    _Hybrid

  16. Offline

    _Hybrid

    @Jayfeather311
    Sorry to bother you about it, but I was wondering if you got anywhere with the plugin yet.
     
  17. Offline

    Corndogoz

    If you need any help because of school, I can take over, I've been wanting to do a chat plugin for a while :/
     
    _Hybrid likes this.
  18. Offline

    _Hybrid

    @Corndogoz
    If it is alright with JayFeather, I don't mind.
    He seems pretty wrapped up in his studies atm :/
     
  19. Offline

    Firestar311

    Yes, it is alright with me. I have been away for a while, Sorry about that.
     
  20. Offline

    Corndogoz

    ok :) do you have any code currently? if not, i will make it from scratch :)
    @_Hybrid what channel should players by default be on? this wont take permissions
    EDIT: also, can global only chat in global or also hear the other channels? Can the staff channel hear all channels?
     
    Last edited: Feb 26, 2016
  21. Offline

    _Hybrid

    @Jayfeather311 Don't worry, I know stuff comes up xD


    @Corndogoz Default is global. Only a player in said channel can see chat in said channel.
    Also I made a comment before about a 'roast' channel. You don't have to do that,
    just role-play, global, and staff.
    Thanks :D
     
  22. Offline

    Corndogoz

    wait so is global just like a normal channel like role-play?
     
  23. Offline

    _Hybrid

    @Corndogoz
    Yea they are both normal channels.
    It's just you can only see chat that's going on in your channel.
    You can't see chat in global if you're in role play.
     
  24. Offline

    Corndogoz

    ahhhh ok, on some other chat channels plugin, global is acctually global, i will make it that :)

    EDIT: http://corndog.corticalcafe.com/corndog/plugins/chatChannels/ChatChannels.jar tell me if you have any problems :) i tested it and didnt find any, but simple prefix doesnt give the exact prefix/suffix, hope it works :)
     
    Last edited: Feb 27, 2016
  25. Offline

    _Hybrid

    @Corndogoz
    Thanks :D I will test it out and let you know if anything happens.
     
  26. Offline

    _Hybrid

    @Corndogoz
    Works great! There are two slight things though:
    After the suffix and before the chat could you add a colon ( : )
    with no space between the name, but a space between text? ex:
    [Owner] Hybrid [Suffix]: Text

    And also could you make it so when players chat in staff and roleplay channels it shows
    up in console? I like to have that all saved just in case :D
    EDIT:
    Also, could you add
    /channel list > just shows you Global and Roleplay in chat,
    and also if they type an incorrect channel name, gives them a message
    in chat saying 'Please do /channel list

    EDIT 2:
    So turns out that it works fine, until you restart the server. After that,
    the prefix doesn't show up anymore D:
     
    Last edited: Mar 2, 2016
  27. Offline

    Corndogoz

    i have updated the plugin do what you have asked, as for your 2nd error, do you get any errors in console?

    EDIT: http://corndog.corticalcafe.com/corndog/plugins/chatChannels/ChatChannels.jar
     
  28. Offline

    _Hybrid

    @Corndogoz
    I do not believe so :/ I will make sure though
    and Thanks
     
  29. Offline

    _Hybrid

    @Corndogoz
    Sorry for such a late response. I haven't been able to log into bukkit.
    So after a restart it seems to work, I am going to test with multiple people
    to make sure. The first time you talk after each restart it still doesn't show
    the prefix, but it does after so that should be alright. The only issue I can find
    right now is that when you are on global it logs the player's chat twice. Also
    would like a message so players know when they unsuccessfully typed the command,
    be it by lack of perms or misspelt command :/ Other than that, looks good.
    I will test with a few friends to make sure its all good.
     
  30. Offline

    Corndogoz

    OK, currently I am on vacation, but tomorrow I should be able to fix these things :)
     
    _Hybrid likes this.
Thread Status:
Not open for further replies.

Share This Page