[INFO] Minestalker v1.1 - Check when a user was online [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Yetanotherx, Mar 20, 2011.

  1. Offline

    Yetanotherx

    Minestalker - Check when a user was online:
    Version: v1.1

    On many servers, people tend to ask questions like "is so and so on?" or "when did people last see so and so?". This plugin eases the confusion by keeping the times that users logged off, and lets the users check that database for the last time they were on.

    Download Minestalker v1.1
    Source Code

    Usage:
    • "/stalk [username]" - Checks the last time [username] was online
    • "/stalk [-optin|-optout]" - Allows/Prevents users from checking you (respectively)
    Permissions:

    Minestalker works best with the Permissions plugin to be installed. Here is a list of the permissions that can be used. (If you don't have Permissions, it will default to ops.txt)
    • "minestalker.use" - Use "/stalk"
    • "minestalker.optin" - Use "/stalk -optin"
    • "minestalker.optout" - Use "/stalk -optout"
    Changelog:

    Version 1.1
    • Permissions is no longer required

    Version 1.0
    • Releasing Minestalker
     
    sethgandy likes this.
  2. Offline

    melzang

    wow....it is good for my server :)
     
  3. Offline

    zwarmapapa

    Thanks for the source code, helps me alot to get started with making plugins for bukkit :p
     
  4. Offline

    sethgandy

    Works great. Problem is, you need to make it not case sensitive, and if possible, let you use abbreviation (search for similar strings, ie TomTheDoomer would just be doomer).
     
  5. Offline

    cyberdude

    Problems using Unknown Command.
    Question is, is it Unknown Command plugin that fails, or is it Minestalker that fails to return/respond correctly?
    Is this something you can look into?

    Edit:
    Scratch that, don't know what happend. I thought I had tried to restart server, and both plugins. But somehow it works now, I probably messed up somewhere. Thanks for this :)
     
  6. Offline

    Happy0

    Like zwarmapapa, want to thank you for the source code. It's helping me get started too!
     
  7. Offline

    BangL

    v1.0 @ CB#602 :

    Code:
    2011-03-31 14:22:31 [SEVERE] Could not load plugins\Minestalker.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:102)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:62)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:98)
        ... 8 more
    Caused by: java.lang.VerifyError: class yetanotherx.bukkitplugin.Minestalker.MinestalkerPlayerListener overrides final method onPlayerQuit.(Lorg/bukkit/event/player/PlayerEvent;)V
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at yetanotherx.bukkitplugin.Minestalker.Minestalker.<init>(Minestalker.java:53)
        ... 13 more

    pls update :)
     
    Bennie900 likes this.
  8. Offline

    Bennie900

    I support this!!
     
  9. Offline

    Yetanotherx

    I've updated to version 612. The link is in the original post (I have switched to GitHub).
     
  10. Offline

    bigbob85

    Apparently I should nag you that onPlayerQuit has been replaced by PlayerQuitEvent. #684
     
  11. Offline

    brightwanderer

    For some reason Minestalker's not working now even though it was previously. If I try to use /stalk, it just spits it back at me - so if I type "/stalk brightwanderer" it displays "/stalk [username]" in the text box. Any idea what might be causing that?

    [Edit:] Okay, so I've realised it's only happening to the admin group in my permissions file. People in Default can use it fine. Hrm.

    Code:
    plugin:
      permissions:
        system: 'default'
        copies: ''
    groups:
      Admins:
        default: false
        info:
          prefix: ''
          suffix: ''
          build: true
        inheritance: ''
        permissions:
          - '*'
    
      Default:
        default: true
        info:
          prefix: ''
          suffix: ''
          build: true
        inheritance: ''
        permissions:
          - 'tombstone.use'
          - 'tombstone.freechest'
          - 'tombstone.large'
          - 'tombstone.sign'
          - 'tombstone.freesign'
          - 'tombstone.quickloot'
          - 'minestalker.*'
          - 'fishpeople.infiniteair'
          - 'general.basic'
     
  12. Offline

    Plague

    cb 711 - inactive
     
  13. Offline

    Yetanotherx

    Works on 803.
     
  14. Offline

    Xanadar

    Will it be updated for 1000?
     
  15. Offline

    Raycrash

    works on 1000.

    oh and it would be nice if you can get rid of the case sensitive stuff :S
     
  16. Offline

    muggerfugger

    thanks, got this so i can keep track of when players were last online. and it works with the latest version of mc and cb, or at least appears to so far.

    we're thinking of giving up rights to buildings, etc for users that havent been on in an X amount of time.
    thanks
     
  17. Offline

    muggerfugger

    any plans to update this to 1.2.?
     
  18. Offline

    md_5

    Long time no see Yetanotherx. You will notice that this thread has now been placed into the Inactive Plugin subforum.
    If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum.

    Thanks for your time.
    md_5
     

Share This Page