The name SimpleServer has been specified by the original author and certainly it applied to SimpleServer in it's early state. But a lot of useful features has been added since then and admittedly it has become a bit "overwhelming". But thats a typical problem to find the balance between feature-richness and simplicity. I'm sorry if it doesn't fullfill your needs, but you can't expect hosting and administrating a feature-rich server without willing to spend some time on setting it up and maintaining. If you want to have it as simple as possible, use the vanilla server instead
No one stops you from stopping using SimpleServer, so please do not make this sound like a "threat". Instead you could try to be constructive and suggest what should be changed (or even help to do it if possible). SimpleServer is an open source project - that means the people who currently work on it do it in their free time because they like this project and want to make it better. So please, do not make your criticism sound like flaming, because this is disrespecting all the people working on this piece of awesome software. <end of rant>
BTW:
You don't need to restart the server if you change something, you just have to use the command /reload.
With all due respect, this response was more a personal attack than anything else, and I will tell you exactly why. You assume wrongly that I have not looked into SimpleServer, however I have to a great degree. The issue is more with the lack of information on the help pages as far as bukkit's integration than with my own inability to study something I am so involved in. Needless to say, I do not in the least appreciate the implication, nor the completely patronizing tone you are taking with me. I am a SimpleServer user who has used it for many months, and for some time it has performed nearly perfectly. Only now is it giving me a lot of issues, and surely I would move to another program if I knew of one that could operate as well as SimpleServer. The fact is, however, that simpleserver is a fantastic program that only recently is troubling me after some features were added - In the end I am hoping this can be helped.
I will, however, take your advice and pretty plainly explain what should be changed:
Many simpleserver users use bukkit, so I would really appreciate compatibility with this without jumping through too many hoops. At the moment, the permissions system is explained roughly to a point in which I do not understand the basics when using bukkit. I get everything else, just not the commands I use through bukkit, and how to operate those without cloning in two formats the permissions I already use. I am led to believe as such that I need to set up a permission for every command bukkit uses, to which I truly hope I am wrong. In my original post, I asked just this, and you will note that the person who responded directly to me failed to inform me... rather he thought to "correct" me, to put it nicely.
In the end, I digress... Simplicity is truly remarkable, and for those of us using bukkit at a complex degree (I have over 40 plugins running on my server in perfect calculated harmony) we would truly appreciate the option to streamline this wrapper for simple uses such as restarts, backups, and saving. I imagine newbie admins would also appreciate turning permissions off! This is my humble recommendation.
And to apirogrov once more: I thank you for the tip on reloading, this was quite helpful... in the future to avoid these silly arguments I suggest you do the creators of this software, and myself a favor and simply stick to these helpful comments, rather than feeding the fire with someone who has already been troubleshooting for hours and reaching his limit. I have no excuse for using such tones other than an admittance of my own limitations as a human being, and I trust in a room full of admins this can be understood, not attacked. I hope we can progress from here and create a much better system as I have since October been quite a huge fan of this wrapper (I used it exclusively, in fact, up until I added hmod to the mix.) Kudos for bringing it back as far as you have, but please help us make it functional and simple to at least a minor degree for bukkit (mostly because Bukkit gives us all enough headaches, amirite?)
P.S. In case anyone is curious, these are the words that sparked this: "If that's the case, then why call this "SIMPLEServer"? If we have to jump through hoops and set up complex permissions to make popular things like bukkit run, then it's anything but simple." I do not feel this is too offensive, but clearly someone took it that way, so I apologize. I do stand by the meaning of these words very much so, however, as I would love to bypass permissions and simply wrap my bukkit server without active manipulation of simpleserver every time I change or add permissions to bukkit's "Permissions" plugin. Perhaps this exists, and if it does I would really love to know how! Perhaps a global "allowed" permission with restrictions to the simpleserver commands? If it exists, also please make this default to help others!
Edit: Turns out this was all a wild goose chase. Permissions does not interfere after all so far as I can tell. The issue was the conversion from RC7.2 to 8.04. I deleted all my files, regenerated them, and it works now. So for anyone having the same problem I was having, simply regenerate your files! I did this before, but like an idiot I simply forgot that the msgwrap needed to be altered (or so I guess.) Either way works great! Ignore the suggestions about permissions, everything is working better than ever! Well done, simpleserver team, as I wrote weeks ago, I will truly enjoy the ability to issue commands from the backend again!
Oh, i'm sorry I do have one suggestion: Please inform those who come over from the old server to regenerate the files (place it in the op, perhaps, or the wiki.) That would have saved me a lot of toil -.-
One more bit (Bug Report)
When "msgformat" is false, it ruins all chat on the server if your using bukkit (nothing shows up), and when you use the formats (true) it cuts off the admins chat near the end... It's a huge hassle when you type a lot like most admins, and not being able to turn that off is pretty bad - if anyone has a trick to this I would love to know, otherwise it's simply a bug that may need correcting.
One more bit (Bug Report)
When "msgformat" is false, it ruins all chat on the server if your using bukkit (nothing shows up), and when you use the formats (true) it cuts off the admins chat near the end... It's a huge hassle when you type a lot like most admins, and not being able to turn that off is pretty bad - if anyone has a trick to this I would love to know, otherwise it's simply a bug that may need correcting.
This seems to be the problem I am facing (see my post above) however, the msgformat=true/false does not exist in this form in my simpleserver config. the msgformat parameter defines the format in which messages appear.
am i maybe missing a parameter from the simpleserver.properties? or is this located elsewhere?
please help as I can't move forward until I get simple server working again
EDIT: Sorry found the property "useMsgFormats" but true nor false makes a difference... still have my above issue
There is a "useMsgFormats" option too. I actually never tried to disable this, I'll try to fix any bugs with it in 8.1.
@LucidLethargy:
I started using Bukkit myself and therefore the Bukkit integration will get more attention now. SimpleServer shouldn't interfere with Bukkit's commands by default, the integration in the permission is only meant to be used if you don't use the Permissions plugin and need to stop some commands from being used by players. In the future I'd like SimpleServer to automatically generate and update the Permission config with the groups and users defined in permissions.xml. This way using /setgroup would automatically change the permission.xml and the world.yml and reload the Permission plugin.
I also planned to provide a way to disable whole parts of simpleserver like areas, chest locking or permissions. I think this would get some of the simplicity back. Right now the guideline is to make everything easy to set up but every detail configurable.
I don't know why you had to regenerate the files, normally SimpleServer would convert them automatically.
There is a "useMsgFormats" option too. I actually never tried to disable this, I'll try to fix any bugs with it in 8.1.
Thanks for the reply, I found that option and had no luck.
Just downloaded the server clean again, and ran it once, just once, so it had to download all the files as defaults.
I made absolutely no changes to any settings, just ran launch.bat then logged in once the world loaded. Heres the server log:
SimpleServer -- Copyright (C) 2011 SimpleServer authors (see CONTRIBUTORS)
This program is licensed under The MIT License.
See file LICENSE for details.
>> Starting SimpleServer 8.0.4-e52230c
Trying to convert old configuration files...
ERROR: Could not find group-list.txt
ERROR: Could not find member-list.txt
ERROR: Could not find ip-member-list.txt
ERROR: Could not find command-list.txt
ERROR: Could not find block-list.txt
ERROR: Could not find kit-list.txt
permissions.xml is missing. Loading defaults.
Properties file not found. Created simpleserver.properties!
robot-list.txt is missing. Loading defaults.
chest-list.txt is missing. Loading defaults.
motd.txt is missing. Loading defaults.
rules.txt is missing. Loading defaults.
helptext.txt is missing. Loading defaults.
kit-list.txt is missing. Loading defaults.
ip-ban-list.txt is missing. Loading defaults.
white-list.txt is missing. Loading defaults.
mute-list.txt is missing. Loading defaults.
give-alias-list.txt is missing. Loading defaults.
stats.txt is missing. Loading defaults.
[SimpleServer] Downloading minecraft_server.jar. Please wait!
[Lmp;@6d8dfef8
146 recipes
[Lmp;@6d8dfef8
16 achievements
2011-05-25 21:17:51 [INFO] Starting minecraft server version Beta 1.5_02
2011-05-25 21:17:51 [INFO] Loading properties
2011-05-25 21:17:51 [INFO] Starting Minecraft server on 127.0.0.1:25566
2011-05-25 21:17:51 [WARNING] Failed to load ban list: java.io.FileNotFoundExcep
tion: banned-players.txt (The system cannot find the file specified)
2011-05-25 21:17:51 [WARNING] Failed to load ip ban list: java.io.FileNotFoundEx
ception: banned-ips.txt (The system cannot find the file specified)
2011-05-25 21:17:51 [WARNING] Failed to load ip ban list: java.io.FileNotFoundEx
ception: ops.txt (The system cannot find the file specified)
2011-05-25 21:17:51 [WARNING] Failed to load white-list: java.io.FileNotFoundExc
eption: white-list.txt (The system cannot find the file specified)
2011-05-25 21:17:51 [INFO] Preparing level "world"
2011-05-25 21:17:51 [INFO] Preparing start region
2011-05-25 21:17:53 [INFO] Preparing spawn area: 28%
2011-05-25 21:17:54 [INFO] Preparing spawn area: 52%
2011-05-25 21:17:55 [INFO] Preparing spawn area: 69%
2011-05-25 21:17:56 [INFO] Preparing spawn area: 85%
2011-05-25 21:17:56 [INFO] Done (4911605059ns)! For help, type "help" or "?"
[SimpleServer] Wrapper listening on 0.0.0.0:25565 (connect here)
[SimpleServer] Note: 0.0.0.0 means all IP addresses; you want this.
2011-05-25 21:18:45 [INFO] slothy89 [/127.0.0.1:50931] logged in with entity id
3814 at (209.5, 75.62000000476837, 77.5)
2011-05-25 21:18:52 [INFO] slothy89 tried command: help
2011-05-25 21:18:54 [INFO] <slothy89> !help
2011-05-25 21:18:56 [INFO] slothy89 lost connection: disconnect.quitting
I typed both /help and !help to make sure the properties files was being read.
Again, the server sees me type /help and recognizes the command, but doesn't give any feedback on the client, or appear to execute it.
Is this maybe a bug when connecting to the server from the same PC? I'm running the server on the same PC as the client as you can see from the log.
Again, the server sees me type /help and recognizes the command, but doesn't give any feedback on the client, or appear to execute it.
Is this maybe a bug when connecting to the server from the same PC? I'm running the server on the same PC as the client as you can see from the log.
I don't know why, but /help is forwarded to the server by default. Nevertheless it should display the SImpleServer help, it just means the "slothy89 tried command: help" is expected behavior. I tried to do the exact same thing and I did get the help message. What system are you using? Did you use SimpleServer before? Does running the vanilla minecraft_server.jar and executing /help give any feedback?
Can some make it so the stats.txt file is readable? I'd find it very useful to see my users' stats for promoting them and such. Thanks!
I stopped development on this feature when Notch announced the native statistics. It seems like they do very different things, so I will implement a /stats <palyer> and a /ranking sometimes soon.
I've reinstalled the server 7 times now and copied my world over. It works some days and not the others. It started working yesterday after that post and now it isnt working again. Why would it do this?
The error message is displayed by minecraft when reading your map. At this point SimpleServer doesn't interfere at all. Does running just the minecraft_server.jar work? If not you can try Chunkster to fix your world.
I have been using the simpleserver wrapper since before minecraft went beta and I wanted to thank you for it, it has made server administration a fair bit less painful and every bit helps!
I wanted to come here to drop a small snippet of script that I wrote for my server that may help others. This will only work in linux and I'm using this as a replacement for launch.sh (There may be a way to re-write the batch file for windows in a similar manner but I'm not familiar with how to do it). The idea is that if the server crashes it will restart again within 5 seconds. The only downside to this is to stop the server you type "stop" in terminal as you normally do but then you have to press ctrl-c in order to actually kill the script or it will continue to run and restart the server.
Hope someone finds this useful, thanks again for the great mod!
#!/bin/sh
while true
do
if [ $(ps aux | grep -c "java -Xincgc -Xmx1024 -jar minecraft_server.jar nogui") == "0" ]
then
java -Xmx1024m -Xms1024m -jar SimpleServer.jar
sleep 5
fi
done
echo Press Enter to continue
read nothing
Unfortunately your world is corrupt. This may happen when the server crashes while saving chunks. Like I stated earlier you can try Chunkster but backup your world before you do anything! There are some possible solutions here too.
On linux I would recommend to run the minecraft server as a daemon. The start-stop-daemon command provides automatic restart and when shutting down the server can be stopped over telnet. If you want to execute server commands you can use a screen session but personally I don't use that. Also SimpleServer shouldn't need that much RAM :wink.gif:
Sorry, but where and how do I specify the path to my world file?
"The compiled jar is in the "dist/" folder, simply put Chunkster in your
server folder and specify the path to your world name, then run the following."
With all due respect, this response was more a personal attack than anything else, and I will tell you exactly why. You assume wrongly that I have not looked into SimpleServer, however I have to a great degree. The issue is more with the lack of information on the help pages as far as bukkit's integration than with my own inability to study something I am so involved in. Needless to say, I do not in the least appreciate the implication, nor the completely patronizing tone you are taking with me. I am a SimpleServer user who has used it for many months, and for some time it has performed nearly perfectly. Only now is it giving me a lot of issues, and surely I would move to another program if I knew of one that could operate as well as SimpleServer. The fact is, however, that simpleserver is a fantastic program that only recently is troubling me after some features were added - In the end I am hoping this can be helped.
I will, however, take your advice and pretty plainly explain what should be changed:
Many simpleserver users use bukkit, so I would really appreciate compatibility with this without jumping through too many hoops. At the moment, the permissions system is explained roughly to a point in which I do not understand the basics when using bukkit. I get everything else, just not the commands I use through bukkit, and how to operate those without cloning in two formats the permissions I already use. I am led to believe as such that I need to set up a permission for every command bukkit uses, to which I truly hope I am wrong. In my original post, I asked just this, and you will note that the person who responded directly to me failed to inform me... rather he thought to "correct" me, to put it nicely.
In the end, I digress... Simplicity is truly remarkable, and for those of us using bukkit at a complex degree (I have over 40 plugins running on my server in perfect calculated harmony) we would truly appreciate the option to streamline this wrapper for simple uses such as restarts, backups, and saving. I imagine newbie admins would also appreciate turning permissions off! This is my humble recommendation.
And to apirogrov once more: I thank you for the tip on reloading, this was quite helpful... in the future to avoid these silly arguments I suggest you do the creators of this software, and myself a favor and simply stick to these helpful comments, rather than feeding the fire with someone who has already been troubleshooting for hours and reaching his limit. I have no excuse for using such tones other than an admittance of my own limitations as a human being, and I trust in a room full of admins this can be understood, not attacked. I hope we can progress from here and create a much better system as I have since October been quite a huge fan of this wrapper (I used it exclusively, in fact, up until I added hmod to the mix.) Kudos for bringing it back as far as you have, but please help us make it functional and simple to at least a minor degree for bukkit (mostly because Bukkit gives us all enough headaches, amirite?)
P.S. In case anyone is curious, these are the words that sparked this: "If that's the case, then why call this "SIMPLEServer"? If we have to jump through hoops and set up complex permissions to make popular things like bukkit run, then it's anything but simple." I do not feel this is too offensive, but clearly someone took it that way, so I apologize. I do stand by the meaning of these words very much so, however, as I would love to bypass permissions and simply wrap my bukkit server without active manipulation of simpleserver every time I change or add permissions to bukkit's "Permissions" plugin. Perhaps this exists, and if it does I would really love to know how! Perhaps a global "allowed" permission with restrictions to the simpleserver commands? If it exists, also please make this default to help others!
Edit: Turns out this was all a wild goose chase. Permissions does not interfere after all so far as I can tell. The issue was the conversion from RC7.2 to 8.04. I deleted all my files, regenerated them, and it works now. So for anyone having the same problem I was having, simply regenerate your files! I did this before, but like an idiot I simply forgot that the msgwrap needed to be altered (or so I guess.) Either way works great! Ignore the suggestions about permissions, everything is working better than ever! Well done, simpleserver team, as I wrote weeks ago, I will truly enjoy the ability to issue commands from the backend again!
Oh, i'm sorry I do have one suggestion: Please inform those who come over from the old server to regenerate the files (place it in the op, perhaps, or the wiki.) That would have saved me a lot of toil -.-
One more bit (Bug Report)
When "msgformat" is false, it ruins all chat on the server if your using bukkit (nothing shows up), and when you use the formats (true) it cuts off the admins chat near the end... It's a huge hassle when you type a lot like most admins, and not being able to turn that off is pretty bad - if anyone has a trick to this I would love to know, otherwise it's simply a bug that may need correcting.
Creator of Paradigne
http://www.paradigne.com
This seems to be the problem I am facing (see my post above) however, the msgformat=true/false does not exist in this form in my simpleserver config. the msgformat parameter defines the format in which messages appear.
am i maybe missing a parameter from the simpleserver.properties? or is this located elsewhere?
please help as I can't move forward until I get simple server working again
EDIT: Sorry found the property "useMsgFormats" but true nor false makes a difference... still have my above issue
There is a "useMsgFormats" option too. I actually never tried to disable this, I'll try to fix any bugs with it in 8.1.
@LucidLethargy:
I started using Bukkit myself and therefore the Bukkit integration will get more attention now. SimpleServer shouldn't interfere with Bukkit's commands by default, the integration in the permission is only meant to be used if you don't use the Permissions plugin and need to stop some commands from being used by players. In the future I'd like SimpleServer to automatically generate and update the Permission config with the groups and users defined in permissions.xml. This way using /setgroup would automatically change the permission.xml and the world.yml and reload the Permission plugin.
I also planned to provide a way to disable whole parts of simpleserver like areas, chest locking or permissions. I think this would get some of the simplicity back. Right now the guideline is to make everything easy to set up but every detail configurable.
I don't know why you had to regenerate the files, normally SimpleServer would convert them automatically.
Thanks for the reply, I found that option and had no luck.
Just downloaded the server clean again, and ran it once, just once, so it had to download all the files as defaults.
I made absolutely no changes to any settings, just ran launch.bat then logged in once the world loaded. Heres the server log:
I typed both /help and !help to make sure the properties files was being read.
Again, the server sees me type /help and recognizes the command, but doesn't give any feedback on the client, or appear to execute it.
Is this maybe a bug when connecting to the server from the same PC? I'm running the server on the same PC as the client as you can see from the log.
I don't know why, but /help is forwarded to the server by default. Nevertheless it should display the SImpleServer help, it just means the "slothy89 tried command: help" is expected behavior. I tried to do the exact same thing and I did get the help message. What system are you using? Did you use SimpleServer before? Does running the vanilla minecraft_server.jar and executing /help give any feedback?
I stopped development on this feature when Notch announced the native statistics. It seems like they do very different things, so I will implement a /stats <palyer> and a /ranking sometimes soon.
Uploaded with ImageShack.us
Orly?
The error is thrown by minecraft_server.jar and caught by SimpleServer. It probably means your world is corrupt or isn't a minecraft world at all.
Write this into a text file and call it vanilla.bat:
Then run it like launch.bat.
PS: You shouldn't run batch files from sources you don't trust :wink.gif:
Uploaded with ImageShack.us
:sad.gif:
I wanted to come here to drop a small snippet of script that I wrote for my server that may help others. This will only work in linux and I'm using this as a replacement for launch.sh (There may be a way to re-write the batch file for windows in a similar manner but I'm not familiar with how to do it). The idea is that if the server crashes it will restart again within 5 seconds. The only downside to this is to stop the server you type "stop" in terminal as you normally do but then you have to press ctrl-c in order to actually kill the script or it will continue to run and restart the server.
Hope someone finds this useful, thanks again for the great mod!
Unfortunately your world is corrupt. This may happen when the server crashes while saving chunks. Like I stated earlier you can try Chunkster but backup your world before you do anything! There are some possible solutions here too.
On linux I would recommend to run the minecraft server as a daemon. The start-stop-daemon command provides automatic restart and when shutting down the server can be stopped over telnet. If you want to execute server commands you can use a screen session but personally I don't use that. Also SimpleServer shouldn't need that much RAM :wink.gif:
"The compiled jar is in the "dist/" folder, simply put Chunkster in your
server folder and specify the path to your world name, then run the following."
"...specify the path to your world name..."
??