Restrict anvil use by lore or name of item

Discussion in 'Archived: Plugin Requests' started by JorgeEvil, Apr 19, 2014.

  1. Offline

    JorgeEvil

    Suggested name: LoreRestrict or something like that

    What I want: I'd like a plugin where you can restrict renaming, repairing and adding other enchantments to items depending on the items lore or name.
    This can be useful where admins have given players special items such as op things and they do not want the player to repair it or to add an enchantment like unbreaking on it.

    Simple.
    (short because people never seem to read it all)

    Ideas for permissions: restrictanvil.bypass - can bypass the restrictions
     
  2. I'll make it for you!
    I will have it done tomorrow.
     
  3. Offline

    JorgeEvil

    Thanks!
     
  4. You're welcome :)
    It's almost done, the only thing left to do is testing. I will try to attatch the plugin file to a reply as soon as it's tested and working properly.

    I'm sorry, the plugin is very buggy, I will finish it tomorrow instead of today.

    There you go :)
    Configuration description is in the configuration file which will generate when you put the plugin and reload the server.
    Permission nodes:
    metarestrict.bypass.all - Bypass all restrictions
    metarestrict.bypass.enchant - Bypass enchant restrictions
    metarestrict.bypass.anvil - Bypass anvil restrictions
    metarestrict.bypass.beacon - Bypass beacon restrictions

    (unzip the file to get the .jar)
    (if you can't see the attatchment download it here: http://forums.bukkit.org/attachments/metarestrict-zip.19185/)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 6, 2020
  5. Offline

    JorgeEvil

    Whats beacon restrictions?
     
  6. then you can't put that item into a beacon
     
  7. Offline

    e1kfws7


    I'm guessing if a Diamond, Emerald, Iron ingot, or a Gold Ingot has any kind of Meta then it will block those items and only allow the defaults.
     
  8. http://dev.bukkit.org/bukkit-plugins/metarestrict (you can't download it from there yet, file not yet approved)
     
  9. Offline

    e1kfws7

  10. I know but there you can see the description.
     

Share This Page