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. Offline

    basdv98

    I'll make it for you!
    I will have it done tomorrow.
     
  3. Offline

    JorgeEvil

    Thanks!
     
  4. Offline

    basdv98

    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.
     
  5. Offline

    basdv98

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

    basdv98

    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/)
     

    Attached Files:

    Kedji likes this.
  7. Offline

    JorgeEvil

    Whats beacon restrictions?
     
  8. Offline

    basdv98

    then you can't put that item into a beacon
     
  9. 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.
     
  10. Offline

    basdv98

    http://dev.bukkit.org/bukkit-plugins/metarestrict (you can't download it from there yet, file not yet approved)
     
  11. Offline

    e1kfws7

  12. Offline

    basdv98

    I know but there you can see the description.
     

Share This Page