Potion Effect Items

Discussion in 'Archived: Plugin Requests' started by fatcake24, Jun 5, 2013.

  1. Offline

    fatcake24

    Plugin category: PvP, Weapons, Potions

    Suggested name: Bulk Items

    What I want: I would like a plugins that allows me to create custom items with configurable names, lores, enchantments, and special effects to go with it. I want the only possible way to obtain the items is by typing a specific command that then takes the item from the config file and gives it to the player's inventory. Also, if possible add a currency system so it costs in-game money to get the item (prices would be configurable per item). Last, I would like to be able to edit the potion effect times and if there could be a percent chance for it to take place.

    Ideas for commands: maybe /Bulk give (item name) (Player)

    Ideas for permissions: I would like to have it so i can give permission to allow on people with that specific permission node to be able to either get the item when typing the command or not being able to use the items itself.

    Node for being able to get the item via command
    • Bulkitems.(itemname)
    Node for being able to use the item if found in PvP
    • Bulkitems.PvPuse.(Itemname)
    Other comments/ideas:

    I currently use this plugin but the creator has gone in-active and has only been updating, not adding anything new. Here is a link to the plugin I would like it to be based off of: http://dev.bukkit.org/bukkit-mods/custom-items/

    something I would like is to be able to put any enchant on any item from level 1-10
    I would hopefully like the plugin to have the same abilities to this plugin (ex. explosions on impact and lifesteal) but add more potion effect and maybe add it so the weapon user gets effect also (like regen)
    The main potion effects I would like that will get place on the target are:
    • Poison
    • Blindness
    • Slowness
    • Nausea
    ________________________________________________________________

    If you want I would like it if you add so if the user hits a player a good potion buff is given to the player

    ex. fatcake24 hits another player with the special potion effect item. fatcake24 then gets regen for 5 seconds because that item he was using was customized to do that to do that
    ______________________________________________________________________

    I would really appreciate it if someone goes out and makes this plugin for me :) if no one does I can live with the plugin I use currently but would hopefully like to be able to get a better one than that.
     
  2. Online

    timtower Administrator Administrator Moderator

    fatcake24 PM developers if you want the plugin to be private, or post this in the "Show of your bukkit server" section
     
  3. Offline

    fatcake24


    Ok, I removed the part about making it personal to myself, there really isnt a need for that. I really just would like the plugin to be made and I guess trying to make it private may just make things more difficult
     
  4. Offline

    Burnsalan18

    I was just about to get started on a plugin like this. But I might have a problem with the currency thing because I havnt ever implemented currency in my plugins before so we will see about that.
     
  5. Online

    timtower Administrator Administrator Moderator

    Burnsalan18
    Code:
    private boolean setupEconomy() {
            if (getServer().getPluginManager().getPlugin("Vault") == null) {
                return false;
            }
            RegisteredServiceProvider<Economy> rsp = getServer().getServicesManager().getRegistration(Economy.class);
            if (rsp == null) {
                return false;
            }
            econ = rsp.getProvider();
            return econ != null;
        }
    Basic vault implementation
     
  6. Offline

    fatcake24

    Burnsalan18

    Well, if your starting out with this I will be perfectly fine without the currency, just put it out there because if one could do that then if they wanted to then they could. I will be fine without currency. I have no experience what so ever with coder so maybe you could use what timtower said but I really dont understand any of it xD I just run the server and work with configuration to them.
     
  7. Offline

    Ryxuma

    I'll do it! :p
    EDIT: Yeah is there a standard way to integrate with iConomy or whatever economy plugin is being used?
     
  8. Offline

    fatcake24

    Ryxuma

    Yes, I will be using IConomy for the server. And if you are going to make the plugin I would just like to THANK YOU SOO MUCH!!!

    It doesnt need to be perfect, remember that:)
     
  9. Offline

    Ryxuma

    I'm in the process of creating it right now :D - And it will offer a lot more variation than you asked for (all configurable) :D
     
    fatcake24 likes this.
  10. Offline

    fatcake24

    Ryxuma

    Also, quick question, will you be putting the plugin out to the public? I dont care either way but if you could make it private for jut me I would appreciate that. But it is up to you for you are the one making it and your gonna want credit ;)
     
  11. Offline

    Ryxuma

    I like to keep my projects for the whole public - although if you want me to add some stuff specifically (e.g extra effects) I'll add them :)
     
  12. Offline

    fatcake24

    Ryxuma

    I totally understand, like I said in the main post, I would mainly want to have these special features

    • Lighting - Strikes lighting from the sky.
    • Death - Instantly kills the target.
    • Break - Breaks any block instantly. (except Bedrock)
    • Teleport - Teleports to clicked location. (With bow, this location is where arrow fell on ground)
    • Poison - Poisons the target.
    • Disorient - Disorients the target.
    • Explosion - Creates explosion when you click or hit something.
    • LifeSteal - Converts damage to life.
    • Blind - Blinds the target.
    • Fire - Sets clicked block to fire / Sets hit target to fire.
    • Slowness - slows target
    You can add anything else you desire.
    Also, I was planning on having it so you create the special item through a config file and spawn the item from in-game using a command like /bi spawn (item name) (player)
    Here would be an example of what I want the configuration setup to be like:
    Items:
    ItemName:
    ID: (Item Id Number)
    Cost: (Cost of item using IConomy) (Or any currency plugin you choose)
    DisplayName: (The name of the item with colors included ex. &6ItemName)
    UsePermission: (IF this is set to true only players with the permission to have the item can use it)
    Abilities:
    - (abilities)(Can hold more than 1 ability)
    Lore: (The Items Lore. Also includes color)
    Enchantments:
    - (enchantment and its level) (ex. - Sharpness: 3)
    I would like it so any item can have any enchant up to level 10 so I can have an axe thant can have sharpness or a sword with unbreaking ect.
    The permission part would contain connect to if the player who tries to buy the item has permission to "use the item" the command will work, if the player doesnt have permission, then if the player types the command it wont give you permission
    Hope you understand what Im saying. If not, ill try my best to explain a little better
     
  13. Offline

    Ryxuma

    fatcake24

    Wow thanks for that post! :p
    Gonna go to bed and work on this tomorrow
    So far I have:
    Customizable potion effects
    A few unique effects (Lightning, explode, fire, fireball) and easy to add more

    I've done most of the core code and now it's just adding in all the different effects :D hopefully be done soon
     
  14. Offline

    fatcake24

    Woops, completely forgot to include the nausea effect, sorry. But I bet you already implemented it anyway :)
     
  15. Offline

    Ryxuma

    fatcake24
    Just wanted to inform you that it's going very well and should be ready fairly soon :)

    Also, do you have any other ideas for special effects that are not to do with bows, eggs, fishing hooks e.t.c. if it is activated by a right click or on attack it is far easier to make :)
     
  16. Offline

    Nutiler

  17. Offline

    fatcake24

    Ryxuma

    No, Im pretty sure I have said all that is really needed. I thank you for all you have done :)

    Nutiler

    It does seem like this, though I will still be using what Ryxuma has made for he/she has taken the time to making it. Thanks for the feedback though :)
     

Share This Page