Start up script for minecraft server

Discussion in 'General Help' started by 13bathz, May 31, 2017.

Thread Status:
Not open for further replies.
  1. Hi this is my start up script and is does not work i dont know whats wrong thanks bathz



    @Echo OFF

    :: When setting the memory below make sure to include the amount of ram letter. M = MB, G = GB. Don't use 1GB for example, it's 1G ::

    :: This is 64-bit memory ::
    set memsixtyfour=6G

    :: This is 32-bit memory - maximum 1.2G ish::
    set memthirtytwo=1G

    :: Don't edit past this point ::

    if $SYSTEM_os_arch==x86 (
    echo OS is 32
    set mem=%memthirtytwo%
    ) else (
    echo OS is 64
    set mem=%memsixtyfour%
    )
    java -Xmx%mem% -XX:MaxPermSize=256M -craftbukkit-1.11.2.jar -o true
    PAUSE
     
  2. Offline

    timtower Administrator Administrator Moderator

    @13bathz Besides the fact that is too big?
    Just this will work fine:
    java -jar craftbukkit-1.11.2.jar
     
  3. where does that go
     
  4. Offline

    timtower Administrator Administrator Moderator

    @13bathz As replacement for your entire file.
     
Thread Status:
Not open for further replies.

Share This Page