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.
Please add Permissions for the Max size
I would suspect that's probably a client-side glitch; do you mind testing it? That is, after it resets a sign, log out and back in.
If it's not a client-side glitch (ie it's still reset when you log back in), go ahead and create a ticket. :)
it will reset placed signs
Very nice and useful plugin - thanks!
@Adfest
Wait wait, you're saying you get the no teleport permissions error when jumping? That doesn't sound good...
Excellent. That fixed it. Thank you good sir.
@Adfest
@Jungalist81
Please add magiccarpet.tp as well. This was just a added feature by request, to fix issues with another plugin. Just add that permission. It basically stops users from teleporting with the carpet active.
@Adfest
I am also receiving this error
Having a bit of an issue since updating to bukkit build 1337 and I'm not sure what I'm missing.
All of my non OP players with magiccarpet.mc permission can call the carpet, walk around on it, and descend, but when they try to ascend by jumping they get the message "your carpet cannot follow you there" and it doesn't rise. Players who have OP can use it without any issues so it seems to be a permissions thing, but I've looked over my permission setup (permissionbukkit) and it all looks right. I'm at a loss, so here I am. Any ideas?
Also, may or may not be related, but I'm using nocheat. It's never bothered with /mc before, but you never know.
@xzKinGzxBuRnzx
Nope
@th3controller
Thanks! :D
@OwuFail
Addressed this in your ticket.
@ScottSpittle
Isn't there more missing from that error message?
@ziat007
It does! :D
@Godworld
Please open a ticket with a error message then.
@erickingsr
Never seen this. :S Is it still happening with the latest version? If so open a ticket and inlcude a way for me to reproduce this.
Props to you dude! You have saved minecraft servers across the globe!
Issue allowing MC in Mobarena, MA Dev told me to contact you guys.
What is the enhancement in mind? How should it look and feel? Making so having magic carpet on will get disabled when a user enters mob arena!
Please provide any additional information below. I contacted the Mob Arena dev to see if he could fix this, the first quote will be what I sent him. The second is his reply.
This is his reply
Is there anyway you could implement what he said?
2011-10-18 04:51:01 [SEVERE] java.lang.NullPointerException
2011-10-18 04:51:01 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:63)
2011-10-18 04:51:01 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:154)
2011-10-18 04:51:01 [SEVERE] at net.minecraft.server.Packet254GetInfo.a(SourceFile:16)
2011-10-18 04:51:01 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
2011-10-18 04:51:01 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:46)
2011-10-18 04:51:01 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
2011-10-18 04:51:01 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
2011-10-18 04:51:01 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
2011-10-18 04:51:01 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
does it work with bukkit 1317?
This plugin was crashing my server :(
Please fix it.
@rusty3995
I am using multiworld, mcmmo, prefix/suffix and PermissionsEX v1.14 - CB1240 - everything is working 'okay'.
There's just one silly bug within MC that I don't like. If folks are in water/lava and hit /mc it 'pops' them up. Its like it gives them a second layer of carpet below them. I don't know if this was intentional or what.... but needless to say.... players don't drown or die in lava anymore.
Regards, Eric
Need permissionsex for it's multiworld support and prefixs and suffixs and am using mcmmo
@quickclay
I have asked for this for a long time, if you get Tele+ + < without the space between the +. There is a cmd called /tp up
, # ofc being the amount up you wish to go, and it will let you stand on a single glass block, and if you run off it, another one 5 down shows up for you to land on, and again till you are on the ground.
Magic carpet is awesome, but I use voxel sniper, and the 1x1 is great threw tele , but with MC, you would just cause a lot of lag for yourself every time you move...
@rusty3995
Might try super perms / bukkit perms