Custom bow/sword (no mod)

Discussion in 'Archived: Plugin Requests' started by Acetone, Nov 11, 2012.

  1. Offline

    Cybermaxke

    You can create as many items as you want, they all own a custom id, name, damage, lore, enchantments and u can get them by creating recipes, ... :)

    Ok, I have to recreate all the recipes because it was trowing errors.
    Its also a good thing so u can remove or change them like u want. :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 29, 2016
  2. Offline

    Acetone

    WOW. nice. When it will be released??
     
  3. Offline

    Cybermaxke

    I think that will not be so long. :)
     
  4. Offline

    Cybermaxke

    Almost added all the recipes and new effect for onEat :)
    A poisoned apple, why not :D
     
  5. Offline

    Rprrr

    There's no eating event.. have you created a custom one (using the PlayerInteractEvent)? Also, you can't make enchantments like 'Protection X', Bukkit does simply not support those, it will throw errors and won't work.
     
  6. Offline

    Cybermaxke

    I have made custom enchantments and I have remade all the food class of minecraft server to check the enchantments of your item. :)
    I think that its time for me to upload my plugin and let you try it out, but still not all the recipes are added.

    Waiting for approving of the plugin, but I have already some pics. :)
    [​IMG]
    [​IMG]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 29, 2016
  7. Offline

    karatetoes

    nice very nice
     
  8. Offline

    Acetone

    OMG! NICE!
    I can with this plugin change crafting?
     
  9. Offline

    Cybermaxke

    Yep, you can change all the default recipes and create custom ones. Furnace recipes are not added yet.
     
  10. Offline

    SoulTaker0227

    Sweeeeet! ANYTHING is possible in bukkit! you should just know the right commands
     
  11. Offline

    Acetone

    When did you upload this plugin?
     
  12. Offline

    Cybermaxke

    I posted it 5 hours ago. :/
     
  13. Offline

    Rprrr

    SoulTaker0227
    Not really, I still don't see any custom enchantments (as in: Protection X, Infinity XVI, et cetera, so higher then the ones you would get with an enchantment table). Because.. it's impossible (in Bukkit).
     
  14. Offline

    SoulTaker0227

    Yea but what if Bukkit got the permission to edit mine craft files?? then plugins would become mods and they can automatically be installed
     
  15. Offline

    Cybermaxke

    Bukkit is already editing minecrafts server files. ;)
     
  16. Offline

    SoulTaker0227

    So why does it not like give the option to change them?
    then the mod makes itself via plugin but it saves the difault data of all the users mine crafts in a folder,and when the server ends/ closes all the users can get their data to default or if a user disconnects will work better and more reliable
     
  17. Offline

    Cybermaxke

    Update: Custom durability for all weapons. :)
     
  18. Offline

    Acetone

    Im waiting for approval on bukkitdev :D:D
     
  19. Offline

    Cybermaxke

    I am already making a wiki on github, cause it can take pretty long before approval. :/

    I have posted it on the forums! Please read everything and help me finishing the recipes. :)
    Link: here

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 29, 2016
  20. Offline

    Rprrr

    Cybermaxke
    I'm just wondering how you created the onEat event.. :p I know how you did all the other things, but for as far as I know, there isn't an eat event in Bukkit.. so how did you exactly do that (if you don't mind sharing it)? :p
     
  21. Offline

    tommycake50

    how i do it is as follows,
    Code:
    public void onPlayerInteractEvent(PlayerInteractEvent e){
            if(ModeLists.CookieMonsterList.contains(e.getPlayer())){
                final int l = e.getPlayer().getFoodLevel();
                final Player p = e.getPlayer();
                final int a = p.getItemInHand().getAmount();
                ItemStack i = e.getPlayer().getItemInHand();
                if(i.getType().equals(Material.COOKIE)){
                    plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable(){
                        public void run(){
                            if(p.getFoodLevel() > l && p.getItemInHand().getAmount() < a){
                               //do shit
                            }
                        }
                    },100L);
                }
            }
    i know it works i just copied it out of one of my plugins.
     
    Rprrr likes this.
  22. Offline

    Rprrr

    tommycake50
    Ah okay. :) I see now, I think I would've done it nearly the same way.
    Thanks for sharing. :)
     
  23. Offline

    Cybermaxke

  24. Offline

    karatetoes

    Why they no approve yet!?!?!
     
  25. Offline

    mentin2

    Essentials can do this :)
    just make a kit with lore/name ...
     
  26. Offline

    mastermustard

    its kinda been 2 months... i think the issue was solved
     
  27. Offline

    mentin2

    Ha, sorry I am bad at looking at the, ehm date of post :) but yeah probably!
     

Share This Page