EssentalsXPrune

Discussion in 'Plugin Requests' started by MPG1, May 23, 2020.

  1. Offline

    MPG1

    Plugin category: Tools, Fixes?

    Minecraft version: 1.14.4

    Compatibility: EssentialsX, LuckPerms?

    What I want: A plugin that can disable any EssentialsX command, permission(and remove the nodes from LuckPerms, maybe), and autofill list. Simple, configureable.

    Permissions & Commands:
    Code:
    essentialsxprune.prune (/prune <command> [removepermissions?]): Removes a command, and if "[removepermissions?]" is true, then it will clear the permissions from luckperms.
    
    essentialsxprune.restore (/restore <command>): puts a command back in function. Does not affect permisssions.
    
    :p

    Turn it in whenever! Thanks in advance! :)
     
  2. Offline

    MPG1

    bump??
    i dont really need this anymore
     
  3. Online

    timtower Moderator Moderator

    Those two lines are pretty contradicting.
    Which one is it?
     
  4. Offline

    MPG1

    It would be nice if it got done, but it is not necessary. Do it as a hobby, have fun with it, if it gets finished- Great! If not- Ok.
     
  5. Offline

    MPG1

    Ok i kinda want this now...
    bump
     
  6. Offline

    lukelol

    Correct me if I'm wrong, but I believe you can simply delete the commands from the plugin.yml file in EssentialsX to remove the command. Just open it with WinRAR and edit the file named "plugin.yml", then just delete the command. Its permissions will also go aswell as the auto complete.
     
  7. Offline

    Stellrow

    Nope,there is literally inside the config.yml of essentials a part to disable commands by simmply adding them to the list
     
    Xp10d3 and AkiraTsubasa like this.
  8. Offline

    lukelol

    In the actual plugin, EssentialsX.jar. Right click on it and open the archive with 7zip of WinRAR. Open the plugin.yml and delete the commands you want. It should look something like this:

    Code:
    name: EssentialsX
    main: example.essentialsx
    commands:
      example1:
      example2:
    
    To delete a command, you would simply delete "example2:" from the file then save. It should be removed.
     
  9. Offline

    Stellrow

    Yeah do it through plugin.yml to break something rather than using theyr intended config part
    Code:
    # Disabling commands here will prevent Essentials handling the command, this will not affect command conflicts.
    # You should not have to disable commands used in other plugins, they will automatically get priority.
    # See http://wiki.bukkit.org/Commands.yml#aliases to map commands to other plugins.
    disabled-commands:
    #  - nick
    #  - clear
    
     
    MPG1 and AkiraTsubasa like this.

Share This Page