Rotate
Rotate
Rotate Minecraft Blocks and Change Paintings
Rotate is a very simple plugin, which enables you to rotate blocks in Minecraft. Ever had that annoying moment when your stairs got placed in the wrong direction, or logs going crazy? Rotate aims to solve that by giving you a tool to rotate and fix those blocks. To make things even sweeter, Rotate has WorldGuard and plugins like Swatchdog compatibility, so don't worry about griefers turning all your blocks around. Here's the full list of blocks that are supported:
- Stairs
- Heads
- Rails
- Slabs
- Logs
- Pistons
- Furnaces
- Dispensers and Dropers
- Paintings
- Pumpkins and Jack 'o Lanterns
- Chests, Trapped Chests, Ender Chests and Double Chests
Using Rotate couldn't be easier. Once you've downloaded the file and placed it in your plugins folder, simply reload your plugins (or restart your server) and then, while holding a tool (hoe, axe, pickaxe, sword, stick or arrow) run the command. That will active Rotate on that tool. Then, it's just a matter of clicking on blocks to rotate them!
Note that by default permissions are disabled. If you want to use permissions, set it to true in the Rotate config file (generated when you first run the plugin). You can see what permissions are available below.
You can also choose to save players' tools or not: if you don't want your players to type each time they connect the /rotate tool command, set save-players-tools
to true in the config.yml
, otherwise, set it to false.
As well, you are able to set a default tool in the config. See Valids Tools to get a list of IDs. Set default-tool
to -1 if you don't want any default tool, as it's setted by default.
Finally, you can prevent your players from rotating certain types of block by writing false
in front of them in the config file.
Please note that Rotate is in development, and though most features should work, there are and will be bugs. The code is open-source though, so feel free to check out the Github page and fork the code, improve it and fix bugs.
To see the Rotate capabilities, you can also watch our video on Youtube.
Links
Valids tools
To remain consistent, Rotate doesn't let players use items such as blocks of sand, dirts, redstone... Here are the items which can be used with Rotate and their IDs:
-
Hoes:
- Wooden hoe (290)
- Stone hoe (291)
- Iron hoe (292)
- Diamond hoe (293)
- Golden hoe (294)
-
Axes:
- Wooden axe (271)
- Stone axe (275)
- Iron axe (258)
- Golden axe (286)
- Diamond axe (279),
-
Pickaxes:
- Wooden pickaxe (270)
- Stone pickaxe (274)
- Iron pickaxe (257)
- Diamond pickaxe (278)
- Golden pickaxe (285)
-
Shovels
- Wooden shovel (269)
- Stone shovel (273)
- Iron shovel (256)
- Golden shovel (284)
- Diamond shovel(277)
-
Swords:
- Iron sword (267)
- Wooden sword (268)
- Stone sword (272)
- Diamond sword (276)
- Golden sword (283)
- Sticks & Arrows (280 & 262)
Commands
/rotate tool
Sets the tool you are holding as the rotate tool. If save-users-tools is setted to true in the config, players won't have to type this command each time they connect.
/rotate reset
Resets the rotate tool set using the previous command.
/rotate getDefaultTool
Get the name of the default rotate tool setted in the config.
/rotate setDefaultTool
Sets the tool you are holding as the default rotate tool in the config. This command is by default for ops only.
Permissions
rotate.access
Gives access to the Rotate command and tools, excepted the /rotate setDefaultTool command.
rotate.set-default-tool
Gives access to the /rotate setDefaultTool command. This permission is by default only given to ops.
Changelog
- 1.6 Added config settings to enable or disable individual blocks from being rotated.
Important: You will need to delete you
config.yml
file before updating Rotate from 1.5 to 1.6. Otherwise, you will get an error. To save your players' tool, copy and paste the sectionplayers
from the old file to delete to the new generated file. - 1.5 Added support for heads and new 1.4 and 1.5 blocks such as activator rails and trapped chests, and the new painting. Rotated blocks are now seen as broken and replaced blocks for compatibility with block recording plugins like SWatchdog.
-
1.4 Added support for a default tool. Rotate can now save users' tools.
- v1.4.01 Corrected a minor omission.
- 1.3 Added support for permissions and a config file.
- 1.2 Plugin is available on BukkitDev. Fixed tools.
- 1.1 First Bukkit forum release. Added support for chests and pumpkins.
- 1.0 Code is available on Github.
@Pocketkid2
Not yet, I should be working on it to update and upgrade Rotate.
Does this support 1.7? Will it support vertically oriented dispensers and droppers?
@BongoMice
thx for fixing, hope this will help with some of the griefing issues.
@GetSome1775
We will edit our Config.yml and our code as soon as possible, so that each kind of rotatable item can be enabled/disabled by the admin. And if you get any error message in the log when a locked chest is rotated, could you send us what you get? Thanks for commenting!
This is a nice plugin, but i noticed a problem: rotating chests that are locked by BlockLock/similar plugins causes the lock to be removed. Is there a way you can add individual permissions/options for each rotatable item to turn off chests/etc?
@soulman95
Unfortunately, I think there is no way to rotate crafting benches: Rotate uses block's data to rotate it, and crafting bench has no data. I think crafting benches facing the wrong direction is a Texture pack issue.
Could you add crafting benches? With certain texture packs crafting benches face a certain way. I would like to be able to rotate it to the correct position.
@krisdestruction
My English is poor, but my tailor is rich, so I'm not sure that I've understood...
1) If you want us to negate "Use-permissions" at the beginning, I think it's not necessary, administrators can do it themself, isn't it? But if others admins also request that, we'll do it. ;) If on the contrary you are saying that there is a bug with permissions, make a ticket.
2) If I have correctly understood, you want something like a "rotate.access.default-tool" node which allows players to use the default tool and a "rotate.access.own-tool" node which allows players to define themselves a tool? If I'm right, we'll do it, otherwise, could you explain again, please?
3) Rotate already supports World-Guard, but I think I'll add a log of all blocks turned by players.
A few things:
1. If the player does not have rotate.access do not let the player use the commands. Negating it at the beginning is very convoluted.
2. Please include the default tool in the permissions. It'd be easier for my players if I say that this tool is used to rotate blocks without getting them to set /rotate and still restricting access.
3. Please add support for Grief Prevention.
@krisdestruction
Don't worry, I'll do it as soon as I can. I didn't have time to do it, but holidays are coming. ;)
Can you add the new version on GitHub to the one on devbukkit
can you add a config file to get rid of commands?That will be much easier to use
Awesome plugin! Is a huge time saver trying to place those items the direction you want!