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
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
@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?
I would just use Harry Potter Spells, its more simple, and fun! http://dev.bukkit.org/bukkit-plugins/harrypotterspells/
@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
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
@EpicCraft21 By money I mean in game currency, and any random potion, and any random potion effect and also thank you
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?
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
@EpicCraft21 Lol it was pretty sketchy but I found my way xD Thank you for your help 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
Yes, anyone may edit this. That is what I meant by "add furthermore onto this". I'll bump this if needed
@_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).
@_Hybrid Updated to contain color tags and new messages for items. https://www.dropbox.com/s/gr9rqi0nh5e69kv/wizardry.jar?dl=0