Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Prevent player using Anvil to rename to something specified

Comments in 'Plugin Development' started by Inta, Jul 13, 2016.

  1. Inta
    Offline

    Inta Active Member

    Joined:
    Feb 11, 2016
    Posts:
    84
    Minecraft User:
    InstantlyTa
    As title.
    How to prevent player to rename something to "asd" ?
    I need an absolute solution please.
  2. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    Erm. Anvils are not in PM. I think.
  3. MCPEPIG
    Offline

    MCPEPIG Notable Member

    Joined:
    Jun 22, 2014
    Posts:
    349
    Minecraft User:
    MCPEPIG
    They are but they're not usable :p
    thebigsmileXD likes this.
  4. SOFe
    Offline

    SOFe Banned

    Joined:
    May 28, 2016
    Posts:
    386
    Minecraft User:
    Herobrine
    Don't update PocketMine to versions that support Anvil.
  5. Syntaxious
    Offline

    Syntaxious New Member

    Joined:
    Sep 15, 2015
    Posts:
    19
    Minecraft User:
    Syntaxious
    I'm sure he's using the fork Geniysis, which does support Anvil. If he does, we can't support you further :/
  6. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    Da*n PocketMine doesn't support anything right now :mad:
    PaulchenHD and thebigsmileXD like this.
  7. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
  8. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    .. -.-
    CS also supports anvils partly. If you do use genisys, disable then in their config
  9. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    Seriously they added that into config? Okay, what's next? :D
    thebigsmileXD and Mat like this.
  10. SOFe
    Offline

    SOFe Banned

    Joined:
    May 28, 2016
    Posts:
    386
    Minecraft User:
    Herobrine
    Now are we discussing what third-party PocketMine modifications support anvils? Please, the OP was just asking about preventing the player using anvil. He didn't specify which version he is using, so we assume PocketMine. Or if you don't want to assume, just ask him directly. Nobody is reading this thread to see what versions support Anvils.
    Survingo likes this.
  11. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    PM doesn't support using the anvil at all. So this thread is useless if we want to talk bout' PM.
    And i won't start to talk bout' other forks here.
    Even if I'm developing one, I'll not advertise here for it. See i didn't mention it's name!
    thebigsmileXD likes this.
  12. Mat
    Offline

    Mat Active Member Plugin Developer

    Joined:
    Jun 15, 2014
    Posts:
    179
    Plugins:
    1
    Minecraft User:
    matcracker
    The only thing that you can do is cancel the PlayerInteractEvent when player click the Anvil. Doing this, you renounce to the repair of items.
    thebigsmileXD likes this.
  13. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    Correct, would've ben my next reply.

Share This Page

Advertisement