[INACTIVE][ADMN] TimePermissions v0.6 - Manage players based on their playtime [493]

Discussion in 'Inactive/Unsupported Plugins' started by SuckyBlowfish, Mar 1, 2011.

  1. Offline

    SuckyBlowfish

    TimePermissions - Manage players based on their playtime

    Version: v0.6

    This plugin is made to help deter griefers and other no-gooders. You can set up how long a player must play to use certain items, such as lava, flint and steel, etc. It will also track their time spent in the server for a competitive feel to playing on your server.

    Features:
    * Item use based on playtime
    * Playtime checking (/ptime check <name>)
    * Also notifies you of the last time a person was online
    * *Planned* Ability to switch players to a Permissions group after a certain amount of time

    Commands:
    * <font color="rgb(0, 128, 0)">/ptime </font> Displays your own playtime
    * <font color="rgb(0, 128, 0)">/ptime check <name></font> Displays other player's playtime, and the last time they were on the server
    * <font color="rgb(0, 128, 0)">/ptime save</font> Saves all of the playtimes into the data.yml file

    <Edit by Moderator: Redacted mediafire url>
    Download Sample Config File
    Source Code

    Changelog: Version 0.6
    * First public release!

    This is my first plugin, so any advice, suggestions, etc. is appreciated. Also, if any developers out there know how to add players to Permissions groups in Java, I would like some help with that!
     
    Last edited by a moderator: Dec 15, 2016
  2. Offline

    Sondre Berntsen

    This... seems awesome! I've been looking for something like this, thanks mate!
     
  3. Offline

    Grygon

    This is awesome! I'm definitely going to be using this!
     
  4. Offline

    ReapKarmah

    Definitely a great idea and I'm all for it!

    Would be great if your plugin generated a starter config file instead of a blank one. I myself am not 100% sure how it works :(
     
  5. Offline

    unrivaledneo

    This sounds nice. Always tired of "when can i rank up" questions. What we need now is a way to combine this with some sorta Buy Permissions with Iconomy. Mods never again have to change groups :p
     
  6. Offline

    SplenectomY

    Awesome ... however, it would be nice if we could deter people from just standing afk for a while to obtain permissions ... maybe making the timer stop after a player is idle for 30 seconds or something. Could that be done?
     
  7. Offline

    unrivaledneo

    I think there is a afk auto kick pluing somewere
     
  8. Offline

    SplenectomY

    A possible, but crude, solution. I don't want to punish people for being AFK, I just want to keep them from abusing this plugin.
     
  9. Offline

    qrux

    +1
     
  10. Offline

    Neutral Star

    In some cases that extra free spot from kicking someone would be a better solution. I know sucky and talk to him daily, he's looking into a plugin that auto afk's people to see if he can use that to stop the counter.
     
  11. Offline

    EvilSeph

    Please test your plugin with the latest Recommended Build (493) and update your release post accordingly as it is now a requirement of the submissions process, since the newest RB contains breakages.
     
  12. Offline

    SuckyBlowfish

    Ok, nothing is broken on CraftBukkit RB 493, so the thread is good. And guys, I'm still working on this, but don't expect groups support soon because as far as I know, Permissions does not support editing of a player's group from another plugin. If any devs could help with this, that would be appreciated! Also, I will update soon with name correction from the file so no more having to type out the full name with correct case. Have a nice day!
     
  13. Offline

    dslip

    Switch to using GroupManager for permissions support in your plugin, That has ingame commands to change permissions, so i assume it has plugin support for it.
     
  14. Offline

    RustyDagger

    Fail manager you mean ha what a joke I'm sorry but thats over complicated junk That no1 needs Permissions made by The yeti is far better than any group manager version. The only people that use group manager are 10-13 yo server owners that are incompetent of editing a .yml file.

    On another note i like the idea of the plugin and i know for a fact you can read group information from permissions Not sure about changing it It should be added to the Permission plugin so other plugin devs can just grab it and use it Should ask The Yeti see what he thinks.
     
  15. SUCKY you got promoted to plugin developer gratz! look forward to seeing you and everyone else on the new server!
    p.s. i never realized that this plugin was a custom made one who woulda thought...
     
  16. Offline

    goldseed

    2011-03-23 06:57:41 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-516-gdf87bb3-b531jnks (MC: 1.3)

    2011-03-23 06:57:45 [SEVERE] null loading TimePermissions v0.6 (Is it up to date?)
    java.lang.NullPointerException
    at com.SuckyBlowfish.bukkit.plugin.TimePermissions.TimePermissions.onEnable(TimePermissions.java:111)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    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)


    Help me please!.
     
  17. Offline

    Windwaker

    Will this be updated for RB 617?
     
  18. Offline

    DiseasedFox

    Would love to see the planned ability come into effect. It would be extremely useful on my server.
     

Share This Page