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)
    Minecraft account:
    MCUSERNAME
    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

    OkiFool66

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    it works on the latest build
    Edit*************
    Noob question, how do I get the source from the jar?
  4. Offline

    NickBrahz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Umm im a total noob to this Bukkit software and plugins, so i shoved the MagicCarpet.Jar into the plguin folder, and when i run the server it fails to load it
  5. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What error pops up when you run it?
  6. Offline

    NickBrahz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Could not load plugins/magiccarpet.jar in plugins: nullorg.bukkit.plugin.invalidpluginexception
  7. Offline

    NordicBlue

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    [IMG]

    You made some users happy!
    Thank you very much :D
  8. Offline

    chrislxp

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i get the same error report

    Jan 16, 2011 5:39:22 PM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins/MagicCarpet.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
  9. Offline

    Nipper

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Question: Can I limit on who uses it? If so how? and ty so much this makes building things with out god mod so easy.
  10. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Nipper There isn't a way to apply permissions yet. Bukkit hasn't implemented groups into their API yet, I'll probably wait until then to do something along those lines.
  11. Offline

    chrislxp

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    android how can i get the latest build im pretty sure i have it but just to make sure
  12. Offline

    NordicBlue

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  13. Offline

    feverdream

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Andriod: Welcome to the pain, suffering, and ultimate reward of maintaining a plugin :)

    I was going to do this myself, but good to see somebody else stepping up. You are going to want to get yourself a github.
  14. Offline

    chrislxp

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nordic can i ask you how you got your in blue? on ur server
  15. Offline

    NordicBlue

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I just replied to your private message Chris :)
  16. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  17. Offline

    chrislxp

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  18. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @feverdream Yeah, I saw people posting on there, but I was too tired to try and figure it out then. Speaking of which, it's 5 in the morning here, so I'll see you gents in the morning.
  19. Offline

    NordicBlue

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Android
    I do have a bug, and its quite a big one.
    Once i use your plugin ALL other commands on the server are unable to be used.
    So with the plugin only: /magiccarpet and /mc work, and without i can also use /give and /tp etc etc.
    You might want to have a look at that
  20. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Before I go,

    @NordicBlue I'd rather not base some code around the idea that the user needs another plug-in to use it. Maybe if it becomes the standard thing to use, but even then I doubt it.

    Unless that mod can apply permissions to groups for commands that aren't even part of it? I dunno, I haven't really looked at it.
  21. Offline

    shadydeath999

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i might have a sugestion for the magiccarpet since the glass platform might lag and couse you to fall of and the pop back on it
    maybe make it work like the client side flymod or like the runecraft fly rune
    its just a idea i dont know if its even possible to do so
  22. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @NordicBlue Wait, really? I hadn't noticed that. If others report this problem I suggest not downloading it until I find a way to fix it.
  23. Offline

    NordicBlue

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It somehow throws all commands out except the magiccarpet ones.
  24. Offline

    OkiFool66

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    in case anyones wondering, it doesn't work in the void :p
    the worldedit and general commands work
    could you make it so the glass disappears when the player is no longer on it? other wise there tends to be alot of floating glass hanging around
  25. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oki, can you use any other commands beside /mc?
  26. Offline

    NordicBlue

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I double checked, and its MagicCarpet giving the issue.

    Latest nightly, other plugins running:
    WorldEdit, SimpleProtect, Noon,MyHome,MinecartMania,iStick,Guardian,GroupUsers and General.
  27. Offline

    OkiFool66

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    yes I can use every command I have
  28. Offline

    shadydeath999

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    no respose to my post on page one :(
  29. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well, I've put a warning in the initial post. Sorry to give you troubles.

    @shady, I wont make client mods since they're much more shady legality wise, but I could look into a runecraft mod in the future,

    And@ oki, just noticed your source code question. Just open the .jar with WinRAR like you would a regular .zip, and the source code are in .java files in the bottom folder.
  30. Offline

    OkiFool66

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thank you Android, now the only thing wrong with the plug in as far as I can see is that if you die while on the carpet or warp while on it, the carpet remains
  31. Offline

    Android

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ah, okay. Ill make bugfixes and such tomorrow. Until then, good night
Thread Status:
Not open for further replies.

Share This Page