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.
-
View User Profile
-
Send Message
Posted Mar 6, 2013@BamBam042
Works for me...
Be sure your running the latest WorldGuard, WorldEdit, and MagicCarpet.
-
View User Profile
-
Send Message
Posted Mar 6, 2013Error , worldguard " unknow flag specified ...
Thanks fixe :)
-
View User Profile
-
Send Message
Posted Feb 17, 2013@xzKinGzxBuRnzx
thx for updating :)
-
View User Profile
-
Send Message
Posted Feb 17, 2013@KoolSource
@johnbrasil
Fixed and re-added. http://xzkingzxburnzx.tk/ for the latest build.
-
View User Profile
-
Send Message
Posted Feb 17, 2013I install the new Mc, and look this erros down:
00:00:00 at net.digiex.magiccarpet.VaultHandler.<init>(VaultHandler.java:27) 00:00:00 at net.digiex.magiccarpet.VaultHandler.getVault(VaultHandler.java:78) 00:00:00 at net.digiex.magiccarpet.VaultHandler.<init>(VaultHandler.java:27) 00:00:00 at net.digiex.magiccarpet.VaultHandler.getVault(VaultHandler.java:78) 00:00:00 at net.digiex.magiccarpet.VaultHandler.<init>(VaultHandler.java:27) 00:00:00 at net.digiex.magiccarpet.VaultHandler.getVault(VaultHandler.java:78)
And i upgrate the plugin vault, and this error continues.. What i need to do?
-
View User Profile
-
Send Message
Posted Feb 17, 2013@xzKinGzxBuRnzx
What happened to the size permissions?
Such as: - magiccarpet.mc.3 - magiccarpet.mc.5
I used to have different sizes for different groups. Now they don't work :(.
Is this feature coming back?
-
View User Profile
-
Send Message
Posted Feb 16, 2013@Ryan6578
Jenkins always has the very latest, it builds directly from the source code anytime its been changed.
It should not have a problem with NCP. If you are having problems though after trying the latest version let me know and I'll see what I can do to fix that.
-
View User Profile
-
Send Message
Posted Feb 16, 2013@xzKinGzxBuRnzx
Is 2.2.8 the latest version on the Jenkins? Also, do you know what may be causing the issue with not being able to descend? Is it a NCP issue? Because I don't see any flags with NCP when someone tries to descend.
UPDATE: It is an issue with NoCheatPlus.
-
View User Profile
-
Send Message
Posted Feb 16, 2013@Ryan6578
http://xzkingzxburnzx.tk/ or just wait till Bukkit approves 2.2.8 which was submitted 6+ hours ago.
-
View User Profile
-
Send Message
Posted Feb 16, 2013Is there an updated version for 1.4.7? I'm having issues where players on my server try descending with MagicCarpet, but they keep getting put back to their original height.
-
View User Profile
-
Send Message
Posted Feb 12, 2013@flawlessbraz1
Are you using any other plugins which try to prevent this? There is coding in MagicCarpet to prevent this so it shouldn't be happening...
You could always set allow-flight on the server.properties file but I would only do that as a last resort.
-
View User Profile
-
Send Message
Posted Feb 12, 2013I am a server own and when I enable mc for myself to show people sometimes I tend to get kicked saying flying is not enabled on this server. any idea why ?
-
View User Profile
-
Send Message
Posted Feb 12, 2013@drewbzz @hunted2
Could the both of you try deleting your MagicCarpet folder, to reset the config and carpets.dat and then see what happens. As I'm running 2.2.7 now and CPU is at 1%-10% at most but it is certainly not maxing out a core.
Though that is just a local server... I'll look into this anyways.
Update: I've looked into and the cause seems to be related to saving carpets to the carpets.dat. If your looking for a quick fix, simply set save-carpets to false.
Update : I've finished looking into it, spent all day trying to figure it out and reverting all my recent changes, unable to find the smallest bug ever. Finally I did manage to find the issue. It was related to MCStats and carpets.dat. There was a never-ending loop there that caused this CPU abuse. Anyways I changed a lot more so I'm keeping the build in development until I've completely tested it. If however you would like to get it now you can at http://xzkingzxburnzx.tk/
-
View User Profile
-
Send Message
Posted Feb 12, 2013Magiccarpet full 2.2.6 and 2.2.7. Latest Bukkit RB 1.4.7 Maxing out one core on my machine. E-1230v2 processor, so definitely a bug. No reason it should max out 3.3GHz. Finally tracked the issue down to this plugin and resolved when I disabled.
Critical, because the max jumps cores and when it hits core0 (main java thraed) it kills the server.
I will have this plugin disabled until a bugfix (might try lite).
-
View User Profile
-
Send Message
Posted Feb 11, 2013il with a minecraft hosting and when i Use magiccarpet Full it (FULL)y maxing out the cpu but when i run like its not maxing out the cpu is there some think wrong and it drops players
No error in console
-
View User Profile
-
Send Message
Posted Feb 7, 2013@baemboo
Your problem is LightVote based on that error. "Zeile 111413: 2013-02-07 13:15:32 [SEVERE] at com.gmail.zariust.LightVote.LVTPlayerListener$timeReset.run(LVTPlayerListener.java:88)"
@ohjays
Sorry, none that I know of.
@MegaBoomer41
Fixed that.
@Jay_Cool4555
First I've ever heard that. It could just be lag. Disable lights in the config.
@Snaggles
I'll look into this soon.
-
View User Profile
-
Send Message
Posted Feb 7, 2013-
View User Profile
-
Send Message
Posted Feb 3, 2013Is there a way to fix the handling when standing on slabs/wheat,carrots and such if find i cant fly up unless i get of them ??.
thanks for another excelent plugin, great help when world editing
-
View User Profile
-
Send Message
Posted Feb 2, 2013Your carpets Variable is not visible! (private?) So i cant use the API
-
View User Profile
-
Send Message
Posted Jan 24, 2013Theres a Glitch. if you do /ml on a Carpet the Carpet wont move.