General > On Topic

add menu item

<< < (3/3)

Jerry:
...and the script?

davidwillis:
Sure, this is what I run from command line to get the server up.


--- Quote ---java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

--- End quote ---

It works fine from command line (I do have to be in the correct folder when I run it though).

Jerry:
Can you please show us your script (make sure it is executable) and the command you are running to start you server.

davidwillis:
I am trying to add a menu item that will run a script from the terminal.  However after adding it, it does not open a terminal, and it does not run the script.

The menu item is simply to start a minecraft server.  It works fine running the command via command line, but I can't get the menu item to work.  Is there a way to set the directory path to run the script from (so it will find all the files it needs to run)?  And also why does it not open the terminal window, when I have that option checked (using main menu).   

Thanks

Navigation

[0] Message Index

[*] Previous page

Go to full version