[MISC] P-Protect V 0.1 - Password Protect your server

Discussion in 'Bukkit Tools' started by BlackDeath, Jun 2, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    BlackDeath

    Hi I have newly made this mod/plugin.
    its protects your server with a password "batch" file
    Version: v0.1

    Show Spoiler
    To change the password just right click the "run" file and open it with notepad. edit 'password'.
    just remove the old run file and replace it with this
    Code:
    IF '%var%' == 'password' GOTO 1
    WARNING: Don't remove the ' ' or it wont work!


    Protect your server with a password:
    Features:
    * Protects your server with a batch file
    * Easy to install
    * Works for all bukkit!

    <Edit by Moderator: Redacted mediafire url>

    Changelog:
    Version 0.1
    * Released the mod/plugin
     
    Last edited by a moderator: Nov 27, 2016
  2. Offline

    h0us3cat

    This is no plugin...
    Code:
    @echo off
    title Log In
    set /p var=password please:
    
    IF '%var%' == 'password' GOTO 1
    echo Don't try to hack the server!
    pause
    exit
    
    :1
    cls
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE
    And lol how is this password protected? If somebody want to start your server they just make a new .bat :'(
     
  3. Offline

    BlackDeath

    I know I thinking on it but.... every 1 isnt so smart xD. but I will think it out!
     
  4. Offline

    Windwaker

    lolwut? How is this even anything? All you did is packaged a batch file XD which does close to nothing, why would you want to password protect your startup batch? This looks like a sad excuse to try and get the Plugin Developer tag which I have seen a lot lately. This is not a plugin... *sigh*
     
  5. Offline

    BlackDeath

    I dont know why... but some one maybe want to... and I dont want the plugin developer tag!
    I just make this beacuse I had nothing to do!
     
  6. Offline

    Pencil

    Lolyay as if they couldn't edit the bat file and see the password, smart guy is smart lul
     
  7. Offline

    Windwaker

    Nevertheless, a plugin should:

    [*]Use a plugin.yml
    [*]Be written in Java
    [*]For the most part use Bukkit's or Craftbukkit's API
    [*]Do something
     
  8. Offline

    Pencil

    Most important part ^
     
    wardevour likes this.
  9. Offline

    Tux2

    Only real use I see for this is if the server was on a family computer and you didn't want anyone to start minecraft, and no-one else was tech savvy. Otherwise, why would you want to prevent someone starting the minecraft server? If someone hacked into your server they would probably be more interested in shutting it down, corrupting your world, or something else.

    Just my thoughts.

    I know you probably spent some time on this, even though you were bored, and it is very well written for a batch file. My suggestion to you, if you really want to contribute to the bukkit community, is to learn some java and create another plugin. If you need any help getting started just give me a PM and I'll help you through creating one. It's not really that hard if you do some research, like you did for your batch file. ;)
     
    jayzon915, Phaedrus and thecoolwolf like this.
  10. Offline

    Plague

  11. Offline

    Drakia

  12. Offline

    homerbond005

    lol
    this doesn't protect anything. not the server, not the batch.
     
  13. Offline

    SmilingDevil

    *facepalm* That is all...
     
  14. Offline

    ChrizC

    I don't think he bothered to look at the actual post.
    At least, that's what I'm desperately hoping.

    Chris
     
  15. Offline

    Windwaker

    I am 95% sure he doesn't read the posts when the title is wrong....
     
  16. Offline

    Plague

    nope
    Well I did take a quick look at it, but nothing major
    Finally somebody notices what is missing :)
     
  17. Offline

    ChrizC

    I think what is really missing is an actual plugin?
    Are you saying that if the title followed the guidelines, this would be pushed to Plugin Releases?

    Chris
     
  18. Offline

    Plague

    Of course not, but I do 20-30 submissions at once, so if the title is completely wrong I only look at the post, don't read it. I read it when the title is fixed, since I post the whole submission guidelines, people often redo the post too anyway.

    Now since this is a bat file, I'd move it to tools when it looks ok, even tools should have a proper title.
     
    ChrizC likes this.
  19. Offline

    Adamki11s

    Really? At least compile it to an exe to have some basic security.
     
  20. Offline

    Drakia

    Except that any antivirus worth running will detect a packed BAT and stop it's execution.
     
  21. Offline

    Phaedrus

    Ok, that's enough bashing. Leave the guy alone unless you have something constructive to say.
     
    jayzon915 likes this.
  22. Offline

    ThreeDGuy I steal plugins as my own

    NICE!

    Cool plugin!
     
  23. Offline

    BlackDeath

    Thank you :)
     
  24. Offline

    ChrizC

    ^ Oh dear.

    Chris
     
    aidan matzko likes this.
  25. Offline

    BlackDeath

    seriously stop....
     
  26. Offline

    Demonofbirth

    I might give you a little sympathy if you made a linux .sh version as well. Not all people use windows and only windows uses batch files. Even though I don't need one, hey some people might want it just like SOME people might want this.
     
  27. Offline

    BlackDeath

    Ok. thanks for answering. I will see if I can make one xD
     
  28. Offline

    Plague

    The thing is though, having "password protect" in the title is a false statement, because there is no protection there.. Even if you did it properly and used a hash and prevented .bat from editing, people still can run the server by hand (without the bat), so there really is no protection whatsoever.
     
  29. Offline

    Demonofbirth

    Yep this only protects computer noobs from starting your server. But why would a computer noob want to?
     
  30. Offline

    Plague

    more importantly, how did he get access?
     
Thread Status:
Not open for further replies.

Share This Page