PhysicsMe
Physics Me
This plugin allows a server admin to customize blocks that fall to the ground, like sand and gravel... Using a easy config file.
Features:
- Add blocks that can fall like sand and gravel.
Currently very simple, but very powerful.
Example config:
blocks: #List of all the blocks. - '30' #The block ID of cobweb. - '88' #The block ID of Soul Sand #To include data values use - 'ID:DATA'
Tutorial
To contact me about this plugin, try IRC. #sk89q on irc.esper.net.
@Varunax @Chaeris
After attempting that myself, I can not reproduce that issue? I started crazily spamming them against a wall with no issues.
Edit: I've just uploaded another version that may fix it.. Because it's the version I test with.
@Varunax
I think it's because of how Soul Sand blocks are acting: They slow you down when you walk on them and actually aren't a full block, it's like if you were just 1/8 of the block under the level that you should get with a normal block, did you notice ?
So I think this difference is making a bug in the plugin, and in the server, BTW do you get the same bug with other blocks when you try it ?
Server crashed from putting down multiple soul sand next to each other very quickly. They all started to endlessly fall and both my client and server froze up.
@Motorman24
I believe it already has damage value ability.
Thanks, it works now. Do you have any plans for adding damage value capabilites?
@Motorman24
You must also have other versions of java. Make sure the servers startup script specifies java 7, by actually starting java from its installation dir.
@Me4502
That's why this is confusing me. I've been running Java 7 on my machine for some time now. I reinstalled it just now to see if I somehow glitched it, but I'm still getting the same error
@Motorman24
You need Java 7.
This is what my console gives me when it tries to load the plugin:
2013-02-26 21:50:16 [SEVERE] Could not load 'plugins\PhysicsMe.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/me4502/PhysicsMe/PhysicsMe : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_4_R1.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_4_R1.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:104) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.UnsupportedClassVersionError: me/me4502/PhysicsMe/PhysicsMe : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more
@Motorman24
What error do you get?
Could you possibly compile a version of this for Java 7? For some reason I can't run plugin from outdated java versions on my server
@XGhostCrawlerX
Hmm I suppose I could
Could you add something to prevent blocks from falling? For the blocks that do like Dragon-Egg's, Sand and Gravel
@DerensPlugins
Sure, I'll post it on this page so others will see it.
I could make a video for this. Im getting a partnership soon. Would you like me to make a video of it?
Sorry, I didn't know that.
@netsurfer912
No, the falling sand entity... 1.3 allowed it to use a custom block ID and data
Ahw right, you use the piston's block entities?
@netsurfer912
Exactly how sand and gravel work, but with the texture of the block that is falling.
How do blocks fall? Do you generate a sand- or gravel-entity or does the block just appear where it should have landed? (I couldn't try it out yet)