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 May 24, 2012@xzKinGzxBuRnzx
Thats the weird thing, my players noticed the lag soon as i updated to R2 so i reverted back to R1 and the lag is still there. Now i am on build 2197 and is still there. Just dont understand it.
-
View User Profile
-
Send Message
Posted May 24, 2012@FuRiouSOne
:S
Perhaps its the R2 Bukkit then. (if it worked fine on R1) I'll give it a try on my server.
-
View User Profile
-
Send Message
Posted May 23, 2012The notes doesnt explain why i have been running magiccarpet for months with no problems till now. My dedicated box is a dual quad xeon L5420 (8 cores), so my box would exceed what your notes say above.
Like i said, i have been running this for months and just now starting to see the mass lag when a few people us the carpet especially when using /mc 5 or higher. Im taking 20-30% CPU spikes.
-
View User Profile
-
Send Message
Posted May 23, 2012@ThisUsernameIsMine
There isn't a permission to block custom carpets for each player. However in the config, there is a custom-carpets option. Which will prevent everyone from using custom carpets.
Yes, you can build on the MagicCarpet. That is sorta the point. Yes it could be used for grief, but only by people who you've gave permission to use it. So if you had say a donator group only that could use this, i'd say this is very unlikely to happen.
Though there is plugins that can easily fix grief.
@FuRiouSOne
Read the Notes above.
-
View User Profile
-
Send Message
Posted May 22, 2012Using bukkit R1 or R2 noticing crazy increase in CPU usage when moving on the carpet. Several people moving while on the carpet can hinder a server. Mind looking into this mass CPU usage?
When using magic against R2 it was even more horrible when anyone attempted to use the carpet and move around. Gets worse if you make the carpet bigger say /mc 5 or /mc 7. Im talking CPU jumps from 5% (no one using) to 20-30% (one person using). Completely lagging out the entire server for seconds.
-
View User Profile
-
Send Message
Posted May 22, 2012Thanks for this cool plugin! :-)
I'm only missing the permission to (dis)allow custom carpets for certain players/groups.
Also, it is possible to build/place a block on the carpet, which increases the chance of carpet-griefing (especially when carpets are allowed in creative).
Hopefully you can do something about (against) this :-)
Best regards,
- ThisUsernameIsMine
-
View User Profile
-
Send Message
Posted May 22, 2012@siemaeniu500
Then I don't see a problem...
@Wires2005
Perhaps a permissions issue. As it can only deactivate (when in use) if they lack permissions to use it.
-
View User Profile
-
Send Message
Posted May 22, 2012@xzKinGzxBuRnzx No I don't reveiving any erro.
-
View User Profile
-
Send Message
Posted May 21, 2012updated to 1.2.5R2.0 and quite a few players complaining its gotten buggy. what they mean by that is the carpet dropping them to their death and this is only since the bukkit update. beforehand it was working fine.
-
View User Profile
-
Send Message
Posted May 21, 2012@siemaeniu500
:S I've been using it all day just fine. Are you receiving an error?
-
View User Profile
-
Send Message
Posted May 21, 2012@xzKinGzxBuRnzx After rebooting the server, players can use the carpet, but a few minutes later they can not
-
View User Profile
-
Send Message
Posted May 20, 2012@siemaeniu500
Whats the problem then? MagicCarpet seems to be compiling under 1.2.5-R2.1-SNAPSHOT, so it looks like nothing is broken.
-
View User Profile
-
Send Message
Posted May 20, 2012But when I update to latest build , magiccarpet dont work
-
View User Profile
-
Send Message
Posted May 20, 2012@siemaeniu500
All your plugins should work fine with latest recommended build. No need to ask for update just yet.
-
View User Profile
-
Send Message
Posted May 20, 2012can you update do recomended build 1.2.5 R2 ?
-
View User Profile
-
Send Message
Posted May 19, 2012@suicidalbanana
Not true, if you freshly install MagicCarpet and PermissionsEx, without any configuration, it won't work.
As long as you or anyone else doesn't have OP permissions, then it can't.
You should take a look again. I have no issues with PermissionsEx.
-
View User Profile
-
Send Message
Posted May 19, 2012Any reply to my question? :(
To recap; im using latest permissionsEx (also for a while & i know what im doing) latest bukkit (#2190) and im using the latest MagicCarpet. Without setting any perms (or having the old ones i set for magiccarpet years ago) everybody can use MagicCarpet?!
-
View User Profile
-
Send Message
Posted May 18, 2012@xzKinGzxBuRnzx
Hey it worked like a charm, thank you for getting back to me so quickly.
-
View User Profile
-
Send Message
Posted May 17, 2012@BranToast75
Okay, I now see the issue. I don't know why, but it seems magiccarpet.* is allowing permission magiccarpet.tp. However magiccarpet.mc isn't, so I'm not entirely sure whats up yet. It could be PermissionsEx.
I would just add magiccarpet.tp to your permissions and problem solved. I'll look for the issue in the mean time. ;)
-
View User Profile
-
Send Message
Posted May 17, 2012Hello, I think i can give you a clearer picture of what the issue is then the rest of these people.
Notes: *I am using the latest version of Magic Carpet. *I am and have been using PermissionsEX for a long time, so i know what im doing. *I have my permissions and config set up right.
Problem: Like the people before it seems to be an issue with PermissionsEx. Even though the nodes are correct, it gives you an error that says "Your carpet can not follow you there!" I tripled checked the config's and permissions nodes listed on this page,and there is not anything that would control this.
Possible Solution: Is the code written for PermissionsEX outdated? Maybe there is a setting that is not listed in the config that controls if the carpet can follow you?
That's everything that i have noticed, and i hope this paints a clear picture for you. Here is my permissions just so you know i'm not setting them up wrong.