MagicCarpet

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 two versions of this plugin, FULL and LITE. This is good for those people who simply don't care for any of the extra features the full version would normally include.

The FULL version includes everything below.

  • Support for WorldGuard. (block players from using the carpet in certain areas)
  • Support for Vault. (economy)
  • Support for MCStats. (https://mcstats.org/plugin/MagicCarpet)
  • Tons of customization through the config.
  • and much more!

The LITE version is just a basic carpet. Nothing more.

  • None of the above ^
  • Possible speed enhancements from the reduced code.

Source Code | Dev Builds

Commands

FULL

  • /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.

There are also some hidden features to /mc, for example. /mc <size>, /mc <material>, /mc give <player>, /mc take <player>, /mc t or /mc tools. Also /ml can also be used for /ml <material>.

LITE

  • /magiccarpet or /mc - Enables / disables the MagicCarpet.

Permissions

FULL

  • 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.* - Allows a player to have access to every MagicCarpet permission.

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, NOTE_BLOCK, WOOL, GOLD_BLOCK, IRON_BLOCK, DOUBLE_STEP, BRICK, BOOKSHELF, MOSSY_COBBLESTONE, OBSIDIAN, DIAMOND_ORE, DIAMOND_BLOCK, SOIL, SNOW_BLOCK, CLAY, PUMPKIN, NETHERRACK, SOUL_SAND, MYCEL, NETHER_BRICK, ENDER_STONE, HUGE_MUSHROOM_1, HUGE_MUSHROOM_2, MELON_BLOCK

Light:

GLOWSTONE, JACK_O_LANTERN

Configuration

This is for the full version only.

# Be sure to use /mr if you change any settings here while the server is running.
crouch-descent: true
center-light: false
default-size: 5
carpet-material: glass
light-material: glowstone
max-size: 9
custom-carpets: false
custom-lights: false
lights: false
save-carpets: true
change-liquids: 'true'
tools: false
charge: false
charge-timebased: false
charge-amount: 20.0
charge-time: 1800
charge-packages:
- alpha:3600:5.0
- beta:7200:10.0
magic: true
  • 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.

Notes

WorldGuard support has been added, its nothing major but it works. Here is how to use it...

  • Create a region. (/region define test player)
  • Block the carpet (/region flag test carpet deny)
  • 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.

Stats

magiccarpet-stats.com

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of steenpad steenpad May 20, 2013 at 14:27 UTC - 0 likes

    It don't want to works @ my server..

  • Avatar of ohjays ohjays May 18, 2013 at 12:18 UTC - 0 likes

    Been playing with blocing this in worldguard and that seems to work fine, but would it be possible to have some sort of safe decent built in, as it is the result now is death from falling from a long height :).

    Last edited May 18, 2013 by ohjays
  • Avatar of mchiappinam mchiappinam May 17, 2013 at 01:30 UTC - 0 likes

    The flag of use / mc in protected areas is not showing up!!

  • Avatar of NUKEDZOMBIE NUKEDZOMBIE May 15, 2013 at 18:17 UTC - 0 likes

    @ xzKinGzxBuRnzx

    I'm trying to use full. When I download the file I get both lite & full folders but no config file.
    I want my players to be able to customize their carpets. I'm just not too sure why it's not working.
    I use my host's FTP. So I'm getting this download file.

    Last edited May 15, 2013 by NUKEDZOMBIE
  • Avatar of xzKinGzxBuRnzx xzKinGzxBuRnzx May 15, 2013 at 16:26 UTC - 0 likes

    @NUKEDZOMBIE: Go

    Lite doesn't have a config.

  • Avatar of ohjays ohjays May 15, 2013 at 02:07 UTC - 0 likes

    You did select one of the jars either in the lite or the full and then copied that "single" "jar" only into your servers plugins folder right :)

  • Avatar of NUKEDZOMBIE NUKEDZOMBIE May 14, 2013 at 23:33 UTC - 0 likes

    When I download this I'm not getting the config file I only get the jar file.
    It comes with a full & lite folder I tried deleting the lite & it still does not work.
    I also made my own config file with pasted the config from your file & still does not work!

    Is there something we're missing?

  • Avatar of Schneidertm Schneidertm May 11, 2013 at 07:50 UTC - 0 likes

    @xzKinGzxBuRnzx: Go

    Wow I don't know how to thank you. So fast that's the madness!

    Thanks!

  • Avatar of xzKinGzxBuRnzx xzKinGzxBuRnzx May 10, 2013 at 16:31 UTC - 1 like

    @Schneidertm: Go

    Added a config option for it. Grab the latest developer build from the link above.

  • Avatar of Schneidertm Schneidertm May 10, 2013 at 11:09 UTC - 0 likes

    How to disable the firework effect? If there is no way please change this soon!

    Thanks.

Do you like MagicCarpet?

  1. Choices:

  1. Results
  2. 9 comments

Facts

Date created
Aug 27, 2011
Categories
Last update
May 12, 2013
Development stage
Release
Language
  • enUS
License
GNU General Public License version 2 (GPLv2)
Curse link
MagicCarpet
Downloads
344,440
Recent files
  • R: 2.3.1 for CB 1.5.2-R0.1 May 12, 2013
  • R: 2.3 for CB 1.5.2-R0.1 May 09, 2013
  • R: 2.2.9 for CB 1.4.7-R1.0 Mar 05, 2013
  • R: 2.2.8 for CB 1.4.7-R1.0 Feb 16, 2013
  • R: 2.2.5 for CB 1.4.5-R1.0 Dec 25, 2012

Authors