Advertisement
Guest User

NyxManager2

a guest
Mar 7th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. @echo off
  2.  
  3. cls
  4. echo Please Insert Username.
  5. p /set username=
  6. cls
  7. echo Please Insert Password.
  8. p /set password=
  9. cls
  10. echo Hello %username%! Password set to %password%!
  11. echo.
  12. echo.
  13. echo.
  14. cls
  15. goto desktop
  16. pause
  17.  
  18. :exit
  19. cls
  20. echo Closing...
  21. echo.
  22. echo.
  23. echo.
  24. echo.
  25. cls
  26. exit
  27.  
  28. :desktop
  29. cls
  30. title NyxManager - Desktop
  31. cls
  32. echo 1 Start server
  33. echo 2 Shutdown
  34. p /set desktopoptions= "Enter choice"
  35. if %desktopoptions%==1 goto serverstart
  36. if %desktopoptions%==2 goto exit
  37. pause
  38.  
  39. :serverstart
  40. cls
  41. title NyxManager - Server Console
  42. cls
  43. echo Welcome to the Server Console %username%!
  44. echo.
  45. echo.
  46. echo.
  47. cls
  48. echo 1 Start Server
  49. echo 2 Go to desktop
  50. echo 3 Shutdown
  51. p /set serverstartoptions= "Enter choice"
  52. if %desktopoptions%==1 goto console
  53. if %desktopoptions%==2 goto desktop
  54. if %desktopoptions%==3 goto exit
  55. pause
  56.  
  57. :console
  58. cls
  59. title NyxManager - 1.11 Server Console
  60. cls
  61. echo Would you like to start the server?
  62. echo 1 Yes
  63. echo 2 No
  64. p /set startservereleven= "Enter choice"
  65. if %startservereleven%==1 goto jarstart
  66. if %startservereleven%==2 goto serverstart
  67. pause
  68.  
  69. :jarstart
  70. cls
  71. title NyxManager - Server Console 1.11
  72. cls
  73. echo Please select the amount of RAM you would like.
  74. echo A 1GB
  75. echo B 2GB
  76. echo C 3GB
  77. echo D 4GB
  78. echo E 5GB
  79. p /set jarstartoneelevenram= "Enter choice"
  80. if %jarstartram%==a or A goto startone
  81. if %jarstartram%==b or B goto starttwo
  82. if %jarstartram%==c or C goto startthree
  83. if %jarstartram%==d or D goto startfour
  84. if %jarstartram%==e or E goto startfive
  85. pause
  86.  
  87. :startone
  88. cls
  89. title NyxManager - 1.11 Server Console 1GB RAM
  90. cls
  91. echo Starting Server. Press Q to quit at any time.
  92. java -Xmx1024M -jar spigot-1.11.jar -o true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement