MagicCarpet
MagicCarpet
is a plugin that allows the user to fly away on a carpet made of glass. By using the command /mc <size>, a carpet is created. If no size is specified, a 5x5 carpet is created by default. By entering /mc again, the carpet disappears from the world. To go down, the user simply has to crouch down or do /mcs then look down to go down. This plugin makes a great donator perk if your running a large server and you would like to reward your members.
There is however three versions of this plugin, Master, NMS and LITE.
The Master build includes everything below.
- WorldGuard support. (block players from using the carpet in certain areas)
- Vault support. (economy)
- NoCheatPlus support.
- Tons of customization through the config.
- and much more!
The NMS build is the same as the Master only with one major difference. It uses NMS code (net.minecraft.server) for drawing the carpet. This results in significant speed enhancements. However this build can break with each and every Minecraft update.
The LITE build is just a basic carpet. Nothing more.
- None of the above ^
- Minor speed enhancements from the reduced code.
Commands
Master
- /magiccarpet OR /mc - Enables / disables the MagicCarpet.
- /magiclight OR /ml - Lights up your MagicCarpet.
- /carpetswitch OR /mcs - Switches how the Carpet goes down. (shift or by looking down)
- /magicreload OR /mr - Reloads MagicCarpet.
- /magiccarpetbuy OR /mcb - Is used to buy the carpet if charge is enabled.
- /magictools OR /mct - Draws a enderchest and workbench on the players magic carpet.
There are also some hidden features to /mc, for example. /mc <size>, /mc <material>, /mc give <player>, /mc take <player>, /mc <color>. Also /ml can also be used for /ml <material>.
NMS
- Same as Master
LITE
- /magiccarpet or /mc - Enables / disables the MagicCarpet.
Permissions
Master
- magiccarpet.mc - Allows a player to use MagicCarpet.
- magiccarpet.mc.SIZE - Allows the carpet to operate at the specified size.
- magiccarpet.ml - Allows a player to light there carpet up.
- magiccarpet.mcs - Allows a player to switch the way they go down.
- magiccarpet.mr - Allows a player to reload MagicCarpet.
- magiccarpet.mct - Allows a player to have a ender chest and workbench on there MagicCarpet.
- magiccarpet.np - Allows a player to not pay time based charges or one time fees.
- magiccarpet.* - Allows a player to have access to every MagicCarpet permission.
NMS
- Same as Master
LITE
- magiccarpet.mc - Allows the player to use MagicCarpet.
Custom Materials
If your server allows custom carpets, you can use these custom materials to give your carpet a bit more style. This is for the full version only.
Carpet:
STONE, GRASS, DIRT, COBBLESTONE, WOOD, BEDROCK, GOLD ORE, IRON ORE, COAL ORE, LOG, LEAVES, SPONGE, GLASS, LAPIS ORE, LAPIS BLOCK, SANDSTONE, WOOL, GOLD BLOCK, IRON BLOCK, DOUBLE STEP, BRICK, BOOKSHELF, MOSSY COBBLESTONE, OBSIDIAN, DIAMOND ORE, DIAMOND BLOCK, SNOW BLOCK, CLAY, PUMPKIN, NETHERRACK, MYCEL, NETHER BRICK, ENDER STONE, HUGE MUSHROOM 1, HUGE MUSHROOM 2, MELON BLOCK, COAL BLOCK, EMERALD BLOCK, HARD CLAY, QUARTZ BLOCK, STAINED GLASS, STAINED CLAY
Light:
GLOWSTONE, JACK O LANTERN
Colors
Some materials have support for materialData. This allows the players to change the color of the material. You can do this with...
WOOL, STAINED GLASS, STAINED CLAY
Here is a list of supported colors...
white, orange, magenta, light blue, yellow, lime, pink, gray, light gray, cyan, purple, blue, brown, green, red, black
Make sure to enable custom-carpets in the config. Then just type /mc lime stained glass. If lights is enabled in the config do /ml. This will cause the carpet to light up. However if your using stained glass the carpet has a glowing effect which seems to get more intense at night.
Configuration
This is for the Master and NMS builds only.
# Be sure to use /mr if you change any settings here while the server is running. pvp-hide: true charge-timebased: false charge-amount: 20.0 default-size: 5 pvp: false light-material: glowstone change-liquids: 'true' center-light: false charge-packages: - alpha:3600:5.0 - beta:7200:10.0 physics-fun: false lights: false save-carpets: true magic: true tools: false custom-lights: false charge: false charge-time: 1800 crouch-descent: true max-size: 7 carpet-material: glass custom-carpets: false
- crouch-descent - Crouch to descend by default?
- center-light - Light the carpet up with the magic light by default?
- default-size - The default size for all carpets.
- carpet-material - The carpet material.
- light-material - The magic light material.
- max-size - The max size for all carpets.
- custom-carpets - Allow carpets to use custom materials?
- custom-lights - Allows the magic light to use custom materials?
- lights - Allow the magic light to be used?
- save-carpets - Saves stuff, like if a player has a carpet and its size, material, etc.
- charge - Charge players to use magic carpet?
- charge-amount - The amount that should be charged.
- change-liquids - This allows or prevents the carpet from replacing water or lava. To only replace water change 'true' to 'water'.
- tools - This allows players to get a ender chest and workbench on there MagicCarpet.
- charge-time - This is the default time that is given for initial payment. (in seconds)
- charge-packages - This specifies the default packages available. For instance "alpha:3600:5.0". Alpha is the package name, 3600 the time (in seconds), and 5.0 the cost.
- charge-timebased - If enabled will charge players to use magiccarpet on a time basis.
- magic - If enabled will display fireworks when enabling / disabling the Magic Carpet.
- physics-fun - This allows MagicCarpet to mess with in-game physics. I wouldn't enable this. As it can result in floating torches and such.
- pvp - This prevents entity damage when using the carpet to damage or get damaged by other entities (players and mobs)
- pvp-hide - This hides the carpet when a player gets attacked or is attacking other entities (players and mobs)
Notes
In order to prevent a carpet from entering a specific area with WorldGuard. Do this...
- Create a region. (/region define test player)
- Block the carpet (/region flag test blocked-cmds /mc /magiccarpet)
- Enjoy! Now carpets cannot enter or be activated in this area.
Please report any suggestions or bugs you find on the Tickets Page.
The YouTube video on this page hasn't been updated lately. If you've got some YouTube and video making skills, private message me a link to your video and I'll replace the above one.
If you are experiencing lag try disabling lights in the config or using the NMS / LITE builds.
@rasnyderiii
I just installed PEX and its working for me...
(config.yml)
(permissions.yml)
Which gave everyone all magic carpet permissions.
@joannou1
Actually theres 11 lines in the config and yes one actually does say custom-carpets. Which if read and thought about, would tell you that its clearly meant to disable custom carpets. Which is exactly what your wanting. Permissions page here tells you exactly what the permissions are and what there used for. http://dev.bukkit.org/server-mods/magiccarpet/pages/permissions/
@xzKinGzxBuRnzx
Of course, there like 4 lines in the config, and no line says what blocks are allowed, and the permissions are very vague... Everyone has access to make their carpets TNT and Diamonds Blocks... This is such bullshit. I gave only 1 permission, and that is to use the normal carpet.
Can you please PLEASE correct this?
Same permissions problem as most – using PEX. Possible to look into letting pex hook work – or is “use another permission handler” the answer – in which case no need to worry about this awesome looking addition to our server as imho Pex – is still the best.
Thank you, Mish.
@Ronan1337
custom-carpets in the config will disable all custom typed carpets. Meaning they will be forced to use the default carpet and light material. Also configurable via config. By default its normally Glass and Glowstone.
How do you disabled certain blocks from being used by magic carpet such as TNT bedrock and diamond blocks Or only allow glass to be used.
@drewbzz
My Jenkins is down because my internet is down. Bad weather here knocked it out. Heres a dropbox link to the latest build. Please remember this is a developer build so far and could have bugs.
Edit: Now up and running again.
Edit: MagicCarpet 2.1.2 is now released. Check out the files section above and yes it does work with 1.2.3-R0.1 Bukkit.
Some one got a download link for MagicCarpet 2.1.2 Cheers !
@xzKinGzxBuRnzx
Ya i noticed soon as i updated my main server the carpet was going to max height, running bukkit 2022.
@FuRiouSOne
craftbukkit 1.2 V2005+ ave make some correction with 127-256 . (for exemple worldedit don't work correctly with V2005-, but work fine with 2005+)
@FuRiouSOne
I'm running craftbukkit-1.2.2-R0.1-20120302.055956-19 and MagicCarpet 2.1.2 and get to a max of Y:257.6
http://upload.digiex.net/files/se4m1uq9oazyhkd5r6zk.jpg
This photo shows its above 200. Which seems higher than normal to me. Cant even think why you would want to go this high to begin with! However, Magic Carpet has no limits in terms of height. It should go as high as the game allows.
Im sure you are working on it but thought id let ya know. Carpet will not go past 129 height in 1.2 bukkit. Everything else seems to work normally.
Great got it, no more snow trails :) also the resizing great
thanks
@webname
Download the latest build from the link below your comment or look in the forums above. I made it so snow cannot form on carpets anymore.
You can, just do /mc 3 or /mc size, replacing size with a odd number that is not greater than your max-size.
Default size is only for new carpets, such as the very first time you do /mc. The default size is used then. Otherwise it normally uses whatever size you last used.
Is there any way snow can be stopped forming on my carpet and leaving bits of snow scattered in the air where ive lingered :) And can i make it smaller ie set default-size to 3 ( i assume 3x3) but its still doing 5x5
Loving the plugin though, not sure ill let the others know about it, the snow trails are a bit annoying
@Hvarr
R5 is not released yet. Though it does already support it...
http://dev.bukkit.org/server-mods/magiccarpet/forum/33279-get-the-latest-magic-carpet-build-from-jenkins/
I still don't know how your generating these timings but theres nothing more I can do. As some events must use for's which causes it to cycle through all carpets. Your welcome to pull request on github...
Dear sir, it is still not fixed. Timings are still awful. Plugin has worse timings, than towny and essentials mixed together. Please, do something. Also, please, update it to R5.
Thank you very much! Your plugin is awesome.
The permissions dont work I am using PEX and people keep getting no permission
Thanks for the reply.
@JustinFatalx
Thats not what center-light does...
center-light is used to indicate if GlowStone should be activated for all new carpets. If I joined the server and did /mc, It would automatically have a light with the magic carpet, if center-light is enabled. Otherwise it will give me a plain carpet, which I can then do /ml to get the light.
Also the ring of light was removed, this was due to 1.8 lighting system. It causes to much lag.
I have center-light: false and yet it puts the glowstone in the middle of carpet. Its default is false and yet been having it in the middle since I added it. Why is it not putting the glowstone on the outside layer of carpet?