Bei meinem Server Anbieter kann der Server leider nur per .jar Datei gestartet werden aber das Modpack das ich spielen will kann man nur per .bat starten.
Kann man den inhalt irgendwie als .jar packen damit es der Server annimmt ?
Code:
@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=2G
:: 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 -jar forge-1.6.4-9.11.1.965-universal.jar nogui
PAUSE
Daran kannst du nix ändern
ABER:
Benenne die forge-1.6.4-9.11.1.965-universal.jar so um, dass sie wie die jar datei heißt, die er sonst immer startet. Fertig ist das Problem
Die Batchdatei macht auch nicht mehr als die forge-1.6.4-9.11.1.965-universal.jar starten und Java 1 GB (32 Bit) oder 2 GB (64 Bit) Arbeitsspeicher zuzuweisen.
Da dein Anbieter wohl den Teil mit dem Arbeitsspeicher macht, musst du nur noch dafür sorgen, dass die forge-1.6.4-9.11.1.965-universal.jar gestartet wird.
Ansonsten: Ja, man könnte das in Java nachbilden, aber entweder es geht garnicht oder dein Anbieter wird alles andere als erfreut darüber sein, weil du dann theoretisch alles möglich mit einer beliebigen Menge Arbeitsspeicher starten kannst.
Command line interface working command 08/05/2012 - DarkOrbit - 27 Replies I found only one working command:
Enter "J" when you are in teleport
Anyone know other commands?
Command Line 05/17/2010 - EO PServer Hosting - 4 Replies I know this is probably a really newb question but is there anyway to get a command line up and enter
INSERT INTO `cq_levexp` VALUES ('1', '0', '0001', '864', '864', '0400', '160', '4', '1600', '4', '136024', '10', '75', '4', '0', '2', '1244160', '0');
into it to change the db. That would be much faster then going through all the db tables to manually change everything.
I know this is probably a really newb question but is there anyway to get a command line up and enter
INSERT INTO...