[ADMN/DEV] PlayerActivity v4.2.0 - Idle Player Management [1.5.1]

Discussion in 'Archived: Plugin Releases' started by EdGruberman, Mar 8, 2012.

  1. Offline

    EdGruberman Retired Staff

  2. Offline

    md_5

    EdGruberman
    Change to R7 and separate categories with a /
     
  3. Offline

    EdGruberman Retired Staff

  4. Offline

    md_5

    Approved
     
  5. Offline

    Liger_XT5

    For the idle kick portion, possible future addition for a permission to exempt server staff members from being idle kicked? Some days I idle on my server with vanish-no-packet and keep an eye on the chatter and occasionally monitor suspicious activity, usually new players.
     
  6. Offline

    EdGruberman Retired Staff

    Liger_XT5 - Good idea. Please give the update I just made a try to see if that meets your requirements.

    You should now be able to set the "playeractivity.idlekick.ignore" permission for a player and IdleKick should not warn or kick them.
     
  7. Offline

    EdGruberman Retired Staff

    I just released 1.1.0.

    I think the two best improvements are:
    •CHG: Added ability to exempt a player from IdleKick (with permission)
    •CHG: Added PlayerIdle event (Better performance for idle detection)

    The PlayerIdle event is much smarter about idle detection now. Before it checked every 5 seconds every player. Now it uses an activity event to start a background thread that comes back and checks again in however long your idle threshold is. So say it's the 60s default that means it only checks each player at most every 60s. And detecting a player is back from being idle is instantenous now also.

    Good stuff all around I think.
     
  8. Offline

    EdGruberman Retired Staff

    I just released 1.2.0, found some new inventory and enchanting related events I had overlooked.
     
  9. Offline

    robot56

    Ok, but I think that it needs more features like broadcasting commands or logging player commands into a log or something. And mabe a command for admins
    to see player activity.
     
  10. Offline

    EdGruberman Retired Staff

    robot56 - I agree. I initially made this plugin to support a few other plugins I used. I released it officially because my Sleep plugin dependend on it.

    However, I've also added a few new commands to it that I think make it useful even as a stand alone plugin now.

    Version 1.3.0 (2012/03/26) [ Download | Source ]
    • CHG: Added AwayBack feature
    • CHG: Added /who command
    • CHG: IdleNotify feature split out from IdleKick feature
    • CHG: Ignore permission changed to playeractivity.idle.ignore
    • CHG: MessageManager dependency integrated
    • CHG: Dependency updated to MessageManager 6.0.0
    • CHG: Logging level configuration now MessageManager independent
    • CHG: Updated messages for new MessageManager 1.2.4 ChatColor formatting
    • CHG: Default IdleNotify changed to 60s
    • CHG: Added PlayerChangedWorldEvent to default activity detection
     
  11. Offline

    MrPendulum

    EdGruberman: This plugin conflicts with Essentials. Specifically, Essentials uses the "/back" command to return a player to the location they last teleported from and is essential (no pun intended) to my server.

    As this plugin takes over /back (this plugin is in use because of your Sleep plugin), this functionality is broken for me. Requesting politely a fix for this :)
     
  12. Offline

    EdGruberman Retired Staff

    MrPendulum: I've just updated this plugin (and Sleep) to compensate (I hope). There is now a softdepend for Essentials to let it "win" ownership of the command. Though, I'm not confident Bukkit really handles command registration appropriately to allow for such a load order to be guaranteed. It's a bit frustrating really.

    In a worst case scenario, Essentials does have aliases for it's /back command as /eback and /return. Also /essentials:back should work too. I know it's not ideal however and I'm going to try to find time to work with the Bukkit devs to see if we can get the bukkit.yml aliases setting to allow server operators to control command ownership amongst plugins. It seems to make the most sense and I'm honestly not sure why it's not that way already.

    Version 1.3.2 (2012/03/28) [ Download | Source ]
    • FIX: ConcurrentModificationException on disable or reload
    • FIX: Do not override Essentials commands
    • FIX: Remove timestamp from command responses
     
  13. Offline

    MrPendulum

    Thanks EdGruberman, but I am seeing this error when starting my server since upgrading Sleep:
    Could you have made a typo, since it claims to be looking for PlayerActivity v1.3.3? Stopping/Starting the server does not fix this.
     
  14. Offline

    EdGruberman Retired Staff

    MrPendulum: Sleep 5.0.3 should auto update PlayerActivity to 1.3.3 as that is now the latest version. Do you have lines before that notification in your log such as:
    Code:
    01:20:33 [INFO] [Sleep] Loading Sleep v5.0.3
    01:20:34 [INFO] [Sleep] Installed plugin: PlayerActivity to "plugins\update\PlayerActivity.jar"
    If not, try downloading PlayerActivity manually and putting it directly into your plugins folder to replace the older version. Perhaps there is some rights issue with your update folder or that is not working as expected?
     
  15. Offline

    MrPendulum

    EdGruberman, you appear to be right, this must be an issue on my server. I just took a live backup of the server to my windows machine (live running on Ubuntu Server), and it ran fine. I'll have a play a bit later on... it appears to work fine despite this error message anyway.

    Thanks again for your help sir :)
     
  16. Offline

    EdGruberman Retired Staff

    MrPendulum, please let me know if you ever find the source of your issue. I'd love to integrate any compensating fix/message/etc if I can to help others in the future also.
     
  17. Offline

    MrPendulum

    EdGruberman, I tried installing it again and it worked fine this time. So I must have been doing something wrong. The painkillers I'm on for a back injury perhaps aren't helping.

    Thanks nonetheless.

    Also, I can confirm that Essentials now takes the /back command rather than PlayerActivity. Thank you for the changes.
     
  18. Offline

    EdGruberman Retired Staff

    Version 1.4.0 (2012/04/06) [ Download | Source ]
    • CHG: Added ListTag feature
    • CHG: Dynamic command registration to avoid conflicts and give all other plugins priority
    • CHG: Added mentions tracking to AwayBack consumer
    • CHG: Away and back generate standard Bukkit events
    • CHG: Base code formatting update
    • CHG: Add ability to enable consumer externally
    • CHG: Added idle reset method
    • CHG: Added ability to create events externally
    • CHG: Sort player names in /who list
    • CHG: Dependency for MessageManager v6.1.0

    This update should stop the command conflict problem from ever occuring again. And even if you do want to explicitly enable PlayerActivity commands, you can now specify their name in the config.yml file to be whatever you want them to be.
     
  19. Offline

    EdGruberman Retired Staff

Share This Page