How To Change RToolkit Startup Script

Discussion in 'Bukkit Help' started by AddictGamez, Jun 19, 2012.

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

    AddictGamez

    RToolkit starts up like this:
    Code:
    #!/bin/bash
     
    USER=user
    PASS=pass
     
    DIRECTORY=$(cd "`dirname "$0"`" && pwd)
    (cd "$DIRECTORY"; java -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar ${USER}:${PASS})
    But as you can see, it starts up the Minecraft_RKit.jar which then starts up the craftbukkit.jar (server).

    But my question is: I want to add java flags to the RToolkit startup script for the MINECRAFT SERVER and not the RTOOLKIT jar startup which is shown above. Is this possible?
    For example: I want to add these flags:
    Code:
    -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxGCPauseMillis=50 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -XX:UseSSE=3 -XX:+UseLargePages -XX:+UseFastAccessorMethods -XX:+UseStringCache -XX:+UseCompressedStrings -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts
    Thanks.
     
  2. Offline

    JPCanaverde

    Did you ever find out how to do it?
     
  3. Offline

    Mastergalen

    In the wrapper.properties file, just add the extra arguments to
    extra-runtime-arguments=-Djline.terminal\=jline.UnsupportedTerminal
     
Thread Status:
Not open for further replies.

Share This Page