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

I need a plugin

Discussion in 'Requests' started by AlexSima, Jun 22, 2020.

  1. AlexSima

    AlexSima Spider Jockey

    Messages:
    38
    GitHub:
    AlexSima003
    Hi, i need a plugin that contain a command (Let's say /cmdblock ) so the command should block other command.
    Example: /cmdblock plugins
    /plugins doesnt work anymore.
    Also, to remove the restriction of the command -----> /cmdremove plugins
    /plugins work again.
    If you can create this, i'd appreciate a lot, a public plugin like this doesnt exist..
     
  2. mmm545

    mmm545 Baby Zombie

    Messages:
    152
    GitHub:
    mmm545
    do you mean like removing permission from a player?
     
  3. AlexSima

    AlexSima Spider Jockey

    Messages:
    38
    GitHub:
    AlexSima003
    Yes but something that can actually do it, i use PureChat and PurePerms and for Member role in hub i set - -pocketmine in groups.yml so no one can use any pocketmine command with that rank
    The thing is it worked! But somehow i still have acces to /mixer /? /help
    I need a plugin that can remove acces to every command i want to block, not just some of them like PurePerms did
    Edit: I mean removing acces to everyone or per group(if its possible i prefer per group), not per player.
     
    Last edited: Jun 22, 2020
  4. Diduhless

    Diduhless Baby Zombie

    Messages:
    199
    GitHub:
    Diduhless
    Why do you create the same post twice?
     
  5. AlexSima

    AlexSima Spider Jockey

    Messages:
    38
    GitHub:
    AlexSima003
    Im sorry, i am a little bit confused about these 2 sections called "Request" and "Plugin help"
     
  6. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    This might help in the future:
    https://forums.pmmp.io/threads/where-should-my-thread-go.14/

    The mixer and help commands are client side and can't be removed. I think it's possible to change the output of the help command, but you can't remove it.
     
  7. AlexSima

    AlexSima Spider Jockey

    Messages:
    38
    GitHub:
    AlexSima003
    Well something..anything that can just block the acces to the command will be perfect and i will read that post when i ll create a new thread.
    Thank you for your reply.
     
  8. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    But it's not possible to block mixer afaik
     
  9. JviguyGamesYT

    JviguyGamesYT Baby Zombie

    Messages:
    113
    GitHub:
    jviguy
    im using unregistercommand() to unregister it through command map would that work?
     
  10. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    That only works with commands provided by PocketMine
     
  11. JviguyGamesYT

    JviguyGamesYT Baby Zombie

    Messages:
    113
    GitHub:
    jviguy
    Is there any way to make it work with commands not provided by pocketmine?
     
  12. Heisenburger69

    Heisenburger69 Silverfish

    Messages:
    16
    GitHub:
    heisenburger69
    Nope, you can only unregister commands registered by Pocketmine and/or plugins. Client Side commands(/help, /?, /mixer) can't be unregistered nor removed from the available commands list
     
  13. JviguyGamesYT

    JviguyGamesYT Baby Zombie

    Messages:
    113
    GitHub:
    jviguy
    welp that sucks ,but there is a plugin that hides commands by himbeer if u would want to hide that command ,but that still won't fix the client side commands.
     
  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.