Intro
Ever dreamed of railroads without blocks under them? Ever wanted to make redstone lamps light up without putting redstone blocks next to them? Well then No Physics is the plugin for you! Using No Physics you can disable, or re-enable, all block physics with a simple command.
You could make furnaces that always stay on, make floating signs, or make floating ladders. No Physics is extremely lightweight, and very easy to use.
Additionally, NoPhysics hooks into World Guard so that you can enable or disable physics in only certain regions of a world, setting it to something different than what it is in the rest of the world!
Installation
- Download No Physics
- Stop your server
- Drag the .jar file to your plugins folder in your server
- Restart your server
- You're done!
- Extremely lightweight
- Enable and Disable physics on a per-world basis
- Permission support
isToggleGlobal
boolean — default: true
Whether or not /physics <enable/disable> should work globally if no world is provided
worlds
boolean map — default: all true
The default value for whether or not physics is enabled in each world
blockTypes
list of strings — default: all block types
What blocks you want NoPhysics to be enabled on. If you don't set this, NoPhysics will work normally (it will be enabled on all blocks).
Unfortunately, this won't always go into effect — currently the only way to check if a block's physics should be canceled when it is broken is very resource-intensive. So, instead, if physics is disabled in a world, you'll get floating blocks when you break blocks below physics-enabled blocks
boolean — default: true
Whether or not /physics <enable/disable> should work globally if no world is provided
worlds
boolean map — default: all true
The default value for whether or not physics is enabled in each world
blockTypes
list of strings — default: all block types
What blocks you want NoPhysics to be enabled on. If you don't set this, NoPhysics will work normally (it will be enabled on all blocks).
Unfortunately, this won't always go into effect — currently the only way to check if a block's physics should be canceled when it is broken is very resource-intensive. So, instead, if physics is disabled in a world, you'll get floating blocks when you break blocks below physics-enabled blocks
Permissions
physics.toggle — allows the player to use /physics — default: OP
Commands
/physics enable [world]
Permission: physics.toggle
Turns physics ON in [world]
use global for [world] to enable physics globally
If this is run by a player and no world is provided, it will enable physics globally if is-toggle-global is set to true in the configuration file. Otherwise, it will only enable physics in the user's current world
/physics disable [world]
Permission: physics.toggle
Turns physics OFF in [world]
use global for [world] to disable physics globally
If this is run by a player and no world is provided, it will disable physics globally if is-toggle-global is set to true in the configuration file. Otherwise, it will only disable physics in the user's current world
/physics status [world]
Permission: physics.toggle
Gets the current status of physics in [world]
Permission: physics.toggle
Turns physics ON in [world]
use global for [world] to enable physics globally
If this is run by a player and no world is provided, it will enable physics globally if is-toggle-global is set to true in the configuration file. Otherwise, it will only enable physics in the user's current world
/physics disable [world]
Permission: physics.toggle
Turns physics OFF in [world]
use global for [world] to disable physics globally
If this is run by a player and no world is provided, it will disable physics globally if is-toggle-global is set to true in the configuration file. Otherwise, it will only disable physics in the user's current world
/physics status [world]
Permission: physics.toggle
Gets the current status of physics in [world]
Hooking into World Guard
Just set the flag "physics" to "allow" to enable block physics, to "deny" to disable block physics, or to nothing to use the world's default value!
Currently, No Physics only supports World Guard 7.0.0 or newer. If you use an older version of World Guard, you should use special 1.3.8 version of NoPhysics (not the most recent upload), which you can download on Spigot here
Feature Suggestions
If you have any suggestions for No Physics, don't hesitate to post them in the comments!
Donations
Any and all donations are appreciated! They help me bring updates to No Physics.
My Other Resources