[ADMIN] MkDir v1.1 - Directory and file commands [740]

Discussion in 'Inactive/Unsupported Plugins' started by Samkio, Mar 14, 2011.

  1. Offline

    Samkio

    MkDir - Directory and file commands.
    Version: v1.1

    MkDir allows ingame and console directory and file commands.
    Helpful for those admins that don't have ftp or cannot make dir.
    Available for ops ingame and through the console.

    Features:
    * /mkdir <directory> - Creates a directory.
    * /mkf <file> - Creates a file.
    * /ddir <directory> - Deletes a directory (Provided it has no directories in it).
    * /df <file> - Deletes a file.
    * /ls <path> - Shows files in the path.
    * /mdir <folder/file to move> <destination>


    Download <Edit by Moderator: Redacted mediafire url>
    Source Code: http://pastebin.com/XZXn6maE


    Changelog:
    Version 1.1
    * Added mdir.


    Version 1
    * First Release.

    Future ideas:

    * Permissions.
    * /cd

    Author Notes:
    This plugin was requested and i made it. I'll update it here and there but i am a busy man. :p
     
    Last edited by a moderator: Dec 14, 2016
  2. Offline

    ZachBora

    oh nice, can you add feature to copy files from folder /folder1 into folder /plugins/folder2 ?
     
  3. Offline

    Samkio

  4. Offline

    ZachBora

    Our server is hosted and we only have a basic webui. It is running on linux. We can see the folders, the permissions, but no download and copy/move features.
     
  5. Offline

    Samkio

    @ZachBora
    mdir added.
    It's a bit tedius so it may take a few attempts to move.
    ie:

    Folders:
    1/File.file
    2

    I would type: /mdir 1 2
    and thus the new folders would be
    2/1/File.file

    Hope that makes sense :)
     
  6. Offline

    Infernus

    Very interesting, could I take a look into the source?
     
  7. Offline

    Samkio

  8. Offline

    Infernus

    Thanks! Is it your purpose to let everyone have access?
     
  9. Offline

    Samkio

    @Infernus
    Meh. I don't mind unless they give me recognision.
    If they learn from it then good. :)
     
  10. Offline

    madjam002

    Thank-you so much for this plugin it's fantastic!
    I'm with ServerCraft and they have fantastic servers, but the file manager is very limiting and I can't make files/folders. So with Permissions and stuff I had to contact them to get them to make the files.

    Love the plugin, keep up the good work!
     
    Samkio likes this.
  11. Offline

    micsen

    I using it on my server because i have the basic gui from servercraft.co what is a piece of crap so i requsted it and got a good addon ty very mutch Samkio

    it seems like it dossent like space

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
  12. Offline

    Samkio

    @micsen
    Space?
    What command are you trying to run?
     
  13. Offline

    micsen

    i tryed to do /mkdir plugins/Some thing
    and it diddent worked only made a folder named some
     
  14. Offline

    Samkio

    @micsen
    Yeah it will do that.
    Try using an underscore?
     
  15. Offline

    ZachBora

    Would it handle arguments between " " or ' ' ?
    @micsen @Samkio
     
  16. Offline

    Samkio

    @ZachBora
    Bukkit splits commands at spaces.
    So it would create to seperate strings rather than one.
     
  17. Offline

    ZachBora

    I know it's a hack, but maybe use a character that isnt allowed in folder tree to replace space with.
    \/:*?"<>|
    I don't know which ones Linux and mac supports.

    Perhaps suggest bukkit to support arguments with "
     
  18. Offline

    Samkio

    @ZachBora good idea!
    I shall do this.
    And will do.
    I dislike the fact that commands are pre-broken up at spaces. :/
     
  19. Offline

    micsen

    Can you make like a rename comand so i can change the file name and the .jar .etc thing ?
    Or just rename whole name
     
  20. Offline

    ZachBora

    @micsen I dont think you can rename a running plugin.
     
  21. Offline

    micsen

    not to rename the plugin but other stuff because i can only upload .jar files and need to change it to .scemathic or .yml or some thing else just change it to .jar before upload
     
  22. Offline

    yolospat

    I have been looking for this very functionality as my server host makes their users put in a ticket to either have files named if new or deleted. I knew what I needed and was able to do it with this plugin within 10 minutes instead of waiting hours for the hosting support team could get to it. Thanks!!

    That's who I use. Apparently they are going to have a complete console re-haul at the end of the month, but I've been using this since it's so much easier.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
  23. Offline

    micsen

    I was quiting at servercraft.co now to get another hoster whit ftp acsess
     
  24. Offline

    tha d0ctor

    does this work still?
     
  25. Offline

    Samkio

  26. Offline

    yolospat

    Who are you going with? I was thinking about switching too since they corrupted my world and I had to start a new one. www.minecraft-servers.com was excellent in $$ range. Anyway, let me know.
     
  27. Offline

    micsen

    i changed to plugpayplay whit the ip smp.micsen.com
     
  28. Offline

    Plague

    I know you are active, but the title has to be updated to latest RB... considered inactive
     
    Samkio likes this.
  29. Offline

    Samkio

    @Plague
    And minutes later its magically up to date.
     
    Torrent likes this.
  30. Offline

    xlilcasper

    I just made a rename plugin two days ago and was getting ready to add these functions into it. Now what will I code! :) thanks for the plugin.
     

Share This Page