1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

CustomEnchantments

Discussion in 'Requests' started by RastaPasta, Feb 25, 2017.

  1. RastaPasta

    RastaPasta Silverfish

    Messages:
    22
    GitHub:
    idonthaveone
    Hello, i saw on many big servers same "Custom Enchantments" plugin.
    Custom enchants like: Posion, Angelic with specific bonuses. Does anyone knows a plugin lile this? You can see what i m talking about on cosmicpe/cuboss server.
     
  2. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    Muqsit likes this.
  3. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Hello, i saw on many forum members post the same "Custom Enchantments" thread.
    There are things like: Forum Search, Google with specific search entries. Does anyone knows people who use those? You can see what i m talking about on many other duplicated threads here.
     
    Sandertv likes this.
  4. RastaPasta

    RastaPasta Silverfish

    Messages:
    22
    GitHub:
    idonthaveone
    You don't have to be salty, i searched alot and i didnt finded what i want.
     
  5. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    'A lot'
    Search: Pocketmine custom enchants
     
    HimbeersaftLP likes this.
  6. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    i still dont see a source explaning things in great detail
    and there two types of custom, one is add ench to items, one is add a non existing ench to mcpe
     
    InspectorGadget likes this.
  7. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    Same...
     
  8. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Still, it doesn't help to post like 10000 threads about the same topic
     
    Sandertv likes this.
  9. RastaPasta

    RastaPasta Silverfish

    Messages:
    22
    GitHub:
    idonthaveone
    I m talking about Custom Enchants, as a ideea those added by CosmicCore or CuBoss Core. Custom enchants created by coding, i m not talking about enchants added by the simple game.
     
  10. Junkdude

    Junkdude Zombie

    Messages:
    346
    GitHub:
    JunkDaCoder
    Keep in mind, enchant names are handled client side
     
    jasonwynn10 likes this.
  11. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    As long as Enchantment names are handled by the client, there isn't any way to create any custom ones
     
    InspectorGadget likes this.
  12. Junkdude

    Junkdude Zombie

    Messages:
    346
    GitHub:
    JunkDaCoder
    There is, but u would have to remake the entire enchant system
     
  13. TheDiamondYT

    TheDiamondYT Zombie

    Messages:
    298
    GitHub:
    TheDiamondYT1
    The way some (if not all) PC servers do custom enchantments is by appending some text to the items lore and checking (for example) you hit someone using a sword containing "custom enchantments" and then lets say 1/10 chance of knocking the player into the air.

    Okay, so im not sure if that made any sense, but you get the idea. Custom enchants arent actually enchantments.
     
  14. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    The issue is that we can't get the glow effect without using an actual enchant, but that also means that the item will display the custom name and its enchantment
     
  15. Junkdude

    Junkdude Zombie

    Messages:
    346
    GitHub:
    JunkDaCoder
    nbt tags and a task
     
    corytortoise and TheDiamondYT like this.
  16. ObeyBeastJj23

    ObeyBeastJj23 Spider

    Messages:
    13
    Hey i came up with a weird and maybe possible concept for a custom enchant plugin IF we can check enchants for items. So player1 hits another player2 with an item, check what item id is, if == to '276' (aka diamond sword) or another id, check for enchantment. If enchantment id is matching '21' (aka flame) or another enchantment id, run randomiser, case1 effects $player2 with poison 1 for $amount of ticks. This then allows you to stop players from simple things of things like * $item->getName() == 'Poison'{ * so players cant just rename the item to Poison with an anvil. Also players cant get Flame on a sword or other item. This would allow potion buffs onto items and you cauld also rename the item and have "Diamond Swordn\(is it n\?)Poisonn\n\n\n\n\n\n\n\". The reason to have lots of new lines is to make the Flame 1 or other enchant off of the players screen allowing you to have a Custom Enchant
    im bad at coding and am just a starter but i think theres a way if you can check enchants.. Msg me if interested in more :p
     
  17. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    you should use NBT for custom enchants not overwriting old ones
     
    jasonwynn10 likes this.
  18. TheDiamondYT

    TheDiamondYT Zombie

    Messages:
    298
    GitHub:
    TheDiamondYT1
    \n
     
    Thunder33345 likes this.
  19. KingResos

    KingResos Spider Jockey

    Messages:
    37
    GitHub:
    kingresos
    jasonwynn10 likes this.
  20. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    assuming OP probably want an open sourced/free one since they did not mention they will be happy to pay
     
    InspectorGadget likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.