Sorry about the confusion guys. It didn't even cross my mind to mention that it uses the non-GUI version of the server as I was mostly using a Mac machine to do my initial server hosting/testing (which doesn't have a GUI version) and I just moved everything to Windows once I got it working. The paths issue on Windows is an annoying one but if you look for a minute or two on google (I found a link and edited it into the OP) it's not a huge deal.
Anyway, I am glad it's working for some people. For the ones that it isn't working for, IF you can run the ServerLauncher I would like more information.
EDIT:
- To disable summoning at the moment an admin in-game must toggle #fun off. This will get fixed soonish.
- The blacklist file is currently only able to be delimited by newlines, spaces won't work if I remember correctly (this will change but for now it's that way because I coded it up fast at the expense of versatility).
PvP is like sex. When both parties are willing, it can be a very enjoyable experience. However, when one party is not, it is bound to ruin someone's day.
@xXTechmanXx If you are using Windows I did notice that my Windows box doesn't have typed text show up for some reason, if type and hit enter though it goes through. This is only on Windows though so I blame Microsoft.
@JabJabJab What issue are you talking about? Players joining and getting booted? The exception? That exception is actually due to something on the server. (the E: means the wrapper found it in the error steam of the server) If you are talking about the MISMATCHes that is also something on the server (O: means it came from the standard output stream of the server).
Wonderful! This is exactly what I was thinking about doing for myself. I wasn't satiated with the stock server's implementation and quantity of administration, so I was going to look into writing something similar. I'm trying it out right now on my server, and it seems to work as advertised. The setup instructions were simple and obvious, so no problems there. I'm exhausted, so forgive me if my post comes out sounding weird. I had a few requests:
- I don't know what you can and can't do, but I'd kill for teleport and "get coordinates" functionality. That may break the anti-cheat rules, so I would understand if it can't be done.
- I don't like the messages, e.g., "Watch out, an admin has entered." I'd rather have the plugin just stand back and be there than be sending everyone lots of messages.
- If there's any way to suppress commands, that would be ideal. As you are (supposedly) wrapping the server functionality, I would assume you could prevent any successful command messages from reaching the server. Plus, you could probably use the /command format instead of #command.
- Speaking of which, can you suppress the /away command as it comes in? It tends to cause crashes.
- It's not a huge deal, but abbreviation is always nice. Text entry is not comfortable in Minecraft, so I would love to use something like #s versus #summon.
- I keep getting floods of this format:
O: MISMATCH: Got X, Y, Z, 1, but expected X, Y, Y, 1
And since I don't even quite know what it means (assumedly the anti-cheat server measures), I'd rather just not see it.
- Also, I'd love to have the source, if you don't mind. I would probably be glad to customize it for my own use.
Nice job!
Oh, just an FYI -- logins aren't verified (yet), so someone with some knowhow can forge an admin's name. Something to think about.
Quote from Psyc0lops »
How exactly does this pass commands onto the server? Does it use the commands from text or does it hook into the routines?.
Based on the commands available, I assume that it pipes commands into the server's standard input, so in that case, it is limited to what a person at the console can do (all six or so commands).
@Psyc0lops As Fashnek said it uses pipes to get text from the server and send commands back to the server.
@Fashnek I couldn't do a teleport function without actually using some sort of packet wrapper around the server and that'd require learning the format of the packets and tricking the server and client. Blocking /away would require a similar approach. This is beyond my abilities. The MISMATCH flooding has nothing to do with the wrapper. It has something to do with the cheat prevention Notch put in the server. I will make the login/logout messages editable. They are currently hardcoded in and were more for debugging purposes than to actually be permanent to be honest.
The Meaning of Life, the Universe, and Everything.
Join Date:
8/4/2010
Posts:
42
Member Details
Could you help me Czahrien? I'm pretty sure my JRE is set up correctly, and I have the non-GUI version of the server. When I start it I outputs some things but then hangs on "Starting input Loop..."
Could you help me Czahrien? I'm pretty sure my JRE is set up correctly, and I have the non-GUI version of the server. When I start it I outputs some things but then hangs on "Starting input Loop..."
Thanks. :wink.gif:
Does running the server without the wrapper hang as well? Also, what OS are you running?
To skip having to spend time playing with your path or fiddling in a command prompt:
Make a shortcut. For the application ("location of the item" or "target"), it's the main java executable. (plus any arguments.) On my machine that's
For those who are hanging on the input stream loop, you probably (I say this with 95% confidence) don't have your java paths set up right. As this is (pretty much) strictly a Windows issue AND the fix has been discussed already. I am not going to try to code up a "fix" (a "fix" would merely consist of terminating gracefully since it cannot run in the current environment).
Quote from tyroney »
To skip having to spend time playing with your path or fiddling in a command prompt:
Make a shortcut. For the application ("location of the item" or "target"), it's the main java executable. (plus any arguments.) On my machine that's
Also be sure you check the properties of the shortcut, and make sure it runs in the correct folder. (the "run in" line) For my test it was
"C:\Documents and Settings\tyroney\Desktop\ServerLauncher"
(this part is why you shouldn't have to worry about paths, though I'll admit on my machine the jre is already in the system-wide path variable)
Bad idea. Not having paths set right breaks the wrapper's internals.
@Psyc0lops: Current version of the server wrapper that I will release momentarily saves blacklisting. It also allows for the .txt files to be reloaded and saved by an administrator.
@Snateraar: Add the names you don't want to ban to banned.txt. I know it's kind of counter intuitive but it should work nonetheless.
@Nicknam4: That is relatively low priority. Second release will has a shorter message though.
@MicroDude: Edit the admins.txt file to have a single line with your name on it.
Anyway, I am glad it's working for some people. For the ones that it isn't working for, IF you can run the ServerLauncher I would like more information.
EDIT:
- To disable summoning at the moment an admin in-game must toggle #fun off. This will get fixed soonish.
- The blacklist file is currently only able to be delimited by newlines, spaces won't work if I remember correctly (this will change but for now it's that way because I coded it up fast at the expense of versatility).
It's currently a mess but I didn't plan it out at all before writing it so I guess that is to be expected.
This issue is tying up my CPU.
If this were to be fixed, it would be able to run more happily
@JabJabJab What issue are you talking about? Players joining and getting booted? The exception? That exception is actually due to something on the server. (the E: means the wrapper found it in the error steam of the server) If you are talking about the MISMATCHes that is also something on the server (O: means it came from the standard output stream of the server).
Can't wait for the source, I would love to setup a custom MOTD.
- I don't know what you can and can't do, but I'd kill for teleport and "get coordinates" functionality. That may break the anti-cheat rules, so I would understand if it can't be done.
- I don't like the messages, e.g., "Watch out, an admin has entered." I'd rather have the plugin just stand back and be there than be sending everyone lots of messages.
- If there's any way to suppress commands, that would be ideal. As you are (supposedly) wrapping the server functionality, I would assume you could prevent any successful command messages from reaching the server. Plus, you could probably use the /command format instead of #command.
- Speaking of which, can you suppress the /away command as it comes in? It tends to cause crashes.
- It's not a huge deal, but abbreviation is always nice. Text entry is not comfortable in Minecraft, so I would love to use something like #s versus #summon.
- I keep getting floods of this format:
And since I don't even quite know what it means (assumedly the anti-cheat server measures), I'd rather just not see it.
- Also, I'd love to have the source, if you don't mind. I would probably be glad to customize it for my own use.
Nice job!
Oh, just an FYI -- logins aren't verified (yet), so someone with some knowhow can forge an admin's name. Something to think about.
Based on the commands available, I assume that it pipes commands into the server's standard input, so in that case, it is limited to what a person at the console can do (all six or so commands).
@Fashnek I couldn't do a teleport function without actually using some sort of packet wrapper around the server and that'd require learning the format of the packets and tricking the server and client. Blocking /away would require a similar approach. This is beyond my abilities. The MISMATCH flooding has nothing to do with the wrapper. It has something to do with the cheat prevention Notch put in the server. I will make the login/logout messages editable. They are currently hardcoded in and were more for debugging purposes than to actually be permanent to be honest.
Thanks. :wink.gif:
Does running the server without the wrapper hang as well? Also, what OS are you running?
EDIT: Runs perfectly on the other machine. That's strange. If you think of anything let me know. :smile.gif:
Make a shortcut. For the application ("location of the item" or "target"), it's the main java executable. (plus any arguments.) On my machine that's
Also be sure you check the properties of the shortcut, and make sure it runs in the correct folder. (the "run in" line) For my test it was (this part is why you shouldn't have to worry about paths, though I'll admit on my machine the jre is already in the system-wide path variable)
How do i add my self as admin or another person as admin ?
Bad idea. Not having paths set right breaks the wrapper's internals.
@Psyc0lops: Current version of the server wrapper that I will release momentarily saves blacklisting. It also allows for the .txt files to be reloaded and saved by an administrator.
@Snateraar: Add the names you don't want to ban to banned.txt. I know it's kind of counter intuitive but it should work nonetheless.
@Nicknam4: That is relatively low priority. Second release will has a shorter message though.
@MicroDude: Edit the admins.txt file to have a single line with your name on it.