I cannot even log into my server - I get in, see whiteish then blackish, and nothing.
hmmm, i did a few restarts on mine before the 1.6_2 startet to work.
also did test with and without the "nogui" option, startet just fine first time i tried without the "nogui" option tho
so i just upgraded to the 1.6_3 patch server/client from 1.6_2 which i thought was going to decrease the load of the cpu, it did, altho it introduced a Desync to my server.
i go and "chop some wood with the flat of my hand" and i go about my merry bizzwizz and thinking if the wood shouldnt be falling down soon, i get tired of waiting and i wander about a min... OR TWO, then i get instantly teleported to where i was chopping the wood!
was so hoping to update to 1,6 and trying out nether, maps and hatches.
but since the server loads at 0-5% cpu while idle(no players on) and at ~50%(1 player) and ~100%(2 players and more)
also running the JAR version of the server with the "nogui" option
server got 2048MB ram and using a 3430 Intel Xeon CPU running on CentOS 5.6
i've been using a regular minecraft server for the past 3 weeks on Cent OS 5.6 and now i've been thinking of going the extra mile to use a script for starting/stopping/backup/upgrade
i had a script on my previous setup (ubuntu10.4) and i was thinking i could use this now aswell.
after some searching i found the script and followed the instructions here
after setting the script up and i try to start/stop the server i get an error saying "-bash: screen: command not found"
in the code section is the edited version i'm using, all folders and path's are correct.
#!/bin/bash
# /etc/init.d/minecraft
# version 0.3.2 2011-01-27 (YYYY-MM-DD)
### BEGIN INIT INFO
# Provides: minecraft
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Minecraft server
# Description: Starts the minecraft server
### END INIT INFO
#Settings
SERVICE='minecraft_server.jar'
USERNAME="Cloudbringer"
MCPATH='/home/Cloudbringer/Minecraft'
CPU_COUNT=1
INVOCATION="java -Xmx1024M -Xms1024M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=$CPU_COUNT -XX:+AggressiveOpts -jar minecraft_server.jar nogui"
BACKUPPATH='/home/Cloudbringer/minecraft.backup'
ME=`whoami`
as_user() {
if [ $ME == $USERNAME ] ; then
bash -c "$1"
else
su - $USERNAME -c "$1"
fi
}
mc_start() {
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "Tried to start but $SERVICE was already running!"
else
echo "$SERVICE was not running... starting."
cd $MCPATH
as_user "cd $MCPATH && screen -dmS minecraft $INVOCATION"
sleep 7
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is now running."
else
echo "Could not start $SERVICE."
fi
fi
}
mc_saveoff() {
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running... suspending saves"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"say SERVER BACKUP STARTING. Server going readonly...\"\015'"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"save-off\"\015'"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"save-all\"\015'"
sync
sleep 10
else
echo "$SERVICE was not running. Not suspending saves."
fi
}
mc_saveon() {
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running... re-enabling saves"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"save-on\"\015'"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"say SERVER BACKUP ENDED. Server going read-write...\"\015'"
else
echo "$SERVICE was not running. Not resuming saves."
fi
}
mc_stop() {
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running... stopping."
as_user "screen -p 0 -S minecraft -X eval 'stuff \"say SERVER SHUTTING DOWN IN 10 SECONDS. Saving map...\"\015'"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"save-all\"\015'"
sleep 10
as_user "screen -p 0 -S minecraft -X eval 'stuff \"stop\"\015'"
sleep 7
else
echo "$SERVICE was not running."
fi
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE could not be shut down... still running."
else
echo "$SERVICE is shut down."
fi
}
mc_update() {
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running! Will not start update."
else
MC_SERVER_URL=http://www.minecraft.net/download/minecraft_server.jar?v=`date | sed "s/[^a-zA-Z0-9]/_/g"`
as_user "cd $MCPATH && wget -q -O $MCPATH/minecraft_server.jar.update $MC_SERVER_URL"
if [ -f $MCPATH/minecraft_server.jar.update ]
then
if `diff $MCPATH/minecraft_server.jar $MCPATH/minecraft_server.jar.update >/dev/null`
then
echo "You are already running the latest version of $SERVICE."
else
as_user "mv $MCPATH/minecraft_server.jar.update $MCPATH/minecraft_server.jar"
echo "Minecraft successfully updated."
fi
else
echo "Minecraft update could not be downloaded."
fi
fi
}
mc_backup() {
echo "Backing up minecraft world"
if [ -d $BACKUPPATH/world_`date "+%Y.%m.%d"` ]
then
for i in 1 2 3 4 5 6
do
if [ -d $BACKUPPATH/world_`date "+%Y.%m.%d"`-$i ]
then
continue
else
as_user "cd $MCPATH && cp -r world $BACKUPPATH/world_`date "+%Y.%m.%d"`-$i"
break
fi
done
else
as_user "cd $MCPATH && cp -r world $BACKUPPATH/world_`date "+%Y.%m.%d"`"
echo "Backed up world"
fi
echo "Backing up the minecraft server executable"
if [ -f "$BACKUPPATH/minecraft_server_`date "+%Y.%m.%d"`.jar" ]
then
for i in 1 2 3 4 5 6
do
if [ -f "$BACKUPPATH/minecraft_server_`date "+%Y.%m.%d"`-$i.jar" ]
then
continue
else
as_user "cd $MCPATH && cp minecraft_server.jar \"$BACKUPPATH/minecraft_server_`date "+%Y.%m.%d"`-$i.jar\""
break
fi
done
else
as_user "cd $MCPATH && cp minecraft_server.jar \"$BACKUPPATH/minecraft_server_`date "+%Y.%m.%d"`.jar\""
fi
echo "Backup complete"
}
#Start-Stop here
case "$1" in
start)
mc_start
;;
stop)
mc_stop
;;
restart)
mc_stop
mc_start
;;
update)
mc_stop
mc_backup
mc_update
mc_start
;;
backup)
mc_saveoff
mc_backup
mc_saveon
;;
status)
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running."
else
echo "$SERVICE is not running."
fi
;;
*)
echo "Usage: /etc/init.d/minecraft {start|stop|update|backup|status|restart}"
exit 1
;;
esac
exit 0
what about if notch made it so that 1x Sand = 1/2x Glass
2 x 1/2 Glass = 1 x Glass blocks
i dunno, i'm just a random noob comming with random noob ideas :tongue.gif:
Thats not impossible, and believe me, there are bigger noobs out there! Tho I'm pretty sure this will **** of a lot of people...
what if he made the 1/2 Glass slab (kinda like the door it auto corrects the position on where you stand to it.)
example.
if this is from the outside it would look like the glass was on the edge and if you go inside and look out it looks like the glass is standing from the midle of the block it's standing on outwards if you know what i mean.
this way you could get halfblocks WITHOUT pissing of some ppl. (could draw "awesome" mspaint picture if required) :tongue.gif:
What is your Minecraft username? My minecraft username is Cloudbringer
Will this be your main server? I don't know yet, have to try it out and see =3
Have you ever been banned? nope, and i'm not planning to either
Why do you want to join? i want to try out multiplayer and see how it goes, also i love building stuff :biggrin.gif: so i might be helpfull in that area ^^
0
hmmm, i did a few restarts on mine before the 1.6_2 startet to work.
also did test with and without the "nogui" option, startet just fine first time i tried without the "nogui" option tho
0
i go and "chop some wood with the flat of my hand" and i go about my merry bizzwizz and thinking if the wood shouldnt be falling down soon, i get tired of waiting and i wander about a min... OR TWO, then i get instantly teleported to where i was chopping the wood!
so. anyone else having the same problem?
0
indeed, let's be patient, and see if notch manages to fix this today ^^
probably one line of code with a , or . to much or maybe a "....hic" ?
anyhow, it seems that to many are facing the same issue for it to be a coincident
/Cloudbringer
0
but since the server loads at 0-5% cpu while idle(no players on) and at ~50%(1 player) and ~100%(2 players and more)
also running the JAR version of the server with the "nogui" option
server got 2048MB ram and using a 3430 Intel Xeon CPU running on CentOS 5.6
looking forward to when it's fixed
/Cloudbringer
0
quite simple -_^
thank you, seems to be working now :biggrin.gif:
Regards
Cloudbringer
0
i've been using a regular minecraft server for the past 3 weeks on Cent OS 5.6 and now i've been thinking of going the extra mile to use a script for starting/stopping/backup/upgrade
i had a script on my previous setup (ubuntu10.4) and i was thinking i could use this now aswell.
after some searching i found the script and followed the instructions here
after setting the script up and i try to start/stop the server i get an error saying "-bash: screen: command not found"
in the code section is the edited version i'm using, all folders and path's are correct.
Any help would be appreciated!
Regards.
Cloudbringer
0
0
click pic for bigger view.
Blue = glass
0
what if he made the 1/2 Glass slab (kinda like the door it auto corrects the position on where you stand to it.)
example.
if this is from the outside it would look like the glass was on the edge and if you go inside and look out it looks like the glass is standing from the midle of the block it's standing on outwards if you know what i mean.
this way you could get halfblocks WITHOUT pissing of some ppl. (could draw "awesome" mspaint picture if required) :tongue.gif:
0
2 x 1/2 Glass = 1 x Glass blocks
i dunno, i'm just a random noob comming with random noob ideas :tongue.gif:
0
0
any idea when it's comming online again anyone ?
0
Will this be your main server? I don't know yet, have to try it out and see =3
Have you ever been banned? nope, and i'm not planning to either
Why do you want to join? i want to try out multiplayer and see how it goes, also i love building stuff :biggrin.gif: so i might be helpfull in that area ^^
/Cloud
0
When you got Minecraft: i have been playing the game for about a month and a half.