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

block the interaction with the right button

Discussion in 'Help' started by Winchester, Aug 15, 2018.

  1. Winchester

    Winchester Baby Zombie

    Messages:
    133
    is there any way to block the interaction with the right button of the mause in a certain world?
    or at least in one region
     
  2. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    You can't prevent the client from sending the packet, but you can cancel the event before other plugins can affect the outcome of the interaction. Can you give an example of what you mean?
     
  3. Winchester

    Winchester Baby Zombie

    Messages:
    133
    I use the commandShop plugin, https://github.com/BoxOfDevs/CommandShop/issues/14 It happens that if the player uses the right button to buy a command, he receives a click spam, but if he uses the left button this It does not happen, what I wanted to do then is cancel the click with the right button! , but in only one world or in a certain region!
     
  4. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    It would have to be done with a plugin, or worked around in PMMP, neither of which has been done yet, AFAIK.
     
  5. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Winchester and corytortoise like this.
  6. Winchester

    Winchester Baby Zombie

    Messages:
    133
    HimbeersaftLP likes this.
  7. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
  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.