I just wanted to say, if you own an android phone and administer a server, check out mineserve!
What is mineserve?
Well it's a simple android app that can manage to a basic level (for now), your minecraft server.
It simply connects to a server-side app and sends commands to it.
For now, it does only basic functions related to the server itself and not the minecraft server application. To do that, a plugin or mod is needed.
I can't use admin commands??? This sucks!
Fortunately, a programmer that goes by the name of SK89Q here on the forum has built an API that allows one to manage the server on the application level! It requires Hey0's mod though, but it's a very nifty mod and I think it makes the whole server experience better.
Check out his post here
There's also a web based service already made, check it out here
Great! when is going to use the API?
Soon... I don't have that much time on my hands, but the basic framework for the app is layed down, when I get time to implement the API commands I will.
Alright, so where do I get it?
Check out Mineserve.net for access to the server app and the instructions to how to intall it.
Here are direct links to the lastest server application files.
Get the windows version here
Get the linux version here
I have no plans to develop for MAC OS at the moment.
After that is doneThen get the Mineserve application from the android market on your android phone under fbeauch (That's my android dev name).
Current stable version for Mineserve client Version 1.1.2
Current stable version for Mineserve server Version 1.0
IMPLEMENTED FEATURES:
-View server UP/DOWN status
-Start/Stop/Restart minecraft server instance
-Reboot Server
FUTURE FEATURES (Using the API):
-See player list
-Kick/ban Player
-Teleport/Warp player
-Give item/kits to player
-Acess to server console/logs
-Many more as time permits
FUTURE FEATURES (without the API):
-Automatic world backup and restore.
-Backup/Restore Management
-Create/Destroy worlds, replace with other worlds.
-Windows/Linux client? When theres enough features to justify it.
Screenshots:
Feel free to post any questions and/or reports of bugs.
Also, suggestions are welcome.
This is such a great idea and I'm gonna try this out tonight! Going very useful if my server crashes and I'm not near my computer to restart it.
That was essentially why I wrote it... It happened often and I got tired of it!
But then I decided to share and turn it into an actual project.
Hope you enjoy it!
If you have ANY problems with it, PM me, I need input in order to improve it, plus I can help with issues too.
You'll notice the installation procedure is a bit rough but it should work fine. (We are working on an install script that does it all automatically though).
Damn I'm surprised a iphone one never came out haha :smile.gif:
Considering one must have the app aproved by some "process" that "judges" if your app is "good enough" to have the "right" to be installed on an apple device, with an app like this, it's a shot in the dark, because it's 3rd party control...
So the risk of doing it all for nothing is there.
Allthough I would probably make one once there's enough features to justify it being a "good" app...
But, I will most likely have a blackberry version before I work on an iphone version.
Damn I'm surprised a iphone one never came out haha :smile.gif:
Considering one must have the app aproved by some "process" that "judges" if your app is "good enough" to have the "right" to be installed on an apple device, with an app like this, it's a shot in the dark, because it's 3rd party control...
So the risk of doing it all for nothing is there.
Allthough I would probably make one once there's enough features to justify it being a "good" app...
But, I will most likely have a blackberry version before I work on an iphone version.
Wait what? Who does not own a JB iphone :tongue.gif: Anyways i usually just use ssh but its a pain if you want to do simple tasks. I pretty much scripted everything to make my life a little easy remotely.
Not to get into the debate of iPhone vs Android.... but Android is taking over it seems these days. Out of all my friends and family the only people who still use iPhones are soccer moms, jocks, or people who barely understand how to operate a computer, the rest went Android.
Not to get into the debate of iPhone vs Android.... but Android is taking over it seems these days. Out of all my friends and family the only people who still use iPhones are soccer moms, jocks, or people who barely understand how to operate a computer, the rest went Android.
Haha, you know something, you're quite right!
No but seriously, the iphone is slowly losing it's grasp over the "App oriented" smartphone world.
But I'll stop right there! Because I don't want this thread to attract the hate of the fanboys!
The REAL reason I didn't make an iPhone app, is because I don't own an iPhone, so it would be hard to test...
Also, it's just not as easy than it is to publish to android... That alone would be enough to make me prefer developping for android rather than the other OSes.
But all the options are still on the table for "Later" (Blackberry and iPhone)
For now though, I'll finish making the android app + Linux/Windows server combo first :smile.gif:
EDIT: If i had interested iPhone/BlackBerry devs out there, i'd gladly give them whitepapers on how to interact with the mineserve server and have them develop a mineserve compatible with iphone/Blackberry much sooner!
trying this out on fedora 13 everything but the startup script is working just fine
I continue to get the following error. Forgive me for my n00bness since along with being fairly new to the game I haven't messed with linux too much per-say. My experience before was with a gui and that was with opensuse this time around I wanted to learn better admin skills and decided to go CLI; so at any rate here is what I get when I try to do /etc/init.d/mineserve status or any other option such as start, stop, or restart
/etc/init.d/mineserve: line 12: syntax error near unexpected token `|'
> /etc/init.d/mineserve: line 12: ` for pid in `ps -Ao pid,command | grep java | grep Minecraft_Mod | sed "$"'
>
Found the issue, there was a missing part of the command line. Here is an updated line. Note that there are two spots where you need to change it in the script.
Original line from the wiki: for pid in `ps -Ao pid,command | grep java | grep Minecraft_Mod | sed "$"
new line: for pid in `ps -Ao pid,command | grep java | grep $MINECRAFT | sed "s/^[ ]*//" | cut -d\ -f1` ; do kill -s KILL $pid ; done
Also the wiki has been updated with the new line. Again thanks for finding this mistake :smile.gif:
Found the issue, there was a missing part of the command line. Here is an updated line. Note that there are two spots where you need to change it in the script.
Original line from the wiki: for pid in `ps -Ao pid,command | grep java | grep Minecraft_Mod | sed "$"
new line: for pid in `ps -Ao pid,command | grep java | grep $MINECRAFT | sed "s/^[ ]*//" | cut -d\ -f1` ; do kill -s KILL $pid ; done
Also the wiki has been updated with the new line. Again thanks for finding this mistake :smile.gif:
- Mad2k6
Mad is a linux guru!
Anyways, this is why it's important to report problems, because only the squeaky wheel gets the oil!
Found the issue, there was a missing part of the command line. Here is an updated line. Note that there are two spots where you need to change it in the script.
Original line from the wiki: for pid in `ps -Ao pid,command | grep java | grep Minecraft_Mod | sed "$"
new line: for pid in `ps -Ao pid,command | grep java | grep $MINECRAFT | sed "s/^[ ]*//" | cut -d\ -f1` ; do kill -s KILL $pid ; done
Also the wiki has been updated with the new line. Again thanks for finding this mistake :smile.gif:
- Mad2k6
Sweet deal, seems very similar to what is inside the minecraft execuatable. I was thinking of just copy pasting those lines but wanted to wait to be sure thanks for the help all.
Also one other issue that I found and not sure if this is really an issue since I currently did the following just to get the app server started
cd /minecraft
java -jar mineserve_server.jar >> logs &
Only issue is the admin who this is for is able to connect yet none of the commands really execute anything. I'm not sure if this is due to permissions on my end since his in-game name does not his account name on the server which he uses to ssh or if there is something else. Is anyone else experiencing similar issues?
Btw ports are open in iptables and he IS able to connect to the actual server and log in just when he selects one of the options (start, stop, restart) nothing happens on the server end. He also stated that the app showed the server as being down. (The server is in my home and he is on the other side of the country)
one final note the changes were made on the installation from scratch; yet not on the installation into already running server (just not want repeated questions popping up for you guys)
Only issue is the admin who this is for is able to connect yet none of the commands really execute anything. I'm not sure if this is due to permissions on my end since his in-game name does not his account name on the server which he uses to ssh or if there is something else. Is anyone else experiencing similar issues?
Btw ports are open in iptables and he IS able to connect to the actual server and log in just when he selects one of the options (start, stop, restart) nothing happens on the server end. He also stated that the app showed the server as being down. (The server is in my home and he is on the other side of the country)
one final note the changes were made on the installation from scratch; yet not on the installation into already running server (just not want repeated questions popping up for you guys)
Haha looks like Mad forgot to edit both! It's fixed now, thank you!
Make sure you have a users.txt file, the minecraft_server and mineserve_server as well as the minecraft script file all in the same directory.
If you can log in, then the users.txt should be fine.
One reason as to why the commands do not work is if the scripts aren't setup properly. Mineserve relies on these to act on the server itself.
Make sure these steps are followed properly:
7) Change the permissions on the file to be able to execute the server application and the script: chmod 774 mineserve_server.jar and chmod 774 minecraft
(Without this step, you will not have the permissions to run the commands, make sure that you do have the permissions)
His login name for mineserve is unrelated to the rights on the server itself, the user that runs mineserve must have permissions on the machine, you could try running mineserve_server with sudo see if it helps.
Essentially though, anyone with access to mineserve client has a limited ability to act on the server (Such as rebooting the machine) we may have that feature be optional later or at least have different groups with different access rights.
Also, edit the minecraft script file [The one you extracted] and verify if its using the correct .jar file.
#Replace the following line by "minecraft_server" if you use the regular version and not Hey0's mod
MINECRAFT="Minecraft_Mod"
If you use the regular unmodded server, it will not work if this value is set to Minecraft_Mod as it is a different jar file than the regular minecraft server. If this is the case, set it to MINECRAFT="minecraft_server"
Hope this helps!
We are working on an auto-installer, but for now, you will have to hang in there! :tongue.gif:
Quote from Kainzo »
can't wait for this to be on windows :wink.gif:
It should be ready tommorow night, it's much simpler than the linux one too!
another mistake found on the wiki that has been fixed. I guess i was not really there yesterday and when i made the wiki lol
the line i posted still had a small mistake we need to replace the $MINECRAFT by mineserve_server in the mineserve server startup/shutdown script (i copied the line from the minecraft start/stop script, but forgot to edit that small part) Now tho i know that both wikis are updated :smile.gif:
Hey everybody!
I just wanted to say, if you own an android phone and administer a server, check out mineserve!
What is mineserve?
Well it's a simple android app that can manage to a basic level (for now), your minecraft server.
It simply connects to a server-side app and sends commands to it.
For now, it does only basic functions related to the server itself and not the minecraft server application. To do that, a plugin or mod is needed.
I can't use admin commands??? This sucks!
Fortunately, a programmer that goes by the name of SK89Q here on the forum has built an API that allows one to manage the server on the application level! It requires Hey0's mod though, but it's a very nifty mod and I think it makes the whole server experience better.
Check out his post here
There's also a web based service already made, check it out here
Great! when is going to use the API?
Soon... I don't have that much time on my hands, but the basic framework for the app is layed down, when I get time to implement the API commands I will.
Alright, so where do I get it?
Check out Mineserve.net for access to the server app and the instructions to how to intall it.
Here are direct links to the lastest server application files.
Get the windows version here
Get the linux version here
I have no plans to develop for MAC OS at the moment.
After that is doneThen get the Mineserve application from the android market on your android phone under fbeauch (That's my android dev name).
Current stable version for Mineserve client
Version 1.1.2
Current stable version for Mineserve server
Version 1.0
Screenshots:
Feel free to post any questions and/or reports of bugs.
Also, suggestions are welcome.
That was essentially why I wrote it... It happened often and I got tired of it!
But then I decided to share and turn it into an actual project.
Hope you enjoy it!
If you have ANY problems with it, PM me, I need input in order to improve it, plus I can help with issues too.
You'll notice the installation procedure is a bit rough but it should work fine. (We are working on an install script that does it all automatically though).
Check out my Let's Play Series:
Considering one must have the app aproved by some "process" that "judges" if your app is "good enough" to have the "right" to be installed on an apple device, with an app like this, it's a shot in the dark, because it's 3rd party control...
So the risk of doing it all for nothing is there.
Allthough I would probably make one once there's enough features to justify it being a "good" app...
But, I will most likely have a blackberry version before I work on an iphone version.
Wait what? Who does not own a JB iphone :tongue.gif: Anyways i usually just use ssh but its a pain if you want to do simple tasks. I pretty much scripted everything to make my life a little easy remotely.
Check out my Let's Play Series:
Haha, you know something, you're quite right!
No but seriously, the iphone is slowly losing it's grasp over the "App oriented" smartphone world.
But I'll stop right there! Because I don't want this thread to attract the hate of the fanboys!
The REAL reason I didn't make an iPhone app, is because I don't own an iPhone, so it would be hard to test...
Also, it's just not as easy than it is to publish to android... That alone would be enough to make me prefer developping for android rather than the other OSes.
But all the options are still on the table for "Later" (Blackberry and iPhone)
For now though, I'll finish making the android app + Linux/Windows server combo first :smile.gif:
EDIT: If i had interested iPhone/BlackBerry devs out there, i'd gladly give them whitepapers on how to interact with the mineserve server and have them develop a mineserve compatible with iphone/Blackberry much sooner!
I continue to get the following error. Forgive me for my n00bness since along with being fairly new to the game I haven't messed with linux too much per-say. My experience before was with a gui and that was with opensuse this time around I wanted to learn better admin skills and decided to go CLI; so at any rate here is what I get when I try to do /etc/init.d/mineserve status or any other option such as start, stop, or restart
/etc/init.d/mineserve: line 12: syntax error near unexpected token `|'
> /etc/init.d/mineserve: line 12: ` for pid in `ps -Ao pid,command | grep java | grep Minecraft_Mod | sed "$"'
>
Original line from the wiki: for pid in `ps -Ao pid,command | grep java | grep Minecraft_Mod | sed "$"
new line: for pid in `ps -Ao pid,command | grep java | grep $MINECRAFT | sed "s/^[ ]*//" | cut -d\ -f1` ; do kill -s KILL $pid ; done
Also the wiki has been updated with the new line. Again thanks for finding this mistake :smile.gif:
- Mad2k6
Mad is a linux guru!
Anyways, this is why it's important to report problems, because only the squeaky wheel gets the oil!
Sweet deal, seems very similar to what is inside the minecraft execuatable. I was thinking of just copy pasting those lines but wanted to wait to be sure thanks for the help all.
Also one other issue that I found and not sure if this is really an issue since I currently did the following just to get the app server started
cd /minecraft
java -jar mineserve_server.jar >> logs &
Only issue is the admin who this is for is able to connect yet none of the commands really execute anything. I'm not sure if this is due to permissions on my end since his in-game name does not his account name on the server which he uses to ssh or if there is something else. Is anyone else experiencing similar issues?
Btw ports are open in iptables and he IS able to connect to the actual server and log in just when he selects one of the options (start, stop, restart) nothing happens on the server end. He also stated that the app showed the server as being down. (The server is in my home and he is on the other side of the country)
one final note the changes were made on the installation from scratch; yet not on the installation into already running server (just not want repeated questions popping up for you guys)
Haha looks like Mad forgot to edit both! It's fixed now, thank you!
Make sure you have a users.txt file, the minecraft_server and mineserve_server as well as the minecraft script file all in the same directory.
If you can log in, then the users.txt should be fine.
One reason as to why the commands do not work is if the scripts aren't setup properly. Mineserve relies on these to act on the server itself.
Make sure these steps are followed properly:
(Without this step, you will not have the permissions to run the commands, make sure that you do have the permissions)
His login name for mineserve is unrelated to the rights on the server itself, the user that runs mineserve must have permissions on the machine, you could try running mineserve_server with sudo see if it helps.
Essentially though, anyone with access to mineserve client has a limited ability to act on the server (Such as rebooting the machine) we may have that feature be optional later or at least have different groups with different access rights.
Also, edit the minecraft script file [The one you extracted] and verify if its using the correct .jar file.
If you use the regular unmodded server, it will not work if this value is set to Minecraft_Mod as it is a different jar file than the regular minecraft server. If this is the case, set it to MINECRAFT="minecraft_server"
Hope this helps!
We are working on an auto-installer, but for now, you will have to hang in there! :tongue.gif:
It should be ready tommorow night, it's much simpler than the linux one too!
the line i posted still had a small mistake we need to replace the $MINECRAFT by mineserve_server in the mineserve server startup/shutdown script (i copied the line from the minecraft start/stop script, but forgot to edit that small part) Now tho i know that both wikis are updated :smile.gif: