[CHAT] mChatEssentials v1.7.2_3 - Essential features for use with mChat [1337]

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

  1. Offline

    MiracleM4n

    [​IMG]
    mChatEssentials - Essential features for use with mChat
    Version: v1.7.2_3 (Versioning = MC Version 1.7 Release 2 Fix 3) (August 15/11)

    Provides a reload config command (/mchatessentials, /mchatess, /mchate, /mce [reload])
    Provides a /me command (/mchatme *Message*)
    Provides a /who command (/mchatwho, /mwho *Player*)
    Provides a /afk command (/mchatafk, mafk)
    Provides a /list command (/mchatlist, mlist)
    Read Features section for other features.

    Features:
    • Supports superperms/Permissions 2/3/GroupManager.
    • Reload Command !!
    • Can use Spout
    • Spout Features:
      • Sets "mchat-name-format" to your title.
      • Displays a message above your name saying you are typing.
      • Displays last message above your name for 7 seconds after message was sent.
      • Health message when someone is damaged in Achievement Window.
    Download mChatEssentials
    Source Code
    Permissions Nodes (open)

    mchat.reload (Allows users to use the /reload command) - Yes this means you can reload both mChat and mChatEssentials
    mchat.me (Allows users to use the /me command)
    mchat.who (Allows users to use the /who command)
    mchat.afk (Allows users to use the /afk command)
    mchat.list (Allows users to use the /list command)

    Command Usage (open)

    mchatlist:
    • Usage: /mchatlist
    • Displays: Formatted list of all players online and tells you how many players are online.
    mchatme:
    • Usage: /me *Message*
    • Displays: * PlayerName Message (Using mChat's mchat-name-format)
    mchatwho:
    • Usage: /mwho *Player*
    • Displays:
      • Various information about the player.
      • Location.
      • World.
      • Formatted Name.
    mchatafk:
    • Usage: /mchatafk
    • Displays:
      • Tells everyone you are AFK.
      • Nulls all damage to you.
      • Makes it so you cant move.
      • Nulls all damage you give.
      • Sets you as SleepingIgnored.
    mchatessentials:
    • Usage: /mchatessentials reload
      • Reloads config.

    Config Explanation (open)

    Before I start this is not the default config but the one I use on my server.
    Secondly anything with # at the start of the line is a comment and is not actually read by the server (ignore them).
    Code:
    mchat-colouring: 'dark_blue'
    mchat-spout-enabled: 'true'
    mchat-notifyHealth-enabled: 'true'
    mchat-typingMessage: '*Typing*'
    mchat-HQAFK: true
    
    Explanation:
    • mchat-colouring is used for:
      • All Spout title formatting.
      • More in the future.
    • mchat-spout-enabled is used for:
      • Enabling(true) or Disabling(false) Spout features.
    • mchat-notifyHealth-enabled is used for:
      • Enabling(true) or Disabling(false) The health notification messages.
    • mchat-typingMessage is used for:
      • Changing the *Typing* message to whatever you please. (Supports Color coding (&e for example)).
    • mchat-HQAFK is used for:
      • Enabling(true) or Disabling(false) the Teleportation onMove.

    To-Do: (open)

    1. Configurable: *Typing*
    2. Configurable PM format changer.
    3. Add a /who command.

    Other Stuff:
    [​IMG] Please donate to help support me :D
    Changelog:
    Version 1.7.2_3 (August 15/11)
    • Fixed errors from me failing at coding.
    Changelog: (open)

    Version 1.7.2_2 (August 15/11)
    • Message for Nazi AFK settings.
    • Updated to latest mChat.
    Version 1.7.2_1 (August 09/11)
    • Updated to mChat 1.7.10
    • Added a config option for the AFK command.
    Version 1.7.2 (August 06/11)
    • Added playerlist command.
    • Added SetSleepingIgnored to /mchatafk.
    Version 1.7.1_3 (August 05/11)
    • Added full support for all major Permissions plugins.
    Version 1.7.1_2
    • Uhm...
    Version 1.7.1_1
    • Uhm...
    Version 1.7.1 (August 02/11)
    • Initial Release
     
    noron596, dunst0 and BSEUNHIR like this.
  2. Offline

    BSEUNHIR

    Thanks for providing this plugin!
    I'm trying to switch to permissionsbukkit now, getting rid of ichat etc etc etc...
    Your other plugins work fine, only this one bugs out for me.

    whenever I try to use any of the commands I get nothing but its help line, it's driving me crazy!
    It doesn't even matter what I set in the permissions, it's not working :(

    Please help me with fixing this and keep up the good work! :)
     
    morizuki likes this.
  3. Offline

    morizuki

    got that problem too..
     
  4. Offline

    dm_studios

    Unfortunately I also get the same problem, permission nodes set correctly (as they where the same for the previous version before you updated to spout) but whenever I use the commands it just returns help.
     
  5. Offline

    BSEUNHIR

    would you mind posting the link to the previous version?
    so I can use the old version instead?
    pretty please!

    EDIT: It seems like everything except the spout features is broken... LOL. But yay, at least that works!
     
  6. Offline

    dm_studios

    @BSEUNHIR
    Sorry unfortunately I deleted the old version before testing this version, so no longer have a copy, I'm sure it won't be too long until the developer fixes the issue.
     
  7. Offline

    MiracleM4n

    i will fix this once i get off work in approximately 3.5 hours sorry for the confusion

    Ok, I fail... I found the error. Open mChat.jar with any archiving program, open plugin.yml and remove all the commands besides mchat: , I forgot to remove it when I split the plugins.

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

    morizuki

    i tried the AFK.. and yeah, I can't attack the mobs, but when I hit them(they won't lose health) they will come after me.. it's kinda cool, but.. if u have a config that allows them not to attack you if u accidentally attack them XD
     
  9. Offline

    MiracleM4n

    I can make it so that the enemies "Cant see" players if they are AFK.
     
  10. Offline

    dm_studios

    Excellent that worked :D
     
  11. Offline

    MiracleM4n

    REMEMBER: If you want anything added post it here :D
     
  12. Offline

    BSEUNHIR

    I want something added! ;)

    The /afk command is cool and all, but it's a BIT overpowered. At least for survival servers! So I'd like to have a configurable warm-up. A period of time where you can't move and can't deal damage, but still receive it. That way it won't be usable as a cheap way to escape PVP ;)

    Thanks for this great plugin and fixing it so soon :)
     
  13. Offline

    MiracleM4n

    BSEUNHIR: How exactly would you like this to work? If a player goes AFK he cannot go AFK again for x Seconds?
     
  14. Offline

    BSEUNHIR

    Nope, a bit differently.
    I'll try to explain it in more detail
    1.) Player gives command /afk
    2.) Player can not move or attack but is NOT invincible for X seconds
    3.) Player can not move or attack and is invincible
    4.) .......
    5.) Player gives command /afk
    6.) Player can move again but not attack and is NOT invincible for Y seconds
    7.) Player can move and attack again.

    I hope you understand it now :)
    I just want to avoid a player who is being chased to go /afk to save himself and I want to avoid players who are /afk to wait for bait and then to go out of /afk and instantly kill someone standing by.

    Thanks for taking your time to read this. :)
     
  15. Offline

    MiracleM4n

    Ill try for this after work tonight. Currently on break.
     
  16. Offline

    BSEUNHIR

    Thanks, I appreciate your effort!
     
  17. Offline

    MiracleM4n

    I appreciate people noticing my effort :p.
     
    gameswereus, TfT_02 and BSEUNHIR like this.
  18. Have you thought about adding an automatic afk system? When a player does nothing for x amount of seconds it would trigger /afk. And of course a neat little toggle in the configs that would enable/disable this?
     
  19. Offline

    MiracleM4n

    I have, This will be quite resource intensive as it will rely heavily on onPlayerMove which is largely discouraged. I will try to find a way around this :D

    EDIT: Not worth what its worth. This may be implemented in the future although.
     
  20. Offline

    Kiwii

    @MiracleM4n
    Are people that are afk sleeping ignored? You know, so that other players can go to bed and skip the night? One can do that with the api by using the sleepingignored thing of bukkit.
    more info (open)

    setSleepingIgnored

    void setSleepingIgnored(boolean isSleeping)
    Sets whether the player is ignored as not sleeping. If everyone is either sleeping or has this flag set, then time will advance to the next day. If everyone has this flag set but no one is actually in bed, then nothing will happen.
    Parameters:
    isSleeping -

    isSleepingIgnored

    boolean isSleepingIgnored()
    Returns whether the player is sleeping ignored.

    It's just that one of my moderators always goes like 'BED ELSE KICK!!!!111' xD
    Together with an auto-away feature this would be very nifty!
    Btw: I notice and respect your effort, too! ;)

    Edit: I may have said that before, but I would enjoy a command for getting a formatted list of players online. Possible commands would be /online, /players, /playerlist, /isthereanybodyoutthere, etc.
    I'd like to have an option to have that list be sorted by group and it would be cool, if you could add a special list-prefix for that, so one can have those names colored without having to see the whole prefix of every player.
     
  21. Offline

    MiracleM4n

    Kiwii: playerlist will be in next release. also i will work more on afk.

    *Updated* (Added list command and added the setSleepingIgnored.)

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

    dunst0

    when i go afk and try to move
    then i see for a short time the default skin,
    instead of my custom skin
     
  23. Offline

    Plague

    Sorry for the delay in submission approvals, I've been away for a while.
     
  24. Offline

    staxx6

    I got a Error:

    Code:
    Start work fine:
    
    2011-08-07 22:00:40 [INFO] [mChatEssentials] Spout not found not using.
    2011-08-07 22:00:40 [INFO] [mChatEssentials] mChat 1.7.4_6 found now using.
    2011-08-07 22:00:40 [INFO] [mChatEssentials] version 1.7.2 is enabled!
    
    
    but any commands make this:
    
    
    2011-08-07 22:01:59 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'list' in plugin mChatEssentials v1.7.2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        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:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchFieldError: API
        at net.D3GN.MiracleM4n.mChatEssentials.commandSender.onCommand(commandSender.java:130)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    #1000
    Permissions Bukkit
    (And try with NO other Chat Plugins)
     
  25. Offline

    MiracleM4n

    staxx6: Try updating mChat.
     
  26. Offline

    staxx6

    Oh yeah .... sorry

    /list dosen't show the Prefix/ Suffix?
     
  27. Offline

    HonestFlames

    I'm probably an idiot, but I am not seeing the 'display chat above players' feature as actually working on my server.

    I have CraftBukkit buil 1040 at the moment though, to support MultiVerse 2. Might that be the issue? I have mChat, mInfo and mChatEssentials installed and I'm using PermissionsBukkit and CommandBook.
     
  28. Offline

    dunst0

    1. are u using Spoutcraft Launcher instead of the standart Minecraft Launcher?

    2. Do u have the Spout plugin installed?

    If u can answer the questions with yes, there might be some problems with ur setup. For that case a list of ur installed plugins and ur cofig would be helpfull
     
  29. Offline

    MiracleM4n

    Thanks for replying for me... Been busy around here, Lots of work :p. Yes make sure that Spout is installed on the server and you also have SpoutCraft client files installed in your minecraft.jar.
     
  30. Offline

    dunst0

    i really like your plugin ;) .... maby i will start writing a plugin :) but that has to wait for the semester break
     

Share This Page