[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

    Benomnomnom

    I keep getting the error
    21:08:37 [WARNING] Could not load piston: java.io.InvalidClassException: Piston
    @-1026, 63,260 removed
    21:08:37 [SEVERE] Unable to load BukkitPistons: java.i:confused:ptionalDataException

    the position of the pistons that it says were removed always changes and some of my pistons lose which direction they were pointing, this happens even if I shut down the server properly.
    I have made a copy of the save.bin file that I keep restoring in order to get my pistons working again but it would be nice if they would retain their direction.
     
  3. Offline

    rity177

    does this also push activated tnt like in the original piston mod?
     
  4. Offline

    jedimaster0

    I use go-network servers. I use the stop button to shut down my server. It appears it just stops the server without shutting it down ??? So my pistons aren't generating a save file at all, and i would like to request a "Force Save" command for people like me :)

    Code:
    
    2011-05-01 20:25:11 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-01 20:25:11 [WARNING] **** NOT ENOUGH RAM!
    2011-05-01 20:25:11 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-05-01 20:25:11 [INFO] Loading properties
    2011-05-01 20:25:11 [INFO] Starting Minecraft server on *:25577
    2011-05-01 20:25:11 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-05-01 20:25:11 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-05-01 20:25:11 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-05-01 20:25:11 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-05-01 20:25:11 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-700-gf3ae4c3-b733jnks (MC: 1.5_02)
    2011-05-01 20:25:11 [INFO] Preparing level "Jedimaster's World of Minecraft"
    2011-05-01 20:25:11 [INFO] Preparing start region
    2011-05-01 20:25:13 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-05-01 20:25:13 [INFO] Loading BukkitPiston 0.51
    2011-05-01 20:25:13 [INFO] CommandBook 44-wiz enabled.
    2011-05-01 20:25:13 [INFO] CommandBook: 0 banned name(s) loaded.
    2011-05-01 20:25:13 [INFO] CommandBook: 3 kit(s) loaded.
    2011-05-01 20:25:13 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-01 20:25:13 [INFO] [CookieMonster] Attached to iConomy.
    2011-05-01 20:25:13 [INFO] [CookieMonster] v1.3.3 loaded successfully.
    2011-05-01 20:25:13 [INFO] [CookieMonster] Developed by: [jascotty2, Coelho]
    2011-05-01 20:25:13 [INFO] CraftBukkitUpToDate version 2.5.1 is enabled!
    2011-05-01 20:25:13 [INFO] [Permissions] version [2.7.2] (Phoenix) loaded
    2011-05-01 20:25:13 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-01 20:25:13 [INFO] FlowSwitch version 1.2 is enabled!
    2011-05-01 20:25:13 [INFO] godPowers version 2.0 is enabled!
    2011-05-01 20:25:13 [INFO] Growbie version 2.4 enabled.
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\BukkitPiston.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\CommandBook.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\FlowSwitch.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\godPowers.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\Help.yml
    2011-05-01 20:25:13 [SEVERE] [HELP] Error!
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.util.Map
    at me.taylorkelly.help.HelpLoader.load(HelpLoader.java:33)
    at me.taylorkelly.help.Help.onEnable(Help.java:38)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\HomeX.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\iConomy.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\iConomyBankAccount.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\Lampstone.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\Lockette.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\SignTrader.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\Sortal.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\Stargate.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\WorldEdit weclip.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\WorldEdit wegen.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\WorldEdit wehistory.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\WorldEdit wenav.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\WorldEdit wesel.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\WorldEdit wetool.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\WorldEdit weutil.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\WorldEdit.yml
    2011-05-01 20:25:13 [INFO] plugins\Help\ExtraHelp\WorldGuard.yml
    2011-05-01 20:25:13 [INFO] [HELP] 171 extra help entries loaded
    2011-05-01 20:25:13 [INFO] [HELP] Permissions enabled using: Permissions v2.7.2
    2011-05-01 20:25:13 [INFO] [HELP] Help 0.2.4.1 enabled
    2011-05-01 20:25:13 [INFO] HomeX enabled
    2011-05-01 20:25:13 [INFO] [iConomy] Logging is currently disabled.
    2011-05-01 20:25:16 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    2011-05-01 20:25:16 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    2011-05-01 20:25:16 [INFO] [iConomy] hooked into Permissions.
    2011-05-01 20:25:16 [INFO] Lampstone version 0.6 is enabled.
    2011-05-01 20:25:16 [INFO] [Lampstone] 143 lampstones loaded.
    2011-05-01 20:25:16 [INFO] Lockette version 1.3.7 is being enabled! Yay! (Core version 1.0)
    2011-05-01 20:25:16 [INFO] Lockette: Detected craftbukkit build [733] ok.
    2011-05-01 20:25:16 [INFO] Lockette: Linked to Permissions plugin version 2.7.2
    2011-05-01 20:25:16 [INFO] Lockette: Ready to protect your containers.
    2011-05-01 20:25:16 [INFO] Pitfall version 0.5 is enabled!
    2011-05-01 20:25:16 [INFO] [SignTrader] iConomy found, using it.
    2011-05-01 20:25:16 [INFO] [SignTrader] Permission found, using Permissions from TheYeti
    2011-05-01 20:25:16 [INFO] [SignTrader] version 1.0.7 has been enabled.
    2011-05-01 20:25:16 [INFO] [Sortal] version 2.7 is enabled!
    2011-05-01 20:25:16 [INFO] Stargate v.0.4.1 is enabled.
    2011-05-01 20:25:16 [INFO] [Stargate] Loaded 1 gate layouts
    2011-05-01 20:25:16 [INFO] [Stargate] {Jedimaster's World of Minecraft} No stargates for world
    2011-05-01 20:25:16 [INFO] [Stargate] Found Permissions (v2.7.2)
    2011-05-01 20:25:16 [INFO] [Stargate] Found iConomy (v4.65)
    2011-05-01 20:25:16 [INFO] WorldEdit 252-wiz enabled.
    2011-05-01 20:25:16 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-01 20:25:16 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-01 20:25:16 [INFO] WorldGuard: (Jedimaster's World of Minecraft) Single session is enforced.
    2011-05-01 20:25:16 [INFO] WorldGuard: (Jedimaster's World of Minecraft) TNT ignition is PERMITTED.
    2011-05-01 20:25:16 [INFO] WorldGuard: (Jedimaster's World of Minecraft) Lighters are PERMITTED.
    2011-05-01 20:25:16 [INFO] WorldGuard: (Jedimaster's World of Minecraft) Lava fire is blocked.
    2011-05-01 20:25:16 [INFO] WorldGuard: (Jedimaster's World of Minecraft) Fire spread is UNRESTRICTED.
    2011-05-01 20:25:16 [INFO] WorldGuard: Loaded configuration for world 'Jedimaster's World of Minecraft"
    2011-05-01 20:25:16 [INFO] WorldGuard 5.0-alpha10 enabled.
    2011-05-01 20:25:16 [INFO] Done (0.521s)! For help, type "help" or "?"
    2011-05-01 20:25:23 [INFO] The automatic update-Check only work every 6 hours, the last check was 40 minutes ago.
    2011-05-01 20:25:27 [INFO] Jedimaster0 [/96.18.95.180:54250] logged in with entity id 161
    2011-05-01 20:25:27 [SEVERE] java.lang.NoSuchFieldError: Security
    2011-05-01 20:25:27 [SEVERE] at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:77)
    2011-05-01 20:25:27 [SEVERE] at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-05-01 20:25:27 [SEVERE] at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-05-01 20:25:27 [SEVERE] at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:438)
    2011-05-01 20:25:27 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:206)
    2011-05-01 20:25:27 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-05-01 20:25:27 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:94)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-01 20:25:27 [SEVERE] java.lang.NoSuchFieldError: Security
    2011-05-01 20:25:27 [SEVERE] at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:77)
    2011-05-01 20:25:27 [SEVERE] at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-05-01 20:25:27 [SEVERE] at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-05-01 20:25:27 [SEVERE] at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:442)
    2011-05-01 20:25:27 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:206)
    2011-05-01 20:25:27 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-05-01 20:25:27 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:94)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-05-01 20:25:27 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-01 20:28:57 [INFO] Jedimaster0 lost connection: disconnect.quitting
    2011-05-01 20:28:57 [INFO] Connection reset
    2011-05-01 20:29:31 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-01 20:29:31 [WARNING] **** NOT ENOUGH RAM!
    2011-05-01 20:29:31 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-05-01 20:29:31 [INFO] Loading properties
    2011-05-01 20:29:31 [INFO] Starting Minecraft server on *:25577
    2011-05-01 20:29:31 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-05-01 20:29:31 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-05-01 20:29:31 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-05-01 20:29:31 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-05-01 20:29:31 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-700-gf3ae4c3-b733jnks (MC: 1.5_02)
    2011-05-01 20:29:31 [INFO] Preparing level "Jedimaster's World of Minecraft"
    2011-05-01 20:29:31 [INFO] Preparing start region
    2011-05-01 20:29:32 [INFO] Preparing spawn area: 93%
    2011-05-01 20:29:32 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-05-01 20:29:33 [INFO] Loading BukkitPiston 0.51
    2011-05-01 20:29:33 [INFO] CommandBook 44-wiz enabled.
    2011-05-01 20:29:33 [INFO] CommandBook: 0 banned name(s) loaded.
    2011-05-01 20:29:33 [INFO] CommandBook: 3 kit(s) loaded.
    2011-05-01 20:29:33 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-01 20:29:33 [INFO] [CookieMonster] Attached to iConomy.
    2011-05-01 20:29:33 [INFO] [CookieMonster] v1.3.3 loaded successfully.
    2011-05-01 20:29:33 [INFO] [CookieMonster] Developed by: [jascotty2, Coelho]
    2011-05-01 20:29:33 [INFO] CraftBukkitUpToDate version 2.5.1 is enabled!
    2011-05-01 20:29:33 [INFO] [Permissions] version [2.7.2] (Phoenix) loaded
    2011-05-01 20:29:33 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-01 20:29:33 [INFO] FlowSwitch version 1.2 is enabled!
    2011-05-01 20:29:33 [INFO] godPowers version 2.0 is enabled!
    2011-05-01 20:29:33 [INFO] Growbie version 2.4 enabled.
    2011-05-01 20:29:33 [INFO] plugins\Help\ExtraHelp\BukkitPiston.yml
    2011-05-01 20:29:33 [INFO] plugins\Help\ExtraHelp\CommandBook.ym

    I deleted all of my server's plugins except this one. It still won't save the piston positions.
     
  5. Offline

    lastsamurai

    I want more option setting like "push length".
    because I want to push up 2 blocks high in one Action

    Ex: /set push (number)
     
  6. Offline

    DirtySouth

    I cant save the orientation on my pistons, everytime my server goes down, or i restart it by the "stop" command they reset or gets changed.

    I cant build with pistons anymore, i did a 3h project, a factory and now, when i restarted the server, i failed. Cuz i need to tare the whole thing down to make it work again.

    If you got any suggestions, hit me!
     
  7. Offline

    Forecaster

    Any plans to add something similar to the "sticky piston" that was added to the single player mod?

    That would be really awesome!
     
  8. Offline

    jedimaster0

    Ok i kind of answered my own question. I rent a server that I manage and I thought that using their start and stop buttons safely stopped the server. I was wrong. I have to send the stop command in game then stop the server. Now the piston file is generated and saved properly. :)


    ....well not completely fixed. Not "everything" is saved. I destroyed all pistons in my world :( and rebuilt them, stopped the world "safely", checked the logs ( no err0rs ), it said:

    Code:
    2011-05-02 10:51:58 [INFO] Stopping server
    2011-05-02 10:51:58 [INFO] Unloading BukkitPiston 0.51
    2011-05-02 10:51:59 [INFO] Plugin Disabled


    but it didn't save all the piston positions.
     
  9. Offline

    jaybud4

    Updated to .51 -- I can't tell if this is a problem with you or Runecraft.
    Code:
    2011-05-02 15:53:40 [SEVERE] Could not pass event BLOCK_PLACE to Runecraft
    java.lang.NullPointerException
        at Runecraft$BlockListener.onBlockPlace(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$25.execute(JavaPluginLoader.java:352)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at com.bukkit.redspider.bukkitPiston.PistonBlock.shiftAway(PistonBlock.java:624)
        at com.bukkit.redspider.bukkitPiston.PistonBlock.extend(PistonBlock.java:529)
        at com.bukkit.redspider.bukkitPiston.PistonBlock.update(PistonBlock.java:214)
        at com.bukkit.redspider.bukkitPiston.PistonBlock$1.run(PistonBlock.java:167)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:128)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:358)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Removing Runecraft fixed it, but I would rather run both, so if this is a problem with your code, could you please fix it?
    If not, let me know and I'll take it up with them.
    It's not throwing errors at any of my other plugins, like WorldGuard or PreciousStones, although I haven't tested anything serious in that regard.
     
  10. Offline

    redspider

    this is really weird. i don't have any of these loading / saving problems. can anyone send me his/her world + server?
    maybe in a few weeks, when sand works
    maybe when everything else works. we'll see

    @jaybud4 i'll look into it as soon as the loading/saving works correctly
     
  11. Offline

    DirtySouth

    Same thing for me. My server shuts down properly, but all the pistons are crazy or reseted when i restart it
     
  12. Offline

    sinkir

    Contribute

    I have the same bug, its Permission 2.7.2 the cause of bug for my server.

    my error :
    Code:
    02:03:29 [GRAVE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
        at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:60)
        at org.bukkit.plugin.java.JavaPluginLoader$33.execute(JavaPluginLoader.java:400)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at com.bukkit.redspider.bukkitPiston.PistonBlock.contract(PistonBlock.java:212)
        at com.bukkit.redspider.bukkitPiston.PistonBlock.update(PistonBlock.java:194)
        at com.bukkit.redspider.bukkitPiston.PistonBlock$1.run(PistonBlock.java:151)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:128)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:358)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    

    I have the same bug... but not all time


    I have bukkit 740


    I LOVE your BukkitPiston ! THX :D
     
  13. Offline

    jaybud4

    Why would it only affect that one plugin specifically and not any of the other number of plugins I have that use BLOCK_PLACE?
    Furthermore, why would it happen when I'm not using Permissions 2.7.2?
     
  14. Offline

    dwmcc

    Latest GroupManager build here. Bukkit 740, MC Server 1.5_02. Whenever I restart/stop/start my server or sometimes just randomly, the pistons loose their orientation, or just plain old won't work at all. Any fixes for this?

    Thanks,
    dwmcc
     
  15. Offline

    sinkir

    i remove the Permissions plug in : no error
    i reinstall the Permissions plug in : error all time (when piston set to on , or off)

    when i see that i come here to "Contribute" for the plug in dev..

    sorry if this don't help you :/
     
  16. Offline

    valdark

    any chance I could get a configurable material? Iron is used for a few other mods I want to implement and I would like to change pistons to obsidian to make them more difficult to break.
     
  17. Offline

    jaybud4

    It already is. Look in the configuration file.
     
  18. Offline

    sinkir

    PistonMaterial=42
    Replaceable=0, 8, 9, 10, 11, 51, 78, 92
    Destructible=6, 26, 27, 28, 37, 38, 39, 40, 50, 55, 59, 63, 64, 65, 66, 68, 69, 70, 71, 72, 75, 76, 77, 81, 83, 93, 94
    Immoveable=7, 49, 52, 90
    PistonBlockStrength=64
    PistonEntityStrength=1.0
    PistonDamage=10

    ;uncomment the next line to use hand and sticks as tools to change the orientation of the piston
    ;ChangeTools=0, 280

    ; 2 = only the creator can
    ; 1 = ops are allowed, too
    ; 0 = everyone can
    OnlyCreatorCanChangeOrientation=1

    OnlyOpsCanPlacePistons=false
     
  19. Offline

    Calvin

    BLOCK_PLACE event is still spamming the console, anyone know why this is? I have both Runecraft and Permissions installed and I plan on keeping them.
     
  20. Offline

    sinkir

    i don't use Runecraft.
    i never have the BLOCK_PLACE bug whis piston before i use Permission.

    (i use permission for OneBlock plugins (OPS only d'ont works) and for WeatherMan plugin)


    i think Runecraft and piston are not friend , but i don't test it


    Calvin , if you remove RuneCraft AND Permission have you some bugs ?
     
  21. Is there a reason why the piston wont make sand/gravel fly anymore. And if its on purpose why? It was very cool.

    Not trying to be bitchy.
     
  22. Offline

    kaskull

    Permissions suppor?
    I don't want that other people can modufy the direction of my pistons
     
  23. Offline

    redspider

    here's a rough timeline, no guaranty though
    0.52 fixes save file bug (this weekend)
    0.53 fixes runecraft & permission plugin event bugs
    0.6 sand bug fixed
    0.7 improved x/yml config file
    0.8 sticky pistons
    0.9 permission plugin support
    1.0 final release

    take a look at the entry OnlyCreatorCanChangeOrientation in the config file
    should hopefully work again in the next major version
     
    dwmcc likes this.
  24. Offline

    eleMentalist

  25. Offline

    Deages

    also confirming that restarted server = piston orientation is changed/reset.
     
  26. Offline

    dwmcc

    Awesome, can't wait for the fix for the save file bug, other than that, this plugin rocks.

    Thanks
    dwmcc
     
  27. Offline

    Deages

    Reports of iron blocks duping upon server reset/crash if they're set to on. Might want to look into this :O
     
  28. Offline

    sinkir

    Yeaaar \o/

    I Love piston

    THAAAANKssssss... (BOOM)

    :D
     
  29. Offline

    Bokou

    will this permanently change my map like some piston plugin mods? aka if I install this will I be able to uninstall it with no repercussions to my map?
     
  30. Offline

    Ludd

    redspider, could you please consider allowing the pistons to push minecarts from the side in the direction of the rail? The original SSP mod does this.

    Thanks for the plugin!
     
  31. Offline

    kieranthethomas

    What is the likelihood of getting sticky pistons? :D
     

Share This Page