[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

    lipe123

    PLEEEEEEEEEEEEEASE mod the 1.7 pistons to shoot items into the air. We had a lot of things working with your plugin and would love to have that with the new pistons too.
     
  3. Offline

    CamudX

    Hay Is it possible how you got the iron the sling the piston in the air can you make the New pistons on beta 1.7 sling sand and gravel on normal pistons no on sticky ill love if you can do that
     
  4. Offline

    7eggert

    This plugin is not useless, because extended MC-Pistons have an uneven surface. I've got a monster trap in my entrance with a piston as a lid, and while I can walk on your piston, I get stuck on the MC piston.

    There is a mod to make pistons push blocks into chests. Then using Minecart Mania, you can collect the stones from the chest and drive them to your storage rooms.

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

    skyforce77

    you can continue the development of your plugin!
    (add push chests and furnaces,add the push effect as the mod piston)
     
  6. Offline

    Cainy22

    Whenever I try to put a sand on top after setting the orientation, the extension will show put the sand/gravel will disappear. Whats happening.
     
  7. Offline

    West974

    Hi, first tank you

    But I have a bug :
    in the video test you put sand in the piston and it's work, but when I try the sand disapear and the piston stay on (and can't use anymore I have to put a new one )

    21:38:18 [ATTENTION] Task of 'BukkitPiston' generated an exception
    java.lang.NoSuchMethodError: net.minecraft.server.EntityFallingSand.<init>(Lnet/
    minecraft/server/World;DDDI)V
    at com.bukkit.redspider.bukkitPiston.PistonBlock.shiftAway(PistonBlock.j
    ava:567)
    at com.bukkit.redspider.bukkitPiston.PistonBlock.extend(PistonBlock.java
    :512)
    at com.bukkit.redspider.bukkitPiston.PistonBlock.update(PistonBlock.java
    :409)
    at com.bukkit.redspider.bukkitPiston.PistonBlock$2.run(PistonBlock.java:
    361)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >

    thx for your help
    (and sorry if my english is not good I'm french so ... ;D )

    A new information it's work for the tnt block but it's switch on too
     
  8. Offline

    Gallion

    This mod was so awesome. Any chance to see a mod that puts propulsion back into the pistons any time soon?
     
  9. Offline

    tructus

    Uptade!!
     
  10. Offline

    redspider

    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.
     

Share This Page