[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

    please try redownloading v0.54
    works fine for me.
    nope, that should be fixed already
    even /reload should work now...

    anyone still having problems with permission 3.0?
     
  3. Offline

    Ambedrake

    is it possible to have this become relative instead of coordinate based? I wanted to use it for landing gear for aircraft made with movecraft, but as those are mobile anything used on them need relative coordinates.
     
  4. Offline

    rshook

    Lol, now bukkitpiston work in my server, it's an other plugins, he create a bukkit files in the server plugin too, and bukkitpiston can't load, but, it's not the redownloading ^^' it's just other plugins, he is very great, i like, and i think i post a video (with a mechanic circuit of redstone) :D
     
  5. Offline

    Qensi62

    YEAH ! I wait the sticky piston ! !!! :D very cool plugin !
     
  6. Offline

    redspider

    nope, sorry.
    glad you like it :)
     
  7. Offline

    rshook

    Hey, it's me, i have make a video of a cannon, with bukkitpiston and oneblock, you push a button and he create a tnt + push (live tnt). VIDEO :
     
  8. Offline

    Poliice

    This is a sweet plugin. I will pay you to make sticky pistons. I don't care about 1.7. I want ur pistons.
     
  9. Offline

    Psycho Robot

    Fixed
     
  10. Offline

    Poliice

    What does that mean?
     
  11. Offline

    Bokou

    he edited the quote to be funny... that's what "fixed" or FTFY (fixed that for you) generally means.

    I was hoping to get to play around with a good pistons mod pre-1.7 and this one looked the best but doesn't have the sticky functionality or anything else that the single player mod does and 1.7 will be out before this mod reaches .8 and will not be necessary any more (at least in it's current form).

    Thanks for the contribution of pistons to SMP so far though :)
     
  12. Offline

    BearFather

    I'm still having issues with pistons resetting on startup. I get spam in the server log (below) and all my pistons are extended and have to be destroyed and reset on orientation.

    Code:
    2011-06-28 16:10:49 [INFO] Starting minecraft server version Beta 1.6.6
    2011-06-28 16:10:49 [INFO] Loading properties
    2011-06-28 16:10:49 [INFO] Starting Minecraft server on *:25565
    2011-06-28 16:10:49 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-892-ga9ddbaa-b935jnks (MC: 1.6.6)
    2011-06-28 16:10:49 [INFO] DataSourcePool [BukkitPiston] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-06-28 16:10:49 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-06-28 16:10:50 [INFO] trimming off 'is' from boolean field name isOp in class com.bukkit.redspider.bukkitPiston.PersistentPlayer
    2011-06-28 16:10:50 [INFO] Entities enhanced[0] subclassed[3]
    2011-06-28 16:10:50 [INFO] Starting Minequery server on *:25566
    2011-06-28 16:10:50 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-06-28 16:10:51 [INFO] Preparing level "survival"
    2011-06-28 16:10:51 [INFO] Preparing start region for level 0 (Seed: -7687125956209629481)
    2011-06-28 16:10:52 [INFO] Stargate v.0.5.0 is enabled.
    2011-06-28 16:10:52 [INFO] [Stargate] Loaded 1 gate layouts
    2011-06-28 16:10:52 [INFO] [Stargate] {survival} No stargates for world
    2011-06-28 16:10:52 [INFO] Loading BukkitPiston 0.54
    2011-06-28 16:10:52 [WARNING] Could not load piston: java.lang.IllegalStateException: World creative not found
    2011-06-28 16:10:52 [SEVERE] java.lang.IllegalStateException: World creative not found
    2011-06-28 16:10:52 [SEVERE]    at com.bukkit.redspider.bukkitPiston.PersistentBlock.getBlock(PersistentBlock.java:54)
    2011-06-28 16:10:52 [SEVERE]    at com.bukkit.redspider.bukkitPiston.PistonBlock.getBody(PistonBlock.java:179)
    2011-06-28 16:10:52 [SEVERE]    at com.bukkit.redspider.bukkitPiston.PistonBlock.validate(PistonBlock.java:924)
    2011-06-28 16:10:52 [SEVERE]    at com.bukkit.redspider.bukkitPiston.PistonManager.loadPistons(PistonManager.java:182)
    2011-06-28 16:10:52 [SEVERE]    at com.bukkit.redspider.bukkitPiston.BukkitPistonMain.onEnable(BukkitPistonMain.java:192)
    2011-06-28 16:10:52 [SEVERE]    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-06-28 16:10:52 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    2011-06-28 16:10:52 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    2011-06-28 16:10:52 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    2011-06-28 16:10:52 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    2011-06-28 16:10:52 [SEVERE]    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    2011-06-28 16:10:52 [SEVERE]    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    2011-06-28 16:10:52 [SEVERE]    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-06-28 16:10:52 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-06-28 16:10:52 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-28 16:10:52 [WARNING] Could not load piston: java.lang.IllegalStateException: World creative not found
    2011-06-28 16:10:52 [SEVERE] java.lang.IllegalStateException: World creative not found
    2011-06-28 16:10:52 [SEVERE]    at com.bukkit.redspider.bukkitPiston.PersistentBlock.getBlock(PersistentBlock.java:54)
    2011-06-28 16:10:52 [SEVERE]    at com.bukkit.redspider.bukkitPiston.PistonBlock.getBody(PistonBlock.java:179)
    2011-06-28 16:10:52 [SEVERE]    at com.bukkit.redspider.bukkitPiston.PistonBlock.validate(PistonBlock.java:924)
    2011-06-28 16:10:52 [SEVERE]    at com.bukkit.redspider.bukkitPiston.PistonManager.loadPistons(PistonManager.java:182)
    2011-06-28 16:10:52 [SEVERE]    at com.bukkit.redspider.bukkitPiston.BukkitPistonMain.onEnable(BukkitPistonMain.java:192)
    2011-06-28 16:10:52 [SEVERE]    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-06-28 16:10:52 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    2011-06-28 16:10:52 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    2011-06-28 16:10:52 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    2011-06-28 16:10:52 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    2011-06-28 16:10:52 [SEVERE]    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    2011-06-28 16:10:52 [SEVERE]    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    2011-06-28 16:10:52 [SEVERE]    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-06-28 16:10:52 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-06-28 16:10:52 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-28 16:10:52 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-28 16:10:52 [INFO] WorldGuard: Loaded configuration for world 'survival"
    2011-06-28 16:10:52 [INFO] WorldGuard: 37 regions loaded for 'survival'
    2011-06-28 16:10:52 [INFO] WorldGuard 5.1.1 enabled.
    2011-06-28 16:10:52 [INFO] [MultiVerse] Permissions Found
    2011-06-28 16:10:52 [INFO] [MultiVerse] - Version 1.7.2 Enabled
    2011-06-28 16:10:52 [INFO] [MultiVerse] Loading World & Settings - 'survival' - NORMAL
    2011-06-28 16:10:52 [INFO] [MultiVerse] Loading World & Settings - 'creative' - NORMAL
    2011-06-28 16:10:52 [INFO] Preparing start region for level 1 (Seed: -4384276764318071740)
    2011-06-28 16:10:53 [INFO] [Stargate] {creative} No stargates for world
    2011-06-28 16:10:53 [INFO] [MultiVerse] Loading World & Settings - 'spawn' - NORMAL
    2011-06-28 16:10:53 [INFO] Preparing start region for level 2 (Seed: -1885171741645819894)
    2011-06-28 16:10:54 [INFO] [Stargate] {spawn} No stargates for world
    2011-06-28 16:10:54 [INFO] [MultiVerse] Loading World & Settings - 'nether' - NETHER
    2011-06-28 16:10:54 [INFO] Preparing start region for level 3 (Seed: -5489452883638991607)
    2011-06-28 16:10:54 [INFO] [Stargate] {nether} No stargates for world
    2011-06-28 16:10:54 [INFO] [MultiVerse] Loading World & Settings - 'skyworld' - SKYLANDS
    2011-06-28 16:10:54 [INFO] Preparing start region for level 4 (Seed: 4050918243166380093)
    2011-06-28 16:10:55 [INFO] [Stargate] {skyworld} No stargates for world
    2011-06-28 16:10:55 [INFO] [MultiVerse] 5 - World(s) loaded.
    2011-06-28 16:10:55 [INFO] [MultiVerse] Loading Portals
    2011-06-28 16:10:55 [INFO] [MultiVerse] 12 - Portal(s) loaded.
    2011-06-28 16:10:55 [INFO] [MYWARP]: 201 warps loaded
    2011-06-28 16:10:55 [INFO] [MYWARP] Permissions enabled using: Permissions v2.7.3
    2011-06-28 16:10:55 [INFO] [MYWARP] 'Help' support enabled.
    2011-06-28 16:10:55 [INFO] MyWarp 1.10.7 enabled
    2011-06-28 16:10:55 [INFO] [Inception] version 0.9delta is enabled!
    2011-06-28 16:10:55 [INFO] [MultiInv] version 2.2.0 is enabled!
    2011-06-28 16:10:55 [INFO] [MYHOME]: 56 homes loaded
    2011-06-28 16:10:55 [INFO] [MYHOME] Permissions enabled using: Permissions v2.7.3
    2011-06-28 16:10:56 [INFO] [MYHOME] 'Help' support enabled.
    2011-06-28 16:10:56 [INFO] [MYHOME] MyHome 1.9.5 enabled
    2011-06-28 16:10:56 [INFO] BoundaryKill version 1.3 is enabled!
    2011-06-28 16:10:56 [INFO] plugins/Help/ExtraHelp/wegen.yml
    2011-06-28 16:10:56 [INFO] plugins/Help/ExtraHelp/wesel.yml
    2011-06-28 16:10:56 [INFO] plugins/Help/ExtraHelp/commandbook.yml
    2011-06-28 16:10:56 [INFO] plugins/Help/ExtraHelp/wenav.yml
    2011-06-28 16:10:56 [INFO] plugins/Help/ExtraHelp/multiverse.yml
    2011-06-28 16:10:56 [INFO] plugins/Help/ExtraHelp/worldguard.yml
    2011-06-28 16:10:56 [INFO] plugins/Help/ExtraHelp/weutil.yml
    2011-06-28 16:10:56 [INFO] plugins/Help/ExtraHelp/weclip.yml
    2011-06-28 16:10:56 [INFO] plugins/Help/ExtraHelp/wehistory.yml
    2011-06-28 16:10:56 [INFO] plugins/Help/ExtraHelp/worldedit.yml
    2011-06-28 16:10:56 [INFO] plugins/Help/ExtraHelp/wetool.yml
    2011-06-28 16:10:56 [INFO] [HELP] 157 extra help entries loaded
    2011-06-28 16:10:56 [INFO] [HELP] Permissions enabled using: Permissions v2.7.3
    2011-06-28 16:10:56 [INFO] [HELP] Help 0.2.4.1 enabled
    2011-06-28 16:10:56 [INFO] iChat (v2.3.1) enabled^[[0m
    2011-06-28 16:10:56 [INFO] WorldEdit 4.6 enabled.
    2011-06-28 16:10:56 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-28 16:10:56 [INFO] [Permissions] version [2.7.3] (Phoenix)  loaded
    2011-06-28 16:10:56 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-28 16:10:56 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-28 16:10:56 [INFO] [Stargate] Found Permissions (v2.7.3)
    2011-06-28 16:10:56 [INFO] [MultiVerse] Found Permissions, enabling commands.
    2011-06-28 16:10:56 [INFO] [iChat] Found Permissions (v2.7.3)^[[0m
    2011-06-28 16:10:56 [INFO] CommandBook 1.5.2 enabled.
    2011-06-28 16:10:56 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some features have been disabled to be compatible with poorly written serv$
    2011-06-28 16:10:56 [INFO] CommandBook: 0 banned name(s) loaded.
    2011-06-28 16:10:56 [WARNING] CommandBook: Unknown kit item 'null'
    2011-06-28 16:10:56 [WARNING] CommandBook: Invalid amount: ' 128'
    2011-06-28 16:10:57 [INFO] CommandBook: 38 kit(s) loaded.
    2011-06-28 16:10:57 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-28 16:10:57 [INFO] Done (0.592s)! For help, type "help" or "?"
    2011-06-28 16:11:00 [INFO] BearFather [/71.236.229.223:64002] logged in with entity id 323 at ([creative] 2215.09375, 69.0, 650.625)
    2011-06-28 16:11:00 [INFO] WorldGuard: Loaded configuration for world 'creative"
    2011-06-28 16:11:01 [INFO] Loaded world: creative
    2011-06-28 16:11:01 [INFO] [MultiInv] Shared worlds loaded with no errors
    2011-06-28 16:11:02 [INFO] WorldGuard: 66 regions loaded for 'creative'
    2011-06-28 16:11:08 [INFO] WorldGuard: Loaded configuration for world 'nether"
    2011-06-28 16:11:58 [INFO] WorldGuard: Loaded configuration for world 'skyworld"
     
  13. Offline

    redspider

    cool, nice work
    well, i could use the money. but i'm no prostitute ;) there is a donation link below the download button.
    yes, it's a multiverse problem... totaly forgot about that. will be fixed in the next version (if there will be one, see below)

    the official pistons will be released tomorrow. let's see, what they're capable of and how modable they are with bukkit.
    and maybe if there is still the request for further development of this plugin i'll try to find some time to do so.
     
  14. Offline

    Poliice

    Well if you make sticky i'll donate.
     
    Benjaneer likes this.
  15. Offline

    UFTimmy

    Jeb announced that the real piston won't crush blocks when two pistons hit the same block from opposite sides. The original, single player, piston mod does. This breaking block function allows cobblestone generators to mass produce cobble and other fun things.

    Does this one allow blocks to be broken when crushed from two sides?
     
  16. Offline

    redspider

    nope. would also be one thing to add, if continued
     
  17. Offline

    UFTimmy

    Thanks for the fast response.

    Well, with the release of actual pistons tomorrow, that would be the one feature that I would love. And it'd be a way to improve upon the actual official pistons.

    I'll keep an eye on the mod to see if it gets added. Thanks again for the fast response.
     
  18. Offline

    KTS994

    hey like the piston but since it is used to so much That the extra block That comesout of the Pistons is the type of materials That You Choose diraction with. if u want stone[stone] to com out of the piston using stone[stone] and choose diractions but the piston shud be in iron.. understand what i mean?
    Thank you if you answer.;)
     
  19. Offline

    TCLG6x6

    Best plugin on my server :D now i wait for 1.8 because this plugin is already the 1.7 update :D
     
  20. Offline

    redspider

    not sure if i understood you... but you cannot harvest the extrablock, so it doesn't make any sense. or i might missunderstand you
    thx :D
     
  21. Offline

    CainFoool

    Are sticky pistons in this?
     
  22. This plug-in is now useless -- however, a way to keep it relevant, I think, would be to make it so that it changes the way vanilla pistons work. For example, you could make them launch sand and gravel and entities into the air, break a block when two pistons are pushing on it at once, etc.
     
  23. Offline

    hofec

    R.I.P this plugin :D [diamond]
     
  24. Offline

    BearFather

    Yes please cont and add features to the built in piston. I'm gonna loose half my piston designs cause default pistons dont throw things up.
     
    Benjaneer likes this.
  25. Offline

    shell64

    new piston in the build 1.7 can't kill someone by compressing him, i'm disappointed...
     
  26. Offline

    Soulstormer

    I'd love to see the pistons plugin for 1.7 too, the vanilla pistons really need to move chests, dispensers, furnaces and so on and just throw sand / gravel / players higher.
     
    columb likes this.
  27. Offline

    IronWill1991

    Does the Bukkit modding API makes it possible for pistons to crush blocks like the piston mod? I really need a good automatic cobblestone generator.
     
    Soulstormer likes this.
  28. Offline

    caron300

    this.

    PLEASE. i NEED these

    Great plugin btw, used it b4 1.7
     
  29. Offline

    hofec

    THIS! [diamond]
     
  30. Offline

    greggxter

    funny song
     
  31. Offline

    Soulstormer

    I'd like this too, but I think the sticky piston duping bug has to be fixed first, on my server someone sold a few stacks of diamond blocks using the bug, banned of course.
     

Share This Page