[INACTIVE][FUN] MagicCarpet v1.5.6: Take yourself wonder by wonder [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Android, Jan 16, 2011.

Thread Status:
Not open for further replies.
     
  1. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Magic Carpet: (Tested against Build 1000)
    Version: 1.5.6

    THIS PLUGIN IS NOW INACTIVE. THOUGH IT WILL WORK FOR THE VERSION SPECIFIED, IT MAY NOT WORK FOR ANY FUTURE VERSIONS. IT IS NOT LIKELY TO BE UPDATED.

    Magic Carpet is a plugin that allows the user to fly away on a carpet made of glass. By using the command /mc <size>, either a 3x3, 5x5, or 7x7 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.

    Version 1.5 adds a new functionality to the carpet, the Magic Light! To use it, just type in /ml. When you use the carpet, the outer blocks of the carpet will now be glowstone instead of glass. The middle ones shall remain glass, in case you need to look down while moving. To get rid of the effect, just type /ml again.

    The user can also now switch between different modes of descending, either by looking down or crouching. Looking down is the default, and to switch, just type /carpetswitch or /mcs.

    Now, when enabled, this plugin will create two files in its own subfolder in the plugins folder, one called "config.yml" and one called "magiccarpet.properties". The config file will give you three options to edit, whether one crouches to go down by default, whether the MagicLight puts glowstone on the center or the border, and whether to use the properties file for permissions. On intialization, the settings are true , false, and false, respectively.

    The properties file can be used to give permissions to users for the carpet, either by putting the names of the people you want to use the carpet after "can-fly=", or change it to "cannot-fly=" and put those who you do not want to be able to use the carpet. Alternatively, you can use the Permissions plugin.


    Note: If you're getting a message saying "You shout your command, but it falls on deaf ears", it means you either have Permissions and the user does not have permission to use the carpet, or you have magiccarpet.properties and the user does not have permission. If you feel like you're getting this message in error, please check the necessary files to make sure they are right!

    Permissions node: 'magiccarpet.mc' and 'magiccarpet.ml'



    Here's an example of the actions of the commands used consecutively.

    1. /mc : A 5x5 carpet appears.
    2. /ml : Magic Light is enabled.
    3. /carpetswitch: The user now looks down to go down.
    4. /mc 3 : The carpet changes to a 3x3 area.
    5. /mc 3 : The carpet disappears.
    6. /mcs: The user now crouches to go down.
    7. /ml : Magic Light is disabled.
    8. /mc 7: A 7x7 carpet appears.
    9. /mc : The carpet disappears.


    Tutorial Video:


    Thanks to Samkio for providing this excellent video!

    Much thanks to chrisinajar, who made the Magic Carpet plugin for hey0 in the first place, and whose source code I used to help make this plug-in, and to Celtic Minstrel, who helped me greatly in merging the three versions into one.

    This is my first plug-in, so let me know if there are any errors and I'll do my best to fix them! The source code for everything is included in the .jar file.

    Download Version 1.5

    Github


    Use Properties Permissions: false
    Crouch Default: true



    Version 1.5.6
    • MagicCarpet should be working much more smoothly after the updated to 1.7.2
    • Added the option to save the default carpet size in the config.yml
    Version 1.5.5
    • MagicCarpet now removes itself automatically whe it moves to an area without permissions.
    • The admin can set how the MagicLight appears.
    Version 1.5.4
    • The MagicLight now has a Permissions node.
    • Glowstone from the MagicLight does not drop glowstone, no matter who breaks it.
    • The admin can now set the default way to go down in a config file, as well as use this file to set up permissions without another plugin.'
    • Edited the code so that the carpet does not last through transitions to another world where the user does not have permissions.
    Version 1.5.3
    • User can switch between different ways to descend using /carpetswitch.
    • Glowstone from the Magic Light no longer drops dust.
    • carpet only redraws when the user has moved a block.
    Version 1.5.2

    • Fixed an error in the Permissions set up
    • Fixed an error in size changing
    Version 1.5.1

    • Merged 1.2, 1.3, and 1.4 into one .jar
    • Added Magic Light, a glowstone border to the carpet activated by the command /ml
    • Updated to work with the newest recommended build.
    Versions 1.2.5, 1.3.5, 1.4.5


    • Fixed the null pointer error.
    • Users crouch to pull the carpet down now, instead of looking down.
    Versions 1.2.4, 1.3.4, 1.4.4


    • Finally got rid of that pesky trail of glass bug!
    Versions 1.2.3, 1.3.3, 1.4.3


    • Updated to work with the newest version of Bukkit.
    Versions 1.2.2, 1.3.2, 1.4.2


    • Fixed the teleporting bug.
    Versions 1.2.1, 1.3.1, & 1.4.1


    • Edited all of these versions to remove the constructor message, as well as simplifying the code a bit.
    Version 1.4


    • Changed the plugin to work with Nijikokun's Permissions system.
    • Fixed it so the plugin doesn't affect people's cactus buildings. Did this retroactively so it applies to all older versions
    Version 1.3


    • Added a permissions system.
    Version 1.2


    • Added the ability to change the size of the carpet.
    • To move down, one must look straight down and move, instead of just looking straight down. Now you can look down at the scenery without plummeting.
    Version 1.1


    • Fixed a few bugs (leaving behind carpets when warping, other commands not working with plugin). Much thanks to NordicBlue who pointed out a few of my coding errors!

    This post has been edited 2 times. It was last edited by Android Aug 24, 2011.
    ZIPLEX, vongriva, RazorFlint and 22 others like this.
  2.  
  3. Offline

    pkiller162

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Got big problem, other people can use /mc but i,the amin,cant!
    "Could not pass event Player_Command to magic carpet

    Also, why does it say in the server magic carpet version 1.3 is enabled! when i have 1.4?
  4. Offline

    MinehubGaming

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    is this upgraded to work for craftbukkit build 186?
  5. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not yet, I'm working on it. I can't get my test server up right now, I'll post the new version when I can.
    --- merged: Feb 1, 2011 7:29 AM ---
    I have checked it against build 188, and it works. I changed the plugin.yml in version 1.4 to say 1.4

    Also, the name in the plugin.yml is now MagicCarpet, so the space doesn't mess up trying to disable or enable plugins
  6. Offline

    Aukeroorda

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I would really like a 1 size carpet. I know it can be laggy while walking, but for building its perfect!
    Just a suggestion or something like that

    Aukeroorda
  7. Offline

    EvilSeph Bukkit Team Member Administrator

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  8. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  9. Offline

    EvilSeph Bukkit Team Member Administrator

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks :)
  10. Offline

    Z3BRA

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I Need Help Doing The MagicCarpet.MC Thing. HELP ME PLEASE!
  11. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Okay? What seems to be the problem?
  12. Offline

    Z3BRA

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    My Problem. I Am Just Confused. How Do I Modify Permission.yml?
  13. Offline

    Trigger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    When I try the /mc or /mc 7 acually any of the commands, it doesn't work. Is it updated to the newest build?
  14. Offline

    Lim-Dul

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have a request. Yes, it's only one file but can you move magiccarpet.properties from the root dir to /plugins/MagicCarpet/, which is the general Bukkit guideline anyway?
  15. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sure thing. Won't be too difficult, I think.
  16. Offline

    fofogogo23

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh no D: Since the update for Multiworlds, my map is now covered in remainders of glass in they sky... AND worst of all.... 70% of blocks are pure black due to like extreme shadow cause by the floating glass. And if I remove the glass the shadow stays D: How do I fix this! It's horrible D:
    --- merged: Feb 8, 2011 10:20 AM ---
    How do I fix this D: Noooooooooooooo D:!

    Here is a pic: (This is a very SMALL taste of all the dots on the map D:)

    [IMG]
  17. Offline

    Jeppo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Same :(
  18. Offline

    fofogogo23

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  19. Offline

    Greedish

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah, magic carpet is leaving glass behind for me too
  20. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That's odd. I'll start working on fixing it. At least now I'll have time for it with all this snow everywhere.
  21. Offline

    fofogogo23

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Haha :D Ok thank you, so this fix means that the black spots will dissapear? or that in the future it just wont do it anymore?
  22. Offline

    xRGZz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Worked great THANKS!
  23. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I've seen those black spot in shadows before. Usually they go away if you destroy one of the blocks in the shadows.
  24. Offline

    Blackstorm72

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Build #298 CraftBukkit - using Version 1.3 and am not having any issues with glass being left behind. Maybe a quick work around is to use 1.3? Have no idea.
  25. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I've checked version 1.4 against build #299, and it seems to be working fine. Is it always leaving glass behind, or is it after people warp, or what?
  26. Offline

    fofogogo23

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well i have no idea, just it never left glass, then I updated bukkit to the multiworld version and I log in and there are thousands of black spots on the ground, and @Android , I don't want to have to walk around for weeks destroying each block that has shadows, there are like THOUSANDS
  27. Offline

    Vuviboy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This is so awesome, thanks so much :D
  28. Offline

    Jeppo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Do you have DynMap installed on your server?
  29. Offline

    fofogogo23

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  30. Offline

    tekac

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    working fine for me. version 1.4, build #300
  31. Offline

    Jeppo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The problem is DynMap and not MagicCarpet as some of us thought (including me).
  32. Offline

    M1sT3rM4n

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It leaves glass behind when someone using MC log outs and back in.
Thread Status:
Not open for further replies.

Share This Page