Anvil disable with permissions.

Discussion in 'Archived: Plugin Requests' started by ZakPvP, Feb 17, 2014.

  1. Offline

    ZakPvP

    Commands: None.
    Permissions: anvil.use.yes or whatever you decide.

    I want a plugin which disables anvil use. You can place as many as you like, but if you try to open 1 (without the anvil.use.yes permission) it will say:
    &7[&9Quaza&7]&9:&a You must be donor or above to use anvils, Sorry!

    It's pretty simple.

    tl;dr
    Can't use anvils without anvil.use.yes permission
    if you try
    it states this message to YOU in chat: &7[&9Quaza&7]&9:&a You must be donor or above to use anvils, Sorry!

    Thank you
     
  2. Offline

    AndyMcB1

    Would attempt but haven't worked with colour codes yet. Sorry.
     
    ZakPvP likes this.
  3. Offline

    timtower Administrator Administrator Moderator

    AndyMcB1 ChatColor.translateAlternateColorCodes('&',originalString)
     
    ZakPvP likes this.
  4. Offline

    ZakPvP


    AndyMcB1 Any progress?
    Anyone?
     
  5. Offline

    ZakPvP

  6. Offline

    Alshain01

    Last time I checked, there was no control over the anvil in the API or I would have this in Flags by now.

    EDIT: Actually now that I think about it, there is a way this can be done. I'm not sure why I didn't think of it before. I could put this in Flags for you. You can change the message yourself and use the bypass permission for your donors.
     
  7. Offline

    ZakPvP


    Please! Alshain01
     
  8. Offline

    Konkz

    Easy... check if user is right clicking (PlayerInteraction) an anvil and cancel the event plus send a message.
     
  9. Offline

    Alshain01

    Yeah, that's what I did. For some reason, that just never occurred to me before. ZakPvP, I added it to my internal builds and will be in the next release.
     
  10. Offline

    ZakPvP


    Wait so how do i get it?
     
  11. Offline

    Alshain01

  12. Offline

    ZakPvP

    I don't want to get your whole plugin with a lot of uesless stuff, sorry. I also need the plugin asap.
    Anyone else? @Alshaino1 can you not just give it me seperate?
     
  13. Offline

    Alshain01

    So, what your saying is my biggest project that I've spent countless hours working on is useless, but you want me to make you a plugin.

    You can stop tagging me now.
     
    Konkz and timtower like this.
  14. Offline

    ZakPvP


    Not useless in general, useless to me lol.
     
  15. Offline

    timtower Administrator Administrator Moderator

    Alshain01 Looks like a nice plugin, don't need it, but on first sight: looks nice, love the ability to disable parts.
    ZakPvP You can disable the parts that you don't need
     
  16. Offline

    ZakPvP


    When is the version with the anvil ability releasing?
     

Share This Page