[MECH] Tiredman v0.8.1 [bukkit-1.4.7-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by Duendek86, Jan 22, 2011.

  1. Offline

    Duendek86

    ------------------------------------------------------------------------------------------------------------------------------------
    TiredMan REBORN!
    Now in bukkitdev ready for 1.4.7​

    ------------------------------------------------------------------------------------------------------------------------------------
    TiredMan.jar - TiredMan:
    Version: v 0.8.1

    Changelog

    After a big break I want to thank to w4rgo [developer of FireLord plugin] by join this project and do a complete clean of the code and fix it to work with new versions of bukkit!

    If you are tired of seeing players across oceans without using boats this is your plugin, a few seconds in deep water and see how your players lose their energy and convulsing trying to get to dry land to die in the attempt ... The next time they used a boat ;)

    And now the players are going to tire out of the water and have to eat to keep his life becouse they will lose his life little by little depending on his activity:
    The monitored activities are mining, building, jumping and walking, in descending order of fatigue produced.

    To install just unzip the tiredman.zip file into your plugin folder and configure (if you like) your tiredman.txt file into tiredman folder.

    Now with permissions plugin support! Ifpermission plugin is not installed only your ops players would use admin commands, info commands would be used by any user.
    Now walk over dir, grass, sand or gravel get you tired faster than walk over other block types!

    Basic commands:
    • "/tiredman" or "/tm": (tiredman.info) Shows config values of tiredman.
    • "/tiredman info": (tiredman.info) Shows your energy level.
    • "/tiredman excluded": (tiredman.admin) Shows users excluded from tiredman effects.
    Sample permissions config file:

    Code:
    groups:
        Invitados:
            default: true
            info:
                prefix: '&f'
                suffix: '&7'
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
        Vips:
            default: false
            info:
                prefix: '&d'
                suffix: '&5'
                build: true
            inheritance:
                - Invitados
            permissions:
                - 'tiredman.info'
                - 'myhome.home.*'
                - 'mywarp.warp.basic.warp'
                - 'mywarp.warp.basic.list'
     
        Admins:
            default: false
            info:
                prefix: '&c'
                suffix: '&4'
                build: true
            inheritance:
                - Vips
            permissions:
                - 'bb.admin.*'
                - 'tiredman.admin'
    Features:
    • Add energy to every player.
    • when you are in deep water (at least 2 blocks or more) the energy begins to decrease.
    • If you press the jump key to swim, your energy go down quickly.
    • if you let yourself sink to the bottom or walk your energy go down more slowly.
    • If you run out of energy began to lose life and convulse while trying to reach shore or a boat.
    • When you're not in deep water or die, your recover lost energy.
    • All warnings about energy level will be in the chat.
    • You can configure lenguage message in configure file.
    • You can set the amount of energy that every player has in configure file.
    • Add fatigue out of water
    • When you are enought tired you are going to loose your life little by little.
    • Highly configurable.
    • You can disable features in configure file.
    • Permissions plugin support.
    • Tiredman status and player status command added.
    • List of excluded players of tiredman effects.
    • If you don't want a xx% energy level message, just delete the text (Example "5=")
    • Now you get tired when you are out of water faster when walk over grass, dirt, sand or gravel, becouse is harder walk over sand than over stone or grass.






    Download Tiredman:

    Source Code
    Git-Hub -> Thanks to w4rgo
    Version 0.5
    • Fix several bugs.
    • Permissions now works
    • Now you get tired faster when walk over grass - dirt - sand - gravel.
    • Add a message at 20% energy level in water. Now you have a 80%, 60%, 40% and 20% alert.
    Version 0.4.1

    • Fix several bugs.
    • Permissions is not working :( only ops can execute /tiredman excluded
    • All players can execute /tiredman info and /tiredman.
    • Fixed default settings mistake!
    Version 0.4

    • Players drops their items when die by fatigue.
    • You are going to keep your energy level even you reconnect.
    • Added excluded players list.
    • Permissions plugin support added
    • Commands:
      • "/tiredman" or "/tm": Shows config values of tiredman.
      • "/tiredman info": Shows your energy level.
      • "/tiredman excluded": Shows users excluded from tiredman effects.
    Version 0.3

    • Possibility of disabling fatigue in and out of water.
    • More configuration possibilities, for example, choose if you can die or just stay at the minimum of life because of fatigue or select the rate at which you lose life when you are in water by fatigue.
    • You will feel tired out of the water too, losing life if you keep doing things like walking, jumping, mine or place blocks.
    • The fatigue produced by each activity will follow this sequence: minar - place blocks - jump - walking, being that mine produces more fatigue and less walking.
    • Messages about lost or recovered energy do not flood the chat, It has been reconfigured.
    Version 0.2

    • Now in zip file. That includes tiredman.jar file and tiredman folder, just unzip into your plugins folder to install (overwrite tiredman.jar if you are upgrading).
    • tiredman.txt configuration file.
    • Set default energy at configuration file.
    • "laguage_es.txt" and "language_en.txt" files with with translations of all messages from plugin.
    • 10% more convulsing.
    Version 0.1

    • Releasing my first bukkit plugin tiredman!
    ToDo list:

    • Fix loose your items when die by fatigue :(
    • Permissions support
    • Not allow reconnect to recover energy.
    • Recover energy when a player eats. UNNECESARY.
    • Now you have a default energy level message at 75%, 50% and 25%. I want to add a message every 10%. You always could disable what message you want not.
     
  2. Offline

    NobodyOfNaught

    This is a really cool idea, you could take this further and make it so people get tired and need to eat just in the normal course of walking. Like you lose half a heart per minute just existing so need to feed yourself to stay alive.
     
  3. Offline

    Duendek86

    ok, i'll continue addings features, but as I have done to calculate energy deploy in the water, the wasted energy are goint to be based on activity, not in time, that is, if you keep walking and jumping you will waste more life that if you're quiet, and still more if you're building! Always without being too exaggerated to not affect the gameplay. Later configuration file will be include to adjust the energy deploy.

    Sorry, about my english :p I'm spanish!.
    I'll release a spanish translate to the plugin too.
     
  4. Great plugin - but can I suggest a better host next time? One that has no wait limit, such as mediafire or DropBox would be great.
     
  5. Offline

    Duendek86

    Dropbox mirror added! I'm premium megaupload user since long time ago and I didn't remeber that normal users has to wait the time limit wait :p
     
  6. Offline

    Daworm

    I like the idea to limit swimming, but if you are going to add the loss while moving etc.
    Can I ask you put in a config file to at least disable that feature overall?
    I like just the tired part for swimming (and eventually to adjust the rate when you clean it up).
     
  7. Thanks ;).
     
  8. Offline

    Duendek86

    Of course, tiredman 0.1 only affects when you are swimming, when I have added more features you could activate only the ones you like!

    New version out, tiredman 0.2! working on ToDo list!

    Anyone had tried it? feedback welcoming!

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

    kphoenix

    Could you describe in the original post what this plugin actually does? You eluded details by basically asking us to try it and find out.
     
  10. Offline

    Juze

    Nice, yet another plugin that adds realism. Need more of these! Thank you!
     
  11. Offline

    Duendek86

    Thanks for the support, I think it is more clear now. If anyone has any doubt just ask!
     
  12. Offline

    czardas

    Can you make an option where I can choose how much damage the player takes when they run out of energy? The current one seems to kill people way to fast...

    Thanks
     
  13. Offline

    Gabriel C P S

  14. Offline

    Duendek86

    ok, you are right. Next update are going to include an option for that. I am going to change de default amount of energy to 4000 too, then you will be able to swim double time.

    Ups, I think that I have deleted my ToDo list when I updated the first post to the new rules :s

    I'm working on that! anyway, thanks for the link, I don't want to do a simple port but it mechanics are going to help me a lot to release a good system of getting tired! Give me a day or two and I will release an update with a simple global system of tiredness, after that, I 'll add more complex features.
     
  15. Offline

    scor

    Neat idea!

    I'd really like to use this plugin, especially with the upcoming enhancements. One suggestion would be to limit console text, or even skip the % display at all and only write a line at a certain lvl. Let's say you get a hint at 90% ("You start swimming."), 50% ("You begin to tire.") and 20% ("You can barely stay afloat.")

    Ideally you could make it editable, so everyone is able to customize it (display mode, msg edit) to his liking.

    scor
     
  16. Offline

    Duendek86

    good idea,I will try to place it in the next update that I have almost ready, I'm in debbuging process and take the opportunity to put your idea.

    hopefully there was some way to introduce some kind of bar graph on the hud...
     
  17. Offline

    scor

    Great!

    Gave the plugin a try now and noticed that your items disappear upon death while swimming, instead of simply dropping on the floor. Is that intentional? If so could you make it adjustable to either make them vanish or drop em on the ground?

    scor
     
  18. Offline

    Duendek86

    Ok, It isn't intentional :p I'll try to fix it and include an option about it in the config file in Tiredman 0.3.
    Thank you all for the feedback!!!

    This is the temporary changelog for version 0.3:
    • Possibility of disabling fatigue in and out of water.
    • More configuration possibilities, for example, choose if you can die or just stay at the minimum of life because of fatigue or select the rate at which you lose life when you are in water by fatigue.
    • You will feel tired out of the water too, losing life if you keep doing things like walking, jumping, mine or place blocks.
    • The fatigue produced by each activity will follow this sequence: minar - place blocks - jump - walking, being that mine produces more fatigue and less walking.
    • Fix and add like a feature the posibility of loose your items when you die by fatigue.
    • Trying to configure all the messages about lost or recovered energy to not flood the chat
    --- merged: Jan 27, 2011 1:37 PM ---
    New release!!!! I can't fix the items issue when a player dies, I'll keep working on it to solve as soon as posible.
     
  19. Offline

    Gabriel C P S

    Yes!

    I'll try it right now!
     
  20. Offline

    Arisilde

    Can you do anything about players being able to relog and reset their energy?
     
  21. Offline

    Duendek86

    of course, it's easy to fix this :) I'll do a minor update to fix this. Thanks!
     
  22. Offline

    Arisilde

    No, thank you :D
    --- merged: Jan 29, 2011 2:29 AM ---
    Any chance of getting permissions support so we can disable drowning for admins?
     
  23. Offline

    Duendek86

    I'll try for next update!
     
  24. Offline

    Arisilde

    Sweet. Any idea when that will be? Still looking forward to that relogging loophole fix too :D
     
  25. Offline

    Duendek86

    I'm out of home this weekend, but i have fixed reloading issue and i have added permissions plugin support, but i have to finish the commands to interact with the plugin. I'm talking about hot setup of parameters from the game and people excluded. I'll try to finis it by late monday or late tuesday.
     
  26. Offline

    Arisilde

    Awesome :)
     
  27. Offline

    zwarmapapa

    It doesn't work with the latest build, it gives errors when I move
     
  28. Offline

    Duendek86

    Thanks a tot, i'll try to fix on monday
     
  29. Offline

    scor

    Thanks for your more configurable version!
    I've used the plugin a while now and it works great.

    The only odd thing is an energy reset under "dieinwater"=0, while you're swimming.
    In other words: You swim, run out of energy, lose your health to half a heart, and the energy resets again.. you run out of energy, and so on. This reset might occur on landfatigue too. Is it possible to stop the counter at the min value until you step out of the water (waterf), or eat something (landf)?

    After fiddling around with landfatigue values I found a value between 50k and 100k to be somewhat appropriate.
    How does landfatigue actually work? Does eating something reset it completely or just increase the value a bit?

    One more noobish question about customizable messages. I tried to comment a few lines out, to decrease textflood even more and got a (Null) msg displayed ingame instead. How do I stop certain lines from being displayed?

    scor
     
  30. Offline

    Duendek86

    • I have to check the issue with "dieinwater=0" and fix it for next update, landfatigue works different, I think it should be fine.
    • Thanks by the feedback about bugs and landfatigue value! Next update I will set the default value lower.
    • Well, there is a counter with max value set to "lanfatigue" value. When the player is walking 2 units of fatigue are added to the counter. If the player jumps 5 units more are added, if he placed blocks 10 units are added and if he destroys blocks 15 units are added. When the counter reach the max value set in the configure file, half heart is lost by the players, and the counter is reset to 0 and starts to increment again.
    • I think if you delete the text and keep "1=" should work, but i have to check it.
     

Share This Page