Library Levitate - Register commands the easy way!

Discussion in 'Resources' started by ketrwu14, Oct 24, 2015.

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


    Levitate is an awesome and easy to use Command-Library for Bukkit/Spigot-Plugins.
    It allowes you to register commands with arguments, permissions and description in seconds. There also is no need to register it in the plugin.yml.

    Check out a simple Kill-Command written with Levitate in less than 1 minute:

    • Checks arguments to be vaild
    • Checks permission
    • Registers command directly to Bukkit/Spigot without plugin.yml
    • Supports command aliases
    • Bukkit/Spigot-Version independent
    • HelpMap with detailed Command-List
    • TabComplete
    • Extendable

    Getting started
    Please check our wiki to get started.

    Levitate is available on Github.

    Levitate is licensed under GNU General Public License Version 2.
    Last edited: Oct 25, 2015
  2. Offline


    Wow dude so much more efficient than. p.setHealth(0);
  3. Offline


    I think you have misunderstood something
  4. Offline


    @ketrwu14 No i didn't there is not point of using this lib for making commands.
  5. Offline


    For sure there are reasons.
    You don't need to validate user inputs, create TabCompletion, check permissions and it's faster and cleaner.

    A litte example.
    Give-Command with Levitate:
    And without Levitate:

    And the example without Levitate is longer, has no permission check, help information and TabCompletion. For sure, you can implement it, but it would make the class a lot bigger and messy. And of course you can split it in more classes and methods to keep it clean, or just use Levitate which does this by itself.

    But it's up to you.
    Last edited: Oct 25, 2015
    cococow123 likes this.
  6. Offline


    God damn, I am really impressed. Extremely well done
  7. Offline


    Does it support sub command?
  8. Offline


    Yes, of course.
  9. Offline


  10. Love it :)
    ketrwu14 likes this.
  11. Offline


    Can I put it in a separate class, other than the main class?
  12. Offline


    Of course! You can put anything in any class. Code is very versatile.
  13. Offline


  14. Offline


Thread Status:
Not open for further replies.

Share This Page