[INACTIVE][MECH]BukkitPiston v0.54 - Pistons plugin for SMP [860]

Discussion in 'Inactive/Unsupported Plugins' started by redspider, Apr 12, 2011.

  1. Offline

    redspider

    BukkitPiston - Piston plugin for SMP:

    Since I don't have the time to continue developing, I've decided to release the source code.
    Hopefully someone can create a new mod out of it.

    Source


    Version: v0.54

    This mod changes iron blocks (by default) into pistons, which extend, when powered with redstone or redstone torches.
    Much like the original piston mod by Hippoplatimus. Right click on a face to change the orientation.
    Power it with redstone to make it push max. 16 blocks. (obisidan, iron and bedrock won't be pushed!)
    It is possible to change the piston properties like strength or block type. Take a look at the config.ini in the plugin/BukkitPiston folder.
    If you get an error like ebean.properties not found, create an empty file named "ebean.properties" in the bukkit main folder

    Download

    Jar File (doesn't contain config file)

    Support


    thx @MinecraftTutorialify for the vid

    thx @marvinody for the vid


    Changelog:
    Version 0.54
    • fixed: updated to 860 (fixed nether, saving problems, etc)
    • added: autosave (interval is changeable in config file)
    • changed: max worldname length is now 255
    If you had problems with that (open)

    open bukkitpiston.db with an sqllite editor of your choice (e.g. http://sourceforge.net/projects/sqlitebrowser/)
    and modify the table bp_piston_bodys (edit, modify table)
    edit the field world_name to varchar(255) (use the ...)
    same with the table bp_piston_owner.


    Version 0.53
    • fixed: exception on pushing sand
    • fixed: config.ini was not read
    • ebean.properties is created, if not present
    • known bug: /reload causes exception
    Version 0.52 (Beta)

    • Minecarts are pushed in the direction, in which they are driving
    • Sugarcane / crops fixed (thx meskeba)
    • Nullpointer event fix (runecraft and some other plugins)
    • Config file is generated if not present
    • Pistons are stored in a database (thx @Sammy for his tutorial)
    • A LOT of code refactoring
    Version 0.51

    • Few event fixes, you should REPLACE ALL PISTONS if you use worldguard or any other world protection plugin, to reset the owner
    • Owner is used as the one, who pushes the blocks
    • Protection plugins might work, not tested. (owner dependent, not activator)
    Version 0.5

    • Piston material is always immovable!
    • Added block place / break events
    • A few other fixes involving redstone
    • Config option to choose tools which can change the piston orientation
    • Warning if save file is readonly
    • Option to restrict changes in direction to owner (only pistons placed since 0.5)
    • Option to restrict building pistons to ops
    • Piston strength corrected
    Prior changelog (open)


    Version 0.43
    • Fixed iron duplication bug
    Version 0.42

    • Piston extension is a few ticks delayed, to ease the build of toggled blocks
    Version 0.41

    • Fixed PistonBlockStrength was not used
    • Integrated powered & detector rail in default config
    Version 0.4

    • Fixed player was hurt when a block was above the piston extension, player still gets hurt on purpose, when squashed
    • Custom cancellable event fired upon extension / contraction
    • Config file (set strength, change piston block id, set immovable, destructible stuff etc. (don't mess with this too much!))
    • Improved player / sand movement
    • 1.5 support (ready when you are, bukkit)
    Version 0.3

    • Flying sand / gravel !! (thx gmfreaky)
    • Piston won't stay extended when power source is destroyed by piston
    • Content of chest / furnace / dispenser will be moved, too
    Version 0.2

    • Some bugfixing
    Version 0.1

    • Internal release


    Future plans / Known bugs (open)

    here's a rough timeline, no guaranty though:
    0.6 piston edit mode via command, sand pushed like in the original pistons, block crushing
    0.7 improved x/yml config file
    0.8 sticky pistons
    0.9 permission plugin support
    1.0 final release
     
    zhuowei, CamudX, Geen117 and 7 others like this.
  2. Offline

    redspider

    i'll look into this
    i'll introduce autosave in the next version

    i'll look into the first problem. are there any error logs with the second one? do you use any world protection plugins?
     
  3. Offline

    lipe123

    No error logs no, I just checked. At least not at the time the pistons where placed.
    I changed it to use gold blocks and sticks to orient.

    The user placed two pistons, one above the other with 2 spaces between them to act as a door. The top one worked fine (extends down) but the bottom one(that extends up) refused to go down once it was extended. When I broke it and placed it, it worked normal.

    I only use essentialsprotect that's triggered by signs near chests. I also have creeper block damage disabled.
     
  4. Offline

    judam

    The pistons on my server suddenly stop after some time. They will get stuck extended, only fixed if destroyed and placed again. This also duplicates. There is no error in the console. There was no crash or restart.
     
  5. Offline

    Russ Reese

    Any plans to make Pistons power the Piston placed directly above (or below). It's hard to stack Pistons vertically to create hidden doors.
     
  6. Offline

    Olat

    Is there going to be Permission Support? I would like to give only my Donors Access to this plugin as a Donor Reward.
     
  7. Offline

    xXxLamaxXx

    What id have the piston? Or, how i can add piston to world? I cant find this info anywhere... (sorry for my english)
     
  8. Offline

    sinkir

    by default its 42 (iron blocks)
    but you can set the id you want in the config file

    Connect redstone to a iron block and you have a piston
    Clic on the block to change orientation.



    @redspider you can use my video if you want :)
     
  9. Offline

    jedimaster0

    No problem :)
     
  10. Offline

    judam

    Pistons on clocks get stuck. I think this is due to redstone stopping when nobody is near them for long periods of time. Any chance for a fix?
     
  11. Offline

    xXxLamaxXx

     
  12. whast the id for the piston mod + when i make it on work bench it flashes up for a split second on the crafted box then dissapears and nothing is there any ideas how i can solve this .thank you
     
  13. Offline

    Edeuh

    How I can use BukkitPiston with this ?
    [​IMG]
     
  14. Offline

    CaiusTSM

    cant wait till block crushing comes out!
     
  15. Offline

    RustyDagger

    Yer all the pistons that are contracted are fine after a server crash and those that are facing upwards and extended are fine its the pistons that are extended and not facing up that are broken after a server crash. Just a little more info for you for some reason the pistons facing up save fine during a server crash. maybe you can apply it to all other directions :)
     
  16. Offline

    Xzlider

    Hey, really good Mod, using it on my server! ;)
    But it could be nice if pistons(iron Blocks) could move each other, cus then u could build, self building bridges and stuff just by clicking one button.
    just a little request :)
     
  17. Offline

    maetthew

    Can I use this with the Permissions(by Nik*****) mod? I am admin on my server within Permissions and I have put myself in the ops.txt-file. Still I can not place pistons
     
  18. Offline

    RustyDagger

    Maetthew its an iron block you can always place them.
     
  19. Offline

    maetthew

    I know, but somehow when I placed an iron block it said I did not have permission to do that. However, a couple of reloads later it suddenly worked so I don't know what screwed up. Could've been something like the Permissions plugin causing it also.
     
  20. Offline

    Nazerb

    If they have there build to false in permissions they can not see it working, what a shame, i made a huge tnt digger on my private world on the server. And to show them i have to let them build D:
     
  21. Offline

    indigomontoya

    can you get it to push further than 1 block out? like I want it to be able to lift a bridge with 1 push of the button.. so it lifts a block up 5 places instead of just the 1?
     
  22. Offline

    RustyDagger

    Ok bug / report i am getting this in my server start up log every single time and i am 100% sure its not my problem

    Code:
    [INFO] DataSourcePool [BukkitPiston] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-05-25 21:40:50 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-05-25 21:40:50 [INFO] trimming off 'is' from boolean field name isOp in class com.bukkit.redspider.bukkitPiston.PersistentPlayer
    2011-05-25 21:40:50 [INFO] Entities enhanced[0] subclassed[3]
    2011-05-25 21:40:51 [INFO] DataSourcePool [iConomyChestShop] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-05-25 21:40:51 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-05-25 21:40:51 [INFO] Entities enhanced[0] subclassed[1]
    2011-05-25 21:40:51 
    Yes i am aware that there are 2 plugin names mentioned in the chunk there both of witch are receiving this post.

    Any info or clues as to the problem would be awesome.
     
  23. Offline

    Kilrane

    Is there a way to make the amount of blocks it is able to push infinite?

    *edit* sperring
     
  24. Offline

    John Kapsis

    The best piston plugin i have EVER seen!!!

    Just one question!
    if i use something like "PistonBlockStrength=1000" will it be ok?
    if no, why?
    Thank YOU!!
     
  25. Offline

    Avous

    @redspider

    Can it crush blocks if stuck between two pistons? thats what im looking for.

    But what does the strength/damage do? and whats "Replaceable"?
     
  26. Offline

    Deages

    Progress on updating the plugin? I'm loving it!
     
  27. amazing plugin that you made! so I decided to make a vid about the possibilities of this plugin:


    You can use my vid if you want?
     
  28. Offline

    willystylee

    Is this plugin going to be updated for 1.6.4?
     
  29. Offline

    Achiles

    Yes, its works fine in 1.6.6 (b817).
     
  30. Offline

    redspider

    As there were a few requests:
    Dear BukkitPiston fans,
    I'm VERY busy atm. I still have plans for the BukkitPiston and I'd love to continue my work, but I don't have the time. I'm still following the thread and watch out for severe bugs. But don't expect any big updates for the next month, sorry.
    Glad, you like my work.
     
  31. Offline

    Deages

    Would you be opposed to someone (not myself lol) taking over development of the plugin for the next month?
     

Share This Page