This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
Can you configure it so we can set the shutdown option? Instead of stopping the server, have it use the "shutdown" command or kick all players command, that way instead of them getting kicked offline they get kicked to the hub.
#!/bin/bashcd "$( dirname "$0" )"while truedojava -Djava.awt.headless=true -d64 -Xmx6G -XX:MaxPermSize=256m -jar spigot.jarecho -e 'If you want to completely stop the server process now, press ctrl-C before the\ntime is up!'echo "Rebooting in:"for i in {5..1}doecho "$i..."sleep 1doneecho 'Restarting now!'done
First of all, nice work with this plugin, especially seeing as it is your first one. Would you consider updating to 1.7.2 now that Bukkit is (finally!) out?
Second thing (the complaint): I tried Xgames' Mac script, and it did nothing at all, just made it sleep after 1 second. Could you make another script that might work a little better? I have mine labeled as start_server.command which may be wrong....
Impossible start-code for Linux. Here my Code for start.sh and this function
#!/bin/bashBINDIR=$(dirname"$(readlink -fn "$0")")cd"$BINDIR"whiletruedojava-server-Xms1024M-Xmx1024M-jarcraftbukkit.jarecho-e'If you want to completely stop the server process now, press ctrl-C before the\ntime is up!'echo"Rebooting in:"foriin{5..1}doecho"$i..."sleep1doneecho'Restarting now!'done
I'm having trouble with this plugin. Everything seems to work fine except its gotten to the point where when it restarts, it only stops my server and does not put it back online. I have to manually start it from console.
For those of you using a mac you can use this as your startup script but remember to change the amount of RAM you will allocate to what your computer can handle.
!/bin/bash
cd "$( dirname "$0" )"
while true
do
echo starting minecraft server ...
java -Xms1024M -Xmx1024M -jar craftbukkit.jar nogui
For those of you using a mac you can use this as your startup script but remember to change the amount of RAM you will allocate to what your computer can handle.
!/bin/bash
cd "$( dirname "$0" )"
while true
do
echo starting minecraft server ...
java -Xms1024M -Xmx1024M -jar craftbukkit.jar nogui
@Triyon
Right? Disrespect to the max.
Do people NEED to remove the whole description just because they abandoned the project? Seriously why do people do it?
@Rossco5378
Duh, sorry. Still works well nonetheless. Hopefully someone takes over this, simple and lightweight.
@KevinEssence
The plugin is no longer in development. I thought the big red notice at the top would of indicated that.
Can you configure it so we can set the shutdown option? Instead of stopping the server, have it use the "shutdown" command or kick all players command, that way instead of them getting kicked offline they get kicked to the hub.
Has anyone gotten this to successfully work with Screen?
Just so everyone knows, if your server is running on an Ubuntu based Linux this start script worked for me as the original does not.
ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
:start
java -Xms1024M -Xmx1024M -jar craftbukkit.jar
sh start.sh
How do you completely stop your server from running even if you type 'stop' in the console?
If you are using windows i would highly recommend https://forums.bukkit.org/threads/admin-powerlaunch-a-better-server-launch-script-windows.192879/
Power Launch By TNT, works flawlessly with auto-restart and also makes a zip backup every time the server restarts
For mac is:
First of all, nice work with this plugin, especially seeing as it is your first one. Would you consider updating to 1.7.2 now that Bukkit is (finally!) out?
Second thing (the complaint): I tried Xgames' Mac script, and it did nothing at all, just made it sleep after 1 second. Could you make another script that might work a little better? I have mine labeled as start_server.command which may be wrong....
Thanks!
Impossible start-code for Linux. Here my Code for start.sh and this function
I would appreciate if this could be setup with permissions, so that non-opped staff members can use certain commands.
There is no permissions added?
Can anyone explain me how i add the infinity loop script and where i put how much ram i'am allocating ? Please explain me step by step
Could you make the Command: /restart cancel
It's obvious how it works.
I want it So I can skip a restart if i want to so when you do the command make it so that it will reset the timer :) Easy enough I thought
Regards, Greaperc4
@jake_stumpf
Make sure that you have put the infinity loop script in the server start file.
I'm having trouble with this plugin. Everything seems to work fine except its gotten to the point where when it restarts, it only stops my server and does not put it back online. I have to manually start it from console.
For those of you using a mac you can use this as your startup script but remember to change the amount of RAM you will allocate to what your computer can handle.
echo sleeping ...
sleep 5 done @Xgames360
Make sure to delete the 1. and replace them with spaces. I can't get them not to show up sorry. :(
For those of you using a mac you can use this as your startup script but remember to change the amount of RAM you will allocate to what your computer can handle.
echo sleeping ...
sleep 5 done