TCP server for single and multi-server administration
Timed say(and other command) intervals
Chat triggers for commands
!votekick and !voteban
Level data backup at timed intervals
IRC administration bot(requires POE::Component::IRC) Newest: Multiple lines for timed intervals and chat triggers Newest: NickServ password for the IRC bot Newest: Exclude directories from being considered servers Newest: Capture lines from the server and write them to specific files Newest: Connect triggers to send messages(or do other things) to recently connected users
Fix: !votekick and !voteban work properly now and are case insensitive
You'll have to install POE and JSON::XS or JSON::PP from cpan. Windows users will have to install Cygwin and get Perl and the Cygwin installer.
I've noticed that Cygwin has some issues with certain cpan plugins. Try out the following before trying to install plugins via cpan:
You'll need to uncomment the interval timers and chat triggers code if you wish to use those features.
Do read the comments at the near the top of the script to understand how to use it. Feel free to ask questions or leave comments/suggestions in this thread.
Awesome, awesome script... Finally got it working and it's very useful, especially for multiple servers (which I happen not to use).. Great work :biggrin.gif:
Here's the latest release of the script, which allows for !voteban and !votekick. You can now change settings via the config file instead of editing the script itself. However, you'll need to install JSON::XS or JSON::PP from CPAN so the script can parse the config file.
I've noticed that Cygwin has some issues with certain cpan plugins. Try out the following before trying to install plugins via cpan:
So that certain modules that look for gcc and g++ can actually find them.
I've also made some binaries with PAR::Packer that can be used if you're having trouble getting Perl/cpan to work properly. The Linux binary and the Windows binary(requires Cygwin) contains the Perl binary and allows you to skip installing Perl.
Make sure your directory structure is something like...
The great script keeps getting better. Just one feature idea that I have to make this a complete server administration script is timed backups on custom intervals... if that's implemented this will be the only script I'll ever need to use. Keep up the great work!
After having spent a few hours trying to get this working and downloading several hundred MB of cygwin 'stuff' I still have no idea how to get this to work.
Could you give simple step-by-step instructions on how to install all the required stuff on windows?
After having spent a few hours trying to get this working and downloading several hundred MB of cygwin 'stuff' I still have no idea how to get this to work.
Could you give simple step-by-step instructions on how to install all the required stuff on windows?
You too? I threw in the towel already, myself. After an hour and a half, it was just too much for me.
After having spent a few hours trying to get this working and downloading several hundred MB of cygwin 'stuff' I still have no idea how to get this to work.
Could you give simple step-by-step instructions on how to install all the required stuff on windows?
Not trying to start an OS war, but servers and Windows just don't mix. It should work after installing Cygwin though... Do you get a specific error?
Having an IRC bot that prints the chat communication from a Minecraft Server live into a IRC internal $channel. At the same time, users within the channel should be able to talk back to server, by using a command (i.e. !say ).
This way, Admins don't need to idle on their Minecraft servers (especially if the have more than one), instead they could just idle in a their internal (staff only) IRC channel and have a highlight on "griefer", "/report" or what ever you wanna scream to get an admin back on the server.
: Bob says: hi
: Mike says: helle
: Mike says: Bob, ftw?!
: Mike says: could someone kick bob please? he is a **** griefer.
fanta: ._.
cola: you go?
fanta: ok.
fanta: !say hang on, i am comming.
: fanta (Admin) joins the game
: fanta (Admin) teleports to bob
: fanta (Admin) kicked bob
: fanta (Admin) disconnected
: pepe joins the game
: Mike says: not agian! plz kick pepe!!!
cola: !kick pepe
: pepe got kicked
Don't know how you wanna do that, maybe use "inotify2" and watch the server.log?
Having an IRC bot that prints the chat communication from a Minecraft Server live into a IRC internal $channel. At the same time, users within the channel should be able to talk back to server, by using a command (i.e. !say ).
This way, Admins don't need to idle on their Minecraft servers (especially if the have more than one), instead they could just idle in a their internal IRC channel and have a highlight on "griefer", "/report" or what ever you wanna scream to get an admin back on the server.
: Bob says: hi
: Mike says: helle
: Mike says: Bob, ftw?!
: Mike says: could someone kick bob please? he is a **** griefer.
fanta: ._.
cola: you go?
fanta: ok.
fanta: !say hang on, i am comming.
: fanta joins the game
: fanta kicked bob
: fanta disconnected
I'd support multi-directional piping, so all the chat in the IRC room mirrors the chat in the server. Otherwise. we'd need some sort of authentication for admins.
What can I say but perfect as usual? My two requests are join-messages, and an ability for the bot to execute a command on join (ex - identify with Nickserv). Otherwise, you just keep outdoing yourself (and others).
New features:
Multiple lines for timed intervals and chat triggers
NickServ password for the IRC bot
Exclude directories from being considered servers
Capture lines from the server and write them to specific files
Connect triggers to send messages(or do other things) to recently connected users
New features:
Multiple lines for timed intervals and chat triggers
NickServ password for the IRC bot
Exclude directories from being considered servers
Capture lines from the server and write them to specific files
Connect triggers to send messages(or do other things) to recently connected users
o.O.... Is there any way this could get better? I honestly don't know, but I suspect it will soon.
I've created a script to assist in administering a Minecraft server. Get the latest script and config: http://adurah.com/minecraft/mcadmin/latest/
Current version: http://adurah.com/minecraft/mcadmin/0.3.1/
Current features include:
TCP server for single and multi-server administration
Timed say(and other command) intervals
Chat triggers for commands
!votekick and !voteban
Level data backup at timed intervals
IRC administration bot(requires POE::Component::IRC)
Newest: Multiple lines for timed intervals and chat triggers
Newest: NickServ password for the IRC bot
Newest: Exclude directories from being considered servers
Newest: Capture lines from the server and write them to specific files
Newest: Connect triggers to send messages(or do other things) to recently connected users
Fix: !votekick and !voteban work properly now and are case insensitive
You'll have to install POE and JSON::XS or JSON::PP from cpan. Windows users will have to install Cygwin and get Perl and the Cygwin installer.
I've noticed that Cygwin has some issues with certain cpan plugins. Try out the following before trying to install plugins via cpan:
So that certain modules that look for gcc and g++ can actually find them.
Make sure your directory structure is something like...
where servername2 and more named servers are optional.
Do read all the comments at the top of the script and the comments in config.json.
Feel free to post and comments, questions and suggestions.
Created a new script that lets you administer multiple servers(or one if you wish) over a TCP connection you can telnet(use Putty on Vista) in to. http://adurah.com/minecraft/minecraft_admin_tcp_2.pl
You'll need to uncomment the interval timers and chat triggers code if you wish to use those features.
Do read the comments at the near the top of the script to understand how to use it. Feel free to ask questions or leave comments/suggestions in this thread.
Here's the latest release of the script, which allows for !voteban and !votekick. You can now change settings via the config file instead of editing the script itself. However, you'll need to install JSON::XS or JSON::PP from CPAN so the script can parse the config file.
I've noticed that Cygwin has some issues with certain cpan plugins. Try out the following before trying to install plugins via cpan:
So that certain modules that look for gcc and g++ can actually find them.
I've also made some binaries with PAR::Packer that can be used if you're having trouble getting Perl/cpan to work properly. The Linux binary and the Windows binary(requires Cygwin) contains the Perl binary and allows you to skip installing Perl.
Make sure your directory structure is something like...
where servername2 and more named servers are optional.
Hope you enjoy the script. Feel free to ask questions, leave comments or give suggestions for features in this thread.
Could you give simple step-by-step instructions on how to install all the required stuff on windows?
You too? I threw in the towel already, myself. After an hour and a half, it was just too much for me.
Not trying to start an OS war, but servers and Windows just don't mix. It should work after installing Cygwin though... Do you get a specific error?
Ignoring most of the off-topicness of your post, what servers do you run on Windows?
Communication via IRC.
Having an IRC bot that prints the chat communication from a Minecraft Server live into a IRC internal $channel. At the same time, users within the channel should be able to talk back to server, by using a command (i.e. !say ).
This way, Admins don't need to idle on their Minecraft servers (especially if the have more than one), instead they could just idle in a their internal (staff only) IRC channel and have a highlight on "griefer", "/report" or what ever you wanna scream to get an admin back on the server.
Don't know how you wanna do that, maybe use "inotify2" and watch the server.log?
I'd support multi-directional piping, so all the chat in the IRC room mirrors the chat in the server. Otherwise. we'd need some sort of authentication for admins.
New features:
Multiple lines for timed intervals and chat triggers
NickServ password for the IRC bot
Exclude directories from being considered servers
Capture lines from the server and write them to specific files
Connect triggers to send messages(or do other things) to recently connected users
o.O.... Is there any way this could get better? I honestly don't know, but I suspect it will soon.
Fix: !votekick and !voteban work properly now and are case insensitive
EDIT:
Can't figure out the TCP interface, I managed to login, but I don't know what to do after it welomes me.
EDIT2:
Bit of a glitch. The welcome message kept on thinking that I was the new player.
EDIT2:
Yes, I am saying
server
Quality of output = Skill * Effort
Are you using / before the command?
What you type should look like this:
one say hi
one kick AlLnAtuRalX
Server is a placeholder.
Anyway, I'll try adding slashes.
Quality of output = Skill * Effort