ID:115394
 
Keywords: server
Now that I'm running a Minecraft & TeamSpeak server, I wanted to have a Message of the Day type function that chooses a random message and exports it so that a plugin can use it.

But of course, the Craftbukkit plugin that I'm using doesn't support randomization of messages to display, and I want a new message to be chosen every day without me having to manually edit the configuration files for the MOTD plugin.

What is the easiest answer? BYOND is!

The setup that I'm using now is a small .exe program that I created with BYOND that chooses from a list of possible phrases inside a .txt at random and then exports the .yml file to the proper directory inside the Craftbukkit plugin folder shortly before the server's scheduled batch file runs to setup all the Craftbukkit plugins.

I have to have everything scheduled, because I like to have the server clear its RAM and also update the plugin list everyday at 4:00 AM central time without my needing to be there.

The new computer that I got is really small. Perfect for a server that only needs a little management after it gets started up.
Here are the specs in case you're interested:

Cost: $220
Brand: Acer Netbook Windows 7
Memory: 110GB native, +1TB external
Processor: 1.66GHz dual core (sadface)
RAM: 1GB native, +14GB added through ReadyBoost

I think I got off pretty good for only about ~$250 in gear. Now all I need is to increase my 3mbps connection. (sadface 2, the revenge)


Here's a look at my automatic server schedule, in case you're also interested:

3:55 AM - Server alerts players of the scheduled restart @ 4:00 AM.
3:59 AM - Server alerts players again.
4:00 AM - Server saves world and closes down, computer logs out using a cmd.
~4:09 AM - Server has shutdown and restarted successfully. Computer logs itself in.
4:09 - BYOND .exe runs to choose the MOTD, the TeamSpeak server also starts up.
4:10 - Minecraft server starts up and loads all plugins.
~4:12 - TeamSpeak servers take a while to warm up! ):

That's it for now, I'll probably have to add some more things later as the server gets more advanced.

That's it for now. If you have any questions feel free to drop me a line down below or in pager.
Bye! (:
nice
@Conco: Not sure how you could possibly read all of that so fast. d:
@Maxdax22: I've been trying to contact you to tell you. But I guess I haven't been on Skype at the same time as you lately. But yes, I do have one. (:
Right on.
@F0lak: Thanks. (:
@Maxdax22: I'll just contact you. I'd like to have it semi-selective for the time being.
Not bad.
wait whats ready boost and how is it so cheap and makes you have 14 gb of ram.
i could use that for my 512 mb of ram computer
ReadyBoost is a built-in feature for Windows 7 by which you use USB flash drives to create a cache of memory specifically for RAM.

Not all USB devices work for ReadyBoost, but I have 3 flash drives that do, so I plugged them all in and set them all to maximum on the cache use. All 3 of them together equated to around 14200MB or a bit shy of 14 GB extra RAM.

Quite a nice thing when you have a ton of extra 8GB flash drives laying around.
Oasiscircle wrote:
ReadyBoost is a built-in feature for Windows 7 by which you use USB flash drives to create a cache of memory specifically for RAM.

Not all USB devices work for ReadyBoost, but I have 3 flash drives that do, so I plugged them all in and set them all to maximum on the cache use. All 3 of them together equated to around 14200MB or a bit shy of 14 GB extra RAM.

Quite a nice thing when you have a ton of extra 8GB flash drives laying around.

Bricks just got shat, and I thank you SO MUCH FOR THAT!
@Ganing: Anything to help people. (:
wasnt that much to read
I wish there was something like that for graphics cards.

"Plug in 3 flash drives and play any high-end game!"
@EmpirezTeam: Oh my god that would be amazing. Too bad raw memory isn't how graphics cards work. ):