Filled Wizardry Plugin

Discussion in 'Plugin Requests' started by _Hybrid, Jan 17, 2015.

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

    _Hybrid

    Plugin category: Roleplay

    Suggested name: Wizardry or CraftMagic (or something to do with magic)

    What I want: I am looking for a way to implement two different subjects of magic (in the harry potter universe): Herbology and Divination. I want a few features for each in one plugin
    Divination:
    When doing the command /prophecy, the player has a chance of getting a random item (limited to food, books, and potions), a potion effect (any effect, amplifier of 1 between 1 and 2 minutes of duration), money (from $100 - $1000), or nothing at all (chances of getting something are 1 in 5). I want the reward to be randomized (I am implementing cost and cool down of command with another plugin, so they won't be needed. If others use this plugin, they can find other plugins useful)

    Herbology:
    Players collect certain herbs when an admin does /herb <player> <herb>. There are a few different herbs, and when activated, will give you an effect (more on activation soon):
    - Dittany: Item = Dandelion, effect = complete heal
    - Gillyweed: Item = Vine, effect = water breathing
    - Venomous Tentacula: Item = Lilac, effect = poison
    - Leaping toadstool: Item = Red Mushroom, effect = jump boost
    - Flux weed: Item = Fern (small fern), effect = regeneration
    - Wolfsbane: Item = Azure Bluet, effect = night vision
    (all effects last two minutes)
    To access these, the player does /hpouch. When executed, a gui opens for the player. In the gui are the 6 herbs. Their names are as above, along with the item represented. The only lore is "Amount Collected: #". The # is how many of each the player has. Say they had six, and they clicked it once, they get the effect and it now says five. So, when clicked, the effect is given, and it says you have collected one less. If you click it when there are none (zero) in your pouch, you get a message: "&cYou do not have enough herbs!"

    Ideas for commands:
    /prophecy - Gives a random item, effect, amount of money, etc (explained above)
    -
    /hpouch - opens the Herb Pouch
    /herb <player> <herb> - Adds one specified herb to the players herb pouch

    Ideas for permissions:
    wizardry.prophecy - allows the command /prophecy
    wizardry.pouch - allows the command /hpouch
    wizardry.herb - allows the command /herb

    When I'd like it by: Best before the end of the month (January 2015), but I know this is a larger request, so by all means if you take on this plugin, you can take your time. I won't be mad if you take long.

    If you have any questions, and are confused about what I mean, please tell me, and I will explain as best I can
     
    Last edited: Jan 17, 2015
  2. Offline

    EpicCraft21

    Sounds cool, I'll try if I hv the time
     
  3. Offline

    _Hybrid

  4. Offline

    _Hybrid

    Boopity Bump
     
  5. Offline

    EpicCraft21

    Are you gonna make the buildings, or will this plugin generate the buildings(castle)?
     
  6. Offline

    _Hybrid

  7. Offline

    EpicCraft21

    Ok so only the commands and the items for herbology?

    This should be easy, I'll work on it at school if I have the time, meanwhile at home I'm working on a big project:D
     
  8. Offline

    _Hybrid

  9. Offline

    _Hybrid

    @EpicCraft21
    Hey, sorry to bother you, and I don't mean to rush you,
    but I was wondering if you have an estimated time it will be done?
     
  10. Offline

    EpicCraft21

    The computers at school are going ham, so like maybe the beginning of February?
     
  11. Offline

    _Hybrid

  12. Offline

    _Hybrid

    @WaterBendingDragon
    I have my own custom spells plugin. Its not spells what I am looking for.
    I am looking to add other aspects to the wizarding world into my server.
    Thanks though :D
     
  13. Offline

    EpicCraft21

    The computers are fine, but fore some reason bukkit.org is banned at school. I got past that though, im on /prophecy. Just a few questions:
    What do you mean by money?
    What type of potion?
    What type of potion effect?

    EDIT: I'm working on your No-Crafting plugin too :D
     
  14. Offline

    _Hybrid

    @EpicCraft21
    By money I mean in game currency,
    and any random potion,
    and any random potion effect :D

    and also thank you :D
     
  15. Offline

    EpicCraft21

    In game currency as gold ingots, or another plugin like Iconomy?
     
  16. Offline

    _Hybrid

  17. Offline

    EpicCraft21

    Aw man, I don't think I can give the players something from ANOTHER plugin, so is it okay for just a diamond or something?
     
  18. Online

    timtower Administrator Administrator Moderator

    @EpicCraft21 Vault is an API for economy stuff. You can use that to change iConomy stuff.
     
  19. Offline

    EpicCraft21

    Oh I didn't know that. Thanks!
     
  20. Offline

    EpicCraft21

    Unfortunately, I don't think I can continue this, I just hope someone can add furthermore onto this. I've only completed the /prophecy part, but I never tested it as MC doesn't work for me anymore. You may get an error saying something about "depend".

    http://www.filedropper.com/wizardry
    P.S: I know this website looks enormously sketchy, but I couldn't find anything else, this was the first that came up when searching free file uploading. Good luck :D
     
  21. Offline

    _Hybrid

    @EpicCraft21
    Lol it was pretty sketchy but I found my way xD Thank you for your help :D
    If someone else were to continue this project, would you mind if they used
    your code, or would you rather them make the second part in a separate plugin?

    Thanks for the help,
    Hybrid
     
  22. Offline

    EpicCraft21

    Yes, anyone may edit this. That is what I meant by "add furthermore onto this". I'll bump this if needed [creeper][creeper][creeper][creeper][creeper][creeper][wheatpicked][fire][fire][feather][flintnsteel][cake][cake][cake][cake][cake][cake][skeleton]:D
     
  23. Online

    timtower Administrator Administrator Moderator

    @EpicCraft21 Dropbox ,dev.bukkit.org and the build in file uploader are free.
     
  24. Offline

    _Hybrid

    @EpicCraft21 Thanks

    If anyone is able to continue this, please let me know
     
  25. Offline

    weasel1453

    @_Hybrid
    Ill pick it up, why not.

    Edit: Most of the coding is done, just down to debugging now. Ill work more on it tomorrow, for now its time to sleep.

    Edit 2: Who needs sleep, here it is, all that is left is to add color prefixes to everything (Which I will actually do tomorrow), should be fully functional, I tested it as extensively as I could. If you run into errors/problems/want changes message me as usual.

    https://www.dropbox.com/s/gr9rqi0nh5e69kv/wizardry.jar?dl=0

    This plugin is dependent on vault which can be found here:
    http://dev.bukkit.org/bukkit-plugins/vault/
    The plugin will NOT load if vault isn't found in the server plugin list


    Permissions:
    wizardry.* -- Access to all wizardry commands

    wizardry.prophecy -- access to /prophecy command
    -default true

    wizardry.hpouch -- access to /hpouch command
    -default true

    wizardry.herb -- access to /herb command
    -default op

    Commands:
    /prophecy
    -1 in five chance to recieve a random food item, book, potion, potion effect or money between the amounts of 100 and 1000
    -Currently has random messages when recieving items, this was mostly for debugging I will remove/change them on request
    -If vault encounters an error in crediting a players account, it reports the amount the player should have gotten and encourages them to take a screen shot for an admin to fix later, a severe message is also logged to the console so that the number can be verified.

    /hpouch
    -Opens the herb pouch GUI
    -Each herb applies the requested effect at level 3 for 2 minutes
    -if a player does not have enough herbs it tells the player the requested string

    /herb <player> <herb_name> [amount]
    -Gives the specified player the specified herb
    -amount is optional, defaults to 1
    -accepted herb names are (case insensitive)
    --dittany
    --gillyweed
    --venomous_tentacula
    --leaping_toadstool
    --flux_weed
    --wolfsbane


    There appears to be a small problem on the initial loading of the plugin, a reload or two seemed to fix it. Im not sure if the error is directly from my plugin, vault or iConomy as I was getting errors from all three at once and was too lazy to try to trace all of it (it could likely have been from all of them being run for the first time), I will look into it tomorrow but for now, a couple reloads is the work around (you will stop getting error messages after a reload or two, if you get any at all).
     
    Last edited: Jan 28, 2015
  26. Offline

    _Hybrid

    @weasel1453
    Holy crap... I cannot thank you enough.
    You're amazing :D
     
    Last edited: Jan 28, 2015
    Experminator likes this.
  27. Offline

    weasel1453

  28. Offline

    Experminator

    _Hybrid likes this.
  29. Offline

    weasel1453

Thread Status:
Not open for further replies.

Share This Page