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.
@Brock_Blocking
Just use magiccarpet.* add it to a default group or such and everyone should then have complete access to MagicCarpet.
@xzKinGzxBuRnzx
Ah gotcha, sorry didnt quite understand how bukkitdev ticket system works i guess. I will try the latest dev build today and recheck the dat file too.
Er whats the link to your jinkins for dev builds?
Could you add a non OP option in the config? So everyone can use. Not setting up permissions just for that.
@FuRiouSOne
It wasn't removed, it was marked as fixed. This makes it not show up anymore, but its still there. You just need a direct link to it. Nothing I can do about that. Just the way this site works. ;(
When making a ticket, use the subscriptions thing. So you'll be notified when I've replied and it will link you back to the page even if I've marked it as fixed.
If you download the latest build from my jenkins this issue is solved.
Also as far as the carpets.dat, if you updated to 2.1.4 and deleted your old carpets.dat. Then it shouldn't be saving 'everyone'. Though it will save anyone that uses the carpet. I'm almost certain I fixed this, as I tested it.
Opened a ticket about a permission problem and it gets removed......
Players have magiccarpet.mc.3 magiccarpet.mc.5 and magiccarpet.mc.7 but when they do /mc 3 5 or 7 they get denied. Having to give my VIPs magiccarpet.* and negative value out permissions i dont want them to have for the carpet size to work for them.
carpet - 2.1.4 Bukkit dev - 2017
Also the dat file is still recording every single player that logs in regardless if they have permission to use the carpet or not. I wouldnt mind disabling saving of carpets and removing that extra data the server has to keep track of :).
Whats the point in opening tickets if they get deleted?
I was using NoLaggExamine http://dev.bukkit.org/server-mods/nolagg/pages/nolagg-examine/ and magic carpet is #1 most CPU consuming plugin on my server, even when nobody is using any carpets. I'm not noticing any actual lag, but my server hardware is pretty good.
Hehe, I always loved this plugin back in the hmod days, and I just got around to thinking, "does anyone still maintain it?" It seems the answer is yes! :) If not I was tempted to recompile it myself. Love the new features you've added. Keep this one alive!
Is the dat file suppose to record every single player on the server regardless if they have carpet access or not? Seems kind of odd it would record everyone. Also i have fixed my lag by just deleting the jar and carpet folder and starting over from scratch and everything seems to be fine now. If lag should come back i will post a ticket about it, might have something to do with the dat file building up but who knows.
@xzKinGzxBuRnzx
Well I don't have the time right now but i'll message you when I do okay.
I'll open a ticket right now.
@TechCraft
Yes, open a ticket. Also if you have time send me the server address and I'll connect and see the issue for myself.
I did what you said, I downloaded the dev build. It works but we are getting a bit more lag when we use the carpet. If the carpet is on /mc 5 it lags a bit more then usual but any other number will just take about 3 seconds to update sometimes more then that.
Do you want me to open another ticket.
@FuRiouSOne
You should open a ticket for this. Also try deleting carpets.dat then make sure custom light and water light is disabled in the config. I personally dont have any lag while testing. Could you of updated or changed anything else?
Again open a ticket so we can get to the bottom of the issue properly.
Getting complaints of masive lag when using the carpet now. Running 2.1.3 on bukkit 2083 Dev. Video below shows more in detail. I get 100 ping to the server and have never lagged like this on the carpet till now. Have been getting these reports since 2.1.2 but was always too busy to test till now.
Going to try to revert back to 2.1.1 and hope its not a bukkit dev conflict....
Video = http://www.youtube.com/watch?v=3auuU4rlQFs
@TechCraft
Try this one, I think it should fix your issue.
http://xzkingzxburnzx.tk/job/MagicCarpet/12/
How comes magiccarpet.* doesn't let the user get all the carpet sizes?
@xzKinGzxBuRnzx – well thank you Sir ;)
Why is the carpet so slow for me?
@joannou1
Those config options are the same as version 1.5.6! You just needed to regenerate that config. ;)
Hooray! Version 2.1.3 seems to give me more beautiful config options :) Thanks!
@xzKinGzxBuRnzx
I deleted my config, generated another... There's only 4 lines.
....
18:53:25 [INFO] MagicCarpet version 2.1.2 18:53:25 [INFO] Take yourself wonder by wonder on a carpet made of glass. 18:53:25 [INFO] Authors: Android, Celtic Minstrel and xzKinGzxBuRnzx