I have to say that this wrapper is pretty awesome.
Thanks so much! :smile.gif:
Quote from oleerik »
Is there any way you can remove those "Console whispers" messages? Its pretty annoying when the server both whispers and says the MOTD, rules etc.. :tongue.gif:
I think this is actually notch's issue, since "tell" in the console is both saying it outloud and whispering it :sad.gif:
I can try to intercept the packets from the server to the client and drop them, but parsing the server's packets are turning out to be a bit harder than expected :sad.gif:
I'll see if instead of parsing the server's messages I can just catch it when it isn't sending anything and inject something on the stream. This way instead of using the tell command I can just inject a message right to the user
Quote from oleerik »
Also, can I somehow apply a furnace fix here?
Absolutely! apply Llamacraft to minecraft_server.jar, and use my wrapper as per usual : )
Quote from oleerik »
And, last but not least, do you have any goal on donations? Ill give you some if this project continues to look this great! :smile.gif:
Im only really going to ask for donations once RC3 or 4 is out, but I'd say the suggested donation would 5 dollars. If you feel the software is worth more, then donate to your hearts delight! I will put up a donation button on the first post soon. Otherwise my paypal ID is [email protected] ;D
Hmm.. when I try to connect, it takes me forever. Give me a screen that say 'Logging in..' and then it say 'Disconnected: Took too long to connect. Why is it doing this?
How do I get this working on a mac? Launching the .sh file worked but clicking on simpleserver.jar opened nothing, then typing java -jar *path to simpleserver.jar* in terminal gave told me it couldn't listen in on the port on 25565. I assume that means it failed to bind to port, but the port is open and my usual server works just fine with people outside able to connect.
How do I get this working on a mac? Launching the .sh file worked but clicking on simpleserver.jar opened nothing, then typing java -jar *path to simpleserver.jar* in terminal gave told me it couldn't listen in on the port on 25565. I assume that means it failed to bind to port, but the port is open and my usual server works just fine with people outside able to connect.
1 of 2 things is happening
1) There is a SimpleServer.jar file already running in the background
2) There is another program using the 25565 port, such as minecraft_server.jar.
Try killing all your java processes and then running it again.
If that doesn't work, change the "port" in simpleserver.properties. :smile.gif:
couple questions.
How does the wrapper backup files? does it send a save-off save-all and then tar's the world? or does it shutdown the server and backup then restart.
another is will this work with Hey0's mod. the only part of your wrapper i'm interested in is the autobackup. for more info though his mod has it's own .jar as well
How do I get this working on a mac? Launching the .sh file worked but clicking on simpleserver.jar opened nothing, then typing java -jar *path to simpleserver.jar* in terminal gave told me it couldn't listen in on the port on 25565. I assume that means it failed to bind to port, but the port is open and my usual server works just fine with people outside able to connect.
1 of 2 things is happening
1) There is a SimpleServer.jar file already running in the background
2) There is another program using the 25565 port, such as minecraft_server.jar.
Try killing all your java processes and then running it again.
If that doesn't work, change the "port" in simpleserver.properties. :smile.gif:
Ok, the port is cleared and no other processes are running, it gave me the "you are running the server for the frist time, edit server properties etc" and the server properties was all good. When I tried java -jar *path to simple server.jar* after that it told me it was unable to access the minecraft_server.jar even though they are placed in the same file.
couple questions.
How does the wrapper backup files? does it send a save-off save-all and then tar's the world? or does it shutdown the server and backup then restart.
another is will this work with Hey0's mod. the only part of your wrapper i'm interested in is the autobackup. for more info though his mod has it's own .jar as well
Hm I haven't tested it with Hey0's mod. It's definitely compatible with the class file editing, but if it requires you to run a .jar infront of the server, then it probably isn't compatible. I'll have to look into that.
Also, the backup does save-off, zips the world, and then save-on.
Edit: it actually zips the world. I am adding an option to do tar.gz in a later release.
How do I get this working on a mac? Launching the .sh file worked but clicking on simpleserver.jar opened nothing, then typing java -jar *path to simpleserver.jar* in terminal gave told me it couldn't listen in on the port on 25565. I assume that means it failed to bind to port, but the port is open and my usual server works just fine with people outside able to connect.
1 of 2 things is happening
1) There is a SimpleServer.jar file already running in the background
2) There is another program using the 25565 port, such as minecraft_server.jar.
Try killing all your java processes and then running it again.
If that doesn't work, change the "port" in simpleserver.properties. :smile.gif:
Ok, the port is cleared and no other processes are running, it gave me the "you are running the server for the frist time, edit server properties etc" and the server properties was all good. When I tried java -jar *path to simple server.jar* after that it told me it was unable to access the minecraft_server.jar even though they are placed in the same file.
Try making sure the terminal is within the directory that contains the two .jar files, and just run "java -jar SimpleServer.jar"
Edit: What i mean to say is that you need to cd to the right director, so if it's in /home/user/minecraft, you should "cd /home/user/minecraft" and then just run "java -jar SimpleServer.jar"
Try making sure the terminal is within the directory that contains the two .jar files, and just run "java -jar SimpleServer.jar"
Thank you for helping by the way.
If by that you mean litterally placing terminal within the same file as where the .jars are, that doesnt work. If I try to run just java -jar SimepleServer.jar it says it is unable to access the SimepleServer.jar, which is why I put the the path to the file than ran it which attempts to start the server, tells me its unable to access the minecraft_server.jar, tries to start from an IP then gives me a long java.net:connection refused error.
Any ideas? I really want some sort of java wrapper to work on my server D:
Try making sure the terminal is within the directory that contains the two .jar files, and just run "java -jar SimpleServer.jar"
!!!!
That started the server! Yes! Progress! EDIT: More failed to bind to port errors but I think I can fix it.
No instances of other servers are running on 25565 but the server cant bind to the port. Im not trying to use an external IP, infact I left the ip slot blank in the server properties. Changing the ports in the simpleserver properties to something like 25566 still tries to bind to port 25565. What do I need to edit to change the port? Both ports in the simpleserver.properties and in the server properties?
Figured that out. It still says the port is in use when its not, Ive tried launching from a fresh restart which I would assume would free up the port if I was using it. My normal server still launches just fine from the same port, and closing it fully and trying to launch simpleserver it gives me the port error. Is it an IP thing maybe? Do I need the set the IP in both properties to my internal IP?
Try making sure the terminal is within the directory that contains the two .jar files, and just run "java -jar SimpleServer.jar"
Thank you for helping by the way.
If by that you mean litterally placing terminal within the same file as where the .jars are, that doesnt work. If I try to run just java -jar SimepleServer.jar it says it is unable to access the SimepleServer.jar, which is why I put the the path to the file than ran it which attempts to start the server, tells me its unable to access the minecraft_server.jar, tries to start from an IP then gives me a long java.net:connection refused error.
Any ideas? I really want some sort of java wrapper to work on my server D:
Try making sure the terminal is within the directory that contains the two .jar files, and just run "java -jar SimpleServer.jar"
!!!!
That started the server! Yes! Progress! EDIT: More failed to bind to port errors but I think I can fix it.
No instances of other servers are running on 25565 but the server cant bind to the port. Im not trying to use an external IP, infact I left the ip slot blank in the server properties. Changing the ports in the simpleserver properties to something like 25566 still tries to bind to port 25565. What do I need to edit to change the port? Both ports in the simpleserver.properties and in the server properties?
Figured that out. It still says the port is in use when its not, Ive tried launching from a fresh restart which I would assume would free up the port if I was using it. My normal server still launches just fine from the same port, and closing it fully and trying to launch simpleserver it gives me the port error. Is it an IP thing maybe? Do I need the set the IP in both properties to my internal IP?
hmmm. Okay, make sure that the internalPort and port settings in simpleserver.properties are different ports. Also, as a note, server.properties should not be edited. My server autogenerates it based on your settings in simpleserver.properties
Also, if they are already different ports, then try "sudo"ing the java command? I dont think you need to do that though.
It is probably the above problem
hmmm. Okay, make sure that the internalPort and port settings in simpleserver.properties are different ports. Also, as a note, server.properties should not be edited. My server autogenerates it based on your settings in simpleserver.properties
Also, if they are already different ports, then try "sudo"ing the java command? I dont think you need to do that though.
It is probably the above problem
Making the two ports different starts the server normally, but its my normal server without your java wrapper. So commands like !rules dont work.
hmmm. Okay, make sure that the internalPort and port settings in simpleserver.properties are different ports. Also, as a note, server.properties should not be edited. My server autogenerates it based on your settings in simpleserver.properties
Also, if they are already different ports, then try "sudo"ing the java command? I dont think you need to do that though.
It is probably the above problem
Making the two ports different starts the server normally, but its my normal server without your java wrapper. So commands like !rules dont work.
So close!
Nono, you connect to the server using the "port"
"internalPort" is what the minecraft_server.jar runs on.
Here, for example.
Ah.. also, it might look like the normal server but it most certainly is my wrapper. The stdout (the console) of the minecraft server is routed into mine, as is the stdin. It is a nearly seamless wrapper ;D
Nono, you connect to the server using the "port"
"internalPort" is what the minecraft_server.jar runs on.
Here, for example.
If your settings are
port = 255
internalPort =256
Then you would connect to myip.net:255
Now Im lost. >_< Once again, thanks for helping and being patient with me.
Im just going to tell you exactly what Im doing and whats happening.
In Simpleserver.properties the ports are
My internal port is 25565
The port is 25566
Server.properties isnt edited, I let that be.
I started the server via terminal doing
cd *path to minecraft directory*
java -jar SimpleServer.jar
Bam, server starts normally, loads up .
I try typing !rules in the console to see if the java wrapper worked, and it doesn't display the rules.txt file.
I connect to the server from a different computer inside the network using 192.168. etc and try typing in !rules, still doesnt display rules.txt
Ah.. also, it might look like the normal server but it most certainly is my wrapper. The stdout (the console) of the minecraft server is routed into mine, as is the stdin. It is a nearly seamless wrapper ;D
:smile.gif:
Yea I noticed the server saved after 5 minutes of use which is what the defualt save time for your wrapper is, but the MOTD or rules or commands or anything else doesn't display.
EDIT: !save and !backup work in the console but !rules still doesn't show in game if commanded by a player. Is it like /!rules or something?
Nono, you connect to the server using the "port"
"internalPort" is what the minecraft_server.jar runs on.
Here, for example.
If your settings are
port = 255
internalPort =256
Then you would connect to myip.net:255
Now Im lost. >_< Once again, thanks for helping and being patient with me.
Im just going to tell you exactly what Im doing and whats happening.
In Simpleserver.properties the ports are
My internal port is 25565
The port is 25566
Server.properties isnt edited, I let that be.
I started the server via terminal doing
cd *path to minecraft directory*
java -jar SimpleServer.jar
Bam, server starts normally, loads up .
I try typing !rules in the console to see if the java wrapper worked, and it doesn't display the rules.txt file.
I connect to the server from a different computer inside the network using 192.168. etc and try typing in !rules, still doesnt display rules.txt
You may find it preferable to change internalPort to 25566 and port to 25565, since the port value is what you should be connecting to. Remember that minecraft client automatically tries port 25565 if you do not type a port in.
So, if you connect to 192.168.1.100, it will try to connect to 25565.
Also, !rules will not work in console. The only commands that work in console are !save, !reload, and !backup, plus the default minecraft commands.
So, swap the values of internalPort and port, and try again ;D You're very close
You may find it preferable to change internalPort to 25566 and port to 25565, since the port value is what you should be connecting to. Remember that minecraft client automatically tries port 25565 if you do not type a port in.
So, if you connect to 192.168.1.100, it will try to connect to 25565.
Also, !rules will not work in console. The only commands that work in console are !save, !reload, and !backup, plus the default minecraft commands.
So, swap the values of internalPort and port, and try again ;D You're very close
You may find it preferable to change internalPort to 25566 and port to 25565, since the port value is what you should be connecting to. Remember that minecraft client automatically tries port 25565 if you do not type a port in.
So, if you connect to 192.168.1.100, it will try to connect to 25565.
Also, !rules will not work in console. The only commands that work in console are !save, !reload, and !backup, plus the default minecraft commands.
So, swap the values of internalPort and port, and try again ;D You're very close
!!!!!
THAT DID IT! YES!!
THANK YOU SO MUCH!!!!
haha no problem. this whole thing has led me to a couple of small changes for the next RC. i will try to get that released tomorrow. Good luck, have fun, and remember to come back to the thread for updates!
It seems whenever we use the Simple Server Wrapper quite a few people including myself get "end of stream" as an error. Most of the time it happens within 5 minutes of joining the server, but sometimes takes ages - any idea?
I have the same problem but are you sure its the wrapper? Everyone on my server has been having fps drop then game freeze problems since about yesterday and that was before simple server was on my server.
Thanks so much! :smile.gif:
I think this is actually notch's issue, since "tell" in the console is both saying it outloud and whispering it :sad.gif:
I can try to intercept the packets from the server to the client and drop them, but parsing the server's packets are turning out to be a bit harder than expected :sad.gif:
I'll see if instead of parsing the server's messages I can just catch it when it isn't sending anything and inject something on the stream. This way instead of using the tell command I can just inject a message right to the user
Absolutely! apply Llamacraft to minecraft_server.jar, and use my wrapper as per usual : )
Im only really going to ask for donations once RC3 or 4 is out, but I'd say the suggested donation would 5 dollars. If you feel the software is worth more, then donate to your hearts delight! I will put up a donation button on the first post soon. Otherwise my paypal ID is [email protected] ;D
Now with even more burst dragons and autokickbans plugin rpg!
Sure :smile.gif: This will definitely be in the next RC!
Now with even more burst dragons and autokickbans plugin rpg!
Edit: nvmd. Fixed!
Makes backups?
Has a whitelist feature?
Blocks specific blocks?
YAY! This is exactly what I was looking for! =D
Thanks a lot! =D
Totally New at running servers? Click me!
I wonder if sansavarous is online...
1 of 2 things is happening
1) There is a SimpleServer.jar file already running in the background
2) There is another program using the 25565 port, such as minecraft_server.jar.
Try killing all your java processes and then running it again.
If that doesn't work, change the "port" in simpleserver.properties. :smile.gif:
Now with even more burst dragons and autokickbans plugin rpg!
How does the wrapper backup files? does it send a save-off save-all and then tar's the world? or does it shutdown the server and backup then restart.
another is will this work with Hey0's mod. the only part of your wrapper i'm interested in is the autobackup. for more info though his mod has it's own .jar as well
Ok, the port is cleared and no other processes are running, it gave me the "you are running the server for the frist time, edit server properties etc" and the server properties was all good. When I tried java -jar *path to simple server.jar* after that it told me it was unable to access the minecraft_server.jar even though they are placed in the same file.
Totally New at running servers? Click me!
I wonder if sansavarous is online...
Hm I haven't tested it with Hey0's mod. It's definitely compatible with the class file editing, but if it requires you to run a .jar infront of the server, then it probably isn't compatible. I'll have to look into that.
Also, the backup does save-off, zips the world, and then save-on.
Edit: it actually zips the world. I am adding an option to do tar.gz in a later release.
Now with even more burst dragons and autokickbans plugin rpg!
Try making sure the terminal is within the directory that contains the two .jar files, and just run "java -jar SimpleServer.jar"
Edit: What i mean to say is that you need to cd to the right director, so if it's in /home/user/minecraft, you should "cd /home/user/minecraft" and then just run "java -jar SimpleServer.jar"
Now with even more burst dragons and autokickbans plugin rpg!
Thank you for helping by the way.
If by that you mean litterally placing terminal within the same file as where the .jars are, that doesnt work. If I try to run just java -jar SimepleServer.jar it says it is unable to access the SimepleServer.jar, which is why I put the the path to the file than ran it which attempts to start the server, tells me its unable to access the minecraft_server.jar, tries to start from an IP then gives me a long java.net:connection refused error.
Any ideas? I really want some sort of java wrapper to work on my server D:
!!!!
That started the server! Yes! Progress!
EDIT: More failed to bind to port errors but I think I can fix it.No instances of other servers are running on 25565 but the server cant bind to the port. Im not trying to use an external IP, infact I left the ip slot blank in the server properties. Changing the ports in the simpleserver properties to something like 25566 still tries to bind to port 25565.
What do I need to edit to change the port? Both ports in the simpleserver.properties and in the server properties?Figured that out. It still says the port is in use when its not, Ive tried launching from a fresh restart which I would assume would free up the port if I was using it. My normal server still launches just fine from the same port, and closing it fully and trying to launch simpleserver it gives me the port error. Is it an IP thing maybe? Do I need the set the IP in both properties to my internal IP?
Totally New at running servers? Click me!
I wonder if sansavarous is online...
hmmm. Okay, make sure that the internalPort and port settings in simpleserver.properties are different ports. Also, as a note, server.properties should not be edited. My server autogenerates it based on your settings in simpleserver.properties
Also, if they are already different ports, then try "sudo"ing the java command? I dont think you need to do that though.
It is probably the above problem
Now with even more burst dragons and autokickbans plugin rpg!
Making the two ports different starts the server normally, but its my normal server without your java wrapper. So commands like !rules dont work.
So close!
Totally New at running servers? Click me!
I wonder if sansavarous is online...
Nono, you connect to the server using the "port"
"internalPort" is what the minecraft_server.jar runs on.
Here, for example.
If your settings are
port = 255
internalPort =256
Then you would connect to myip.net:255
Now with even more burst dragons and autokickbans plugin rpg!
Now with even more burst dragons and autokickbans plugin rpg!
Now Im lost. >_< Once again, thanks for helping and being patient with me.
Im just going to tell you exactly what Im doing and whats happening.
In Simpleserver.properties the ports are
My internal port is 25565
The port is 25566
Server.properties isnt edited, I let that be.
I started the server via terminal doing
cd *path to minecraft directory*
java -jar SimpleServer.jar
Bam, server starts normally, loads up .
I try typing !rules in the console to see if the java wrapper worked, and it doesn't display the rules.txt file.
I connect to the server from a different computer inside the network using 192.168. etc and try typing in !rules, still doesnt display rules.txt
:smile.gif:
Yea I noticed the server saved after 5 minutes of use which is what the defualt save time for your wrapper is, but the MOTD or rules or commands or anything else doesn't display.
EDIT: !save and !backup work in the console but !rules still doesn't show in game if commanded by a player. Is it like /!rules or something?
Totally New at running servers? Click me!
I wonder if sansavarous is online...
You may find it preferable to change internalPort to 25566 and port to 25565, since the port value is what you should be connecting to. Remember that minecraft client automatically tries port 25565 if you do not type a port in.
So, if you connect to 192.168.1.100, it will try to connect to 25565.
Also, !rules will not work in console. The only commands that work in console are !save, !reload, and !backup, plus the default minecraft commands.
So, swap the values of internalPort and port, and try again ;D You're very close
Now with even more burst dragons and autokickbans plugin rpg!
!!!!!
THAT DID IT! YES!!
THANK YOU SO MUCH!!!!
Totally New at running servers? Click me!
I wonder if sansavarous is online...
haha no problem. this whole thing has led me to a couple of small changes for the next RC. i will try to get that released tomorrow. Good luck, have fun, and remember to come back to the thread for updates!
Now with even more burst dragons and autokickbans plugin rpg!
I have the same problem but are you sure its the wrapper? Everyone on my server has been having fps drop then game freeze problems since about yesterday and that was before simple server was on my server.
Totally New at running servers? Click me!
I wonder if sansavarous is online...