[FUN/MECH] Battery - Store and Release the Power of Redstone [1.5.1]

Discussion in 'Plugin Releases' started by rominos2, Jun 23, 2011.

     
  1. Offline

    rominos2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Battery - Store and Release the Power of Redstone
    Version : 1.5 (Power Plant Edition)

    This plugin is now on BukkitDev



    Create batteries.
    Catch any redstone activity in a battery and release it later with a lever.
    For example, you can use it with my ThunderTower plugin.

    Features :
    • Create Batteries with a block, a sign, and a lever
    • Save it in a flatfile
    • Charge your battery
    • Uncharge it
    • Full configurable
    Download Links :

    Battery v1.4.3


    How To Use :
    • Place a Battery Block (configurable)
    • Put a Sign with the first line [Battery]
    • Optional : See the Parameters section to make special batteries
    • Let's charge with redstone on the left side (redstone wire) or with an active furnace
    • Click on the Sign yo power on the right side (redstone wire) or a to active a furnace
    Parameters on Sign :

    All the Parameters can be written on the second line of the Battery sign on the creation of the Battery
    Only One parameter can be set for a battery


    AutoPower
    Battery will automaticly uncharge it when arrive to a define level
    Usage : APxx when xx is the specific level

    AutoActivation
    Battery will uncharge it only if a redstone wire is powering the back of the battery
    Usage :AA

    Screenshots:

    [IMG]
    [IMG]
    [IMG]
    [IMG]
    [IMG]
    [IMG]

    Todo :
    • Load Batteries Chunks
    Known Issues :

    • No more
    ChangeLog :

    Version 1.4.3 (11-09-2011)
    • Fix the remaining problems with the CurrentModificationException
    • The timeCheck is no more in miliseconds but now in 1/20 seconds (10 = 0.5sec)



    Version v1.4.2 (09-09-2011)
    • Code cleaning of the remaining classes
    • Fix a lot of bugs
    Version 1.4.1(08-09-2011)

    • Enormous Code Cleaning
    • Fix battery loose problem
    • Fix AP Problem
    Version 1.4(05-09-2011) (Furnace Edition)

    • Add furnace powering
    • Add AA param (AutoActivation) on a battery to activate it with a redstone current on the back of the block
    Version 1.3(28-08-2011) (Timer Edition)

    • Some code cleaning
    • Add Furnace charging
    • Add AutoPower to X% with the parameter APXX (where XX is the number)
    Version 1.2.2(27-07-2011)

    • Perhaps fix the non charging error
    • Delete batteries instead of spamming the console don't finding them
    Version 1.2.1(13-07-2011)

    • Fix a little bug in the configs on the plugin loading
    Version 1.2(09-07-2011) (St-Evarzec Edition)

    • Rewrite of the energy support (using my own RedstoneManager)
    • Delete of the AutoPower configs in properties
    • Add AutoPower optional on Batteries Sign
    Version 1.1(27-06-2011)

    • Fix the right Click issue
    • Add an autoPower config to deliver power when charged at 100%
    Version 1.0(23-06-2011)

    • Just the release of this awesome plugin



    This post has been edited 34 times. It was last edited by rominos2 Mar 11, 2013.
  2.  
  3. Offline

    MCManager

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    very nice!, i can see alot of uses in this
  4. Offline

    rominos2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes you can also use it with My ThunderTower plugin ^^
    Xordaii and bellardie like this.
  5. Offline

    Lolmewn BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Huh, this looks cool :p
  6. Offline

    NinjaWAffles

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  7. Offline

    Juze

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Title is wrong, there is no such tag as FFUN. Changelog must show two most recent changes without spoilers.
  8. Offline

    rominos2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Everything is corrected now
    bellardie likes this.
  9. Offline

    Avous

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @rominos2

    what would be the point exactly o.o?
  10. Offline

    G4ME

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    how much energy can this battery hold?
  11. Offline

    rominos2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Avous
    What are you talking about, I d'ont understand

    @G4ME
    It depends of the configration you put.
    It's in seconds of energy
    bellardie likes this.
  12. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    this is just so cute a plugin :)
  13. Offline

    G4ME

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  14. Offline

    Avous

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @rominos2
    what features to redstone would this add precisely? like what could i do with this that i couldnt do with say... a redstone torch or a repeater?
  15. Offline

    Joeyderijk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    can u send me a pic, or tell me how to use this with ur thundertower? i maked redstone on the bottem, but it didnt light up, but my redstone% in the confix is 5....
  16. Offline

    Joeyderijk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    nvm, found it already ;p
  17. Offline

    rominos2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @G4ME
    It's [Battery] and not (Battery)

    @Avous
    It's just to have a block in wich we can store energy
    It's more for the RP than another things because a lever can also make that ^^
    bellardie likes this.
  18. Offline

    G4ME

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It is [Battery] :p it just looks like () becauuse of the view angel

    EDIT: Okay its working now :p

    EDIT2: You can power the battery by itself by rightclicking the lever. Hope you can fix that if possible
  19. Offline

    rominos2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @G4ME
    Ho yes, never tought we can active lever rightclicking
    I'll update it in the next days
    Thanks for reporting this
    bellardie likes this.
  20. Offline

    G4ME

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    no problem.

    so far im using this mod right now but there is no storm :/

    If you fix that its pretty nice :)
  21. Offline

    rominos2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok thanks for using it ^^
    While fixing, I'll add the possibility (configurable) of releasing the energy once charged at 100%
    bellardie likes this.
  22. Offline

    Luke0202

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    MASSIVE BUG! >.< basically I'll charge up the battery, get rid of the source, click the lever and it will power the redstone and the power WON'T drain :(
  23. Offline

    G4ME

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    for me it will drain mh
  24. Offline

    rominos2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Luke0202
    Can you send a screen of your instalation

    I'll be not very active on the forums in the next 3 days (vacations ^^)
    bellardie likes this.
  25. Offline

    Nerozx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    could you add solar pannels :))?
    ndoorn, martijn4life and dak393 like this.
  26. Offline

    olimoli123

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    -Bookmarks- ;]
  27. Offline

    Alkoforumm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi
    I have a idea..can you make it..can replace the lever with redstone
  28. Offline

    Luke0202

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    In what way? :p I just popped it into the Plugins, restarted the server, and away I went :p
  29. Offline

    ShadoWalker

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I can't really find any uses for this mod... Can you explain one of them to me?
  30. Offline

    ndshomebrew

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    At the moment when the source of power (lever or something) is too farr away from the battery the battery won't charge.. Are you going to change this? It's pretty anoying.

    I'll need first too make a switch close to the battery and then father away from it. Else it doesn't going to work. Sounds like a bug for mee :p
    \i'll hope i've explaint it good enough

    Edit:
    Don't now what is wrong. Sometimes it's working and on another place its nog...
  31. Offline

    Dallin Boyce

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I keep getting this error
    16:10:33 [SEVERE] java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign
    16:10:33 [SEVERE] at org.rominos2.Battery.BatteryTimer.updateSign(BatteryTimer.java:52)
    16:10:33 [SEVERE] at org.rominos2.Battery.BatteryTimer.run(BatteryTimer.java:36)
    16:10:33 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    16:10:33 [SEVERE] at java.lang.Thread.run(Thread.java:680)

Share This Page