[MECH] Bookit v1.0.0 - Commands with books(BookWorm-compatible) [953]

Discussion in 'Inactive/Unsupported Plugins' started by retsrif, Jun 29, 2011.

  1. Offline

    retsrif

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Bookit - Commands with books

    Pronounced Book-it, not Boo-kit. :)

    Need someone to take a video :p

    Version: 1.0.0

    Description: Ever needed fast execution of a command? Were you ever sitting there watching your opponent give you the final blow as you didn't have enough time to type out '/heal'? Have you ever fallen in lava and couldn't teleport in time, and lost all your precious diamonds, so you resorted to crying in the corner? Well not any more! Hooking into the plugin called BookWorm, which allows you to name and write in books, you can have instant commands at your disposal! All you have to do to execute the command, is to set the command as the title of your book, and then just tap your sneak button while you hold the book.

    Config options:
    • use-up-books, if true, it removes a book upon usage of a command
    • specific-authors, if true, only allows book commands to be executed if they were written by specific people
    • authors, list the authors, separate each name with a comma, no spaces
    Features:
    • Hooks into easy to use BookWorm plugin.
    • Quick way of executing commands.
    • You can remove the book on use, so people don't abuse it.
    • Allows you to set it so only books written by specific people can be executed as a command.
    Changelog:

    1.0.0
    • Plugin created.
    Bugs:

    • Removing books doesn't work properly.
    To-do:
    • Fix removing books on use option.
    Download: Bookit.jar

    Source: Coming soon!

    Thanks to chubbz for the idea!
  2. Offline

    The Angry kat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just pointing this out, but shouldn't there be a [Category] ?
  3. Offline

    retsrif

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Eep, long time since i made a new plugin... thanks :)
  4. Offline

    The Angry kat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    :) your welcome, and this plugin looks very useful! :O
  5. Offline

    Grammar Troll

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I was about to say: "Brilliant idea, but unfortunately I already am using the BookWorm plugin, so I can't use other plugins that use books".
    [IMG]
  6. Offline

    retsrif

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No problem, and thanks! :D I'm looking for someone to make a video, stay tuned to see it in execution :)
  7. Offline

    retsrif

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Lol, do you think i should add something into the title?
  8. Offline

    chubbz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    thanks for making this plugin
  9. Offline

    retsrif

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

    Celtic Minstrel

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Seems like a nice idea, but it occurs to me that setting the command as the title rather than the content is missing the opportunity to give the command book a more descriptive title. Also, allowing for targeted books might be a nice addition: include some special variable (eg the string "$target") in your command and it'll be replaced with whoever or whatever you click on ... though that's probably not as easy as it sounds unless you only allow players as targets.
  11. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Update the plugin to latest recommended build and change the title accordingly.
    Failure to do so will result in this moving to INACTIVE section.
  12. Offline

    Celtic Minstrel

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Um, 935 is the latest recommended, isn't it?
  13. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    nope 953 is
  14. Offline

    Celtic Minstrel

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ...oh. Right, two digits switched. Might've even been a typo.
  15. Offline

    undeadmach1ne

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    wow i just suggested something like this in the bookworm thread =) ill have to try this out and see how it works so far, there is a lot of potential for this combined with other mods...you can sell books at shops that give permissions and all kinds of things. thanks for this =)
  16. Offline

    Celtic Minstrel

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    And if you have the MagicSpells plugin, you can make spellbooks with this.
  17. Offline

    undeadmach1ne

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok just finished looking at it. i think it will be awesome when you work out removing books. i will carry my suggestions over here from the bookworm thread to see what you think. make the title choose whether the book is a normal bookworm book, a bookit book, and whether or not it will be removed on use (also let the triggering words be selectable in the config files). example: if the title contains the word 'scroll' it will be removed after one use, if the word 'tome' is in the title it will remain after being used, and the command itself goes in the book via /write [command].

    thanks for this plugin =)
  18. Offline

    undeadmach1ne

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    this would also be awesome. bookworm can tell who authored a book, i wonder if it can tell who is reading it so you could pull that info and put it in a %user tag for /give %user item type commands or even %target commands like Celtic Minstrel suggested for even more flexibility (heal %target etc).
  19. Offline

    retsrif

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok thanks Celtic for the idea, and @Plague I'll try and get it done, but i can't actually test at the moment... Also, what happened to having a plugin work with at least one of the three previous RB's? @undeadmach1ne can you please test this on 953 for me? :)
  20. Offline

    undeadmach1ne

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i tested it thoroughly tonight on 953. it executes the commands as advertised, but they are not used up (even if true) and i dont think the 'specific-authors' flag works either. i was just able to execute a command using a book i wrote with another username. i will be happy to do any further testing you need as well. just let me know what to do/test/log/record (fraps)/etc...

    my highly complex custom config used during testing procedure:

    Code:
    authors: undeadmach1ne
    use-up-books: true
    specific-authors: true
    
  21. Offline

    retsrif

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    At least the actual plugin works.. Ill try fixing it but i can't probably until the 20th :/ can you record a video of the plugin please?
    Also, i think i know what the problem is so as soon as I can, ill fix this.
  22. Offline

    undeadmach1ne

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    what do you want me to make a video of? just creating a book with a command for a title and then using it?
  23. Offline

    retsrif

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah, and after the fix, the other features if you don't mind :)
  24. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That applies to already released plugins, not submissions
  25. Offline

    retsrif

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh ok
  26. Offline

    MonsieurApple

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

    retsrif

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks @MonsieurApple! :)
  28. Offline

    undeadmach1ne

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    just curious how things are coming with this?
  29. Offline

    retsrif

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Lost the source... D: It's somewhere on a flash drive though... :p I need to get it first
  30. Offline

    undeadmach1ne

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    oh that sucks =( not possible to decompile?

    ps - the face in your picture is perfect for 'lost the source' :) reminds me of this picture. i laughed out loud actually...

Share This Page