링크 : http://forums.bukkit.org/threads/fun-magiccarpet-v1-4-take-yourself-wonder-by-wonder-188.704/
Magic Carpet: (Tested against Build 188)
Version: 1.4
A popular plug-in on the Hey0 mod, the Magic Carpet plug-in creates a glass carpet under the player that follows along as the player jumps or moves. To summon it, put in the command /magiccarpet or /mc to make a 5x5 glass carpet appear, and to remove it, just put in the command again. To descend, just look straight down and move, and you'll descend slowly back to earth.
Now you can change the size of your carpet! When you summon it, put in either a 3, 5, 7 after the /mc command. A 3x3, 5x5, or 7x7 carpet will appear based on your input. If you already have a carpet out and you enter the command with a size modifier, it will either change the carpet's size if the size input is different than the current one, or remove the carpet completely if the size input is the same size as the current carpet.
Using the size modifiers are completely optional; using just /mc will make a 5x5 carpet appear, and will also remove the carpet regardless the size of the current carpet.
Now you can change to a 7x7 carpet to keep you from lagging off if necessary, change to a 3x3 when you get close to a project you are working on
Version 1.4 changes the permissions system to work with Nijikiokun's excellent Permissions plugin. In order to use it, install the Permissions plugin first (version 1.4 requires this plugin to work.) Modify your permission file with the following permission: 'magiccarpet.mc' and save. Any user with that permission should be able touse the carpet, otherwise they cannot
Permissions node: 'magiccarpet.mc' This allows the user to all of the sizes of the carpet.
Example use:
Here's an example of the actions of the commands used consecutively.
1. /mc : A 5x5 carpet appears.
2. /mc 3 : The carpet changes to a 3x3 area.
3. /mc 3 : The carpet disappears.
4. /mc 7: A 7x7 carpet appears.
5. /mc : The carpet disappears.
Much thanks to chrisinajar, who made the Magic Carpet plugin for hey0 in the first place, and whose source code I used to help make this plug-in, and to Nijikokun, whose source code for the General plug-in helped me understand how Bukkit worked in the first place.
This is my first plug-in, so let me know if there are any errors and I'll do my best to fix them! The source code for everything is included in the .jar file.
Download Version 1.4, Supports the Permissions Plugin
Download Version 1.3, has permissions system with no need for another plugin
Download Version 1.2, has no permissions system
Github
Changelog:
Version 1.4
* Changed the plugin to work with Nijikokun's Permissions system.
* Fixed it so the plugin doesn't affect people's cactus buildings. Did this retroactively so it applies to all older versions
Version 1.3
* Added a permissions system.
Version 1.2
* Added the ability to change the size of the carpet.
* To move down, one must look straight down and move, instead of just looking straight down. Now you can look down at the scenery without plummeting.
Version 1.1
* Fixed a few bugs (leaving behind carpets when warping, other commands not working with plugin). Much thanks to NordicBlue who pointed out a few of my coding errors!