I'm having trouble understanding what it's used for
You download it, run it then enter your server name and port into the fields then click "Start" to start broadcasting. While it is broadcasting, any Minecraft players on your local network will see the server as a LAN World in their multiplayer menu. It's a tool intended to help server owners and maybe friends who want to play a Bukkit server without the hassle of getting the IP and such.
Just wondering, is anyone finding this useful? If there are any problems with running it, let me know so I can fix them.
Feedback is welcome!
It's mostly a finished project (even though the version is 0.x.x), I will still fix bugs, but there isn't really anything further to extend the program with (it's quite simple).
When I was looking for a way to broadcast a normal Minecraft server over LAN, I discovered MineAnnouncer. It worked well but lacked command line arguments so that I could use it in my server start script.
To fix that end (and because I really don't know Java), I have created a similar project in Python 3.
Simple: To run it (interactively), just double click the file `lan_broadcaster_gui` from the same computer as the server.
Scripting: In a script, you can also specify the MOTD as the first argument and the port (address before 1.6) as the second argument. An argument of "-b" prevents the interactive prompt from being shown or asking for input.
To use it in a script:
python3 lan_broadcaster "<MOTD>" "<PORT>"
replacing <MOTD> with the MOTD and <PORT> with the server port (keep the quotes if it has spaces).
Example
With the following configuration (MOTD: Server, Address: 25565), it shows like so:
Then anyone on your local network will see it like so in their Multiplayer menu:
Screenshots
Interactive prompt
It also has a basic interactive prompt which lets you control the broadcaster (e.g.: stopping, starting and re-configuring the MOTD and port)
The accepted commands can be found with the `help` command.
They which should be fairly self explanatory.
help <command>
for more help.
How it works
It works by sending a UDP packet to 224.0.2.60:4445 with the following format:
[MOTD]<MOTD_HERE>[/MOTD][AD]<PORT_HERE>[/AD]
The `LANBroadcaster` class wraps a thread around this and the `BroadcasterShell` is the interactive prompt, basically. The GUI is a simple frontend to the `LANBroadcaster` class with console-like output
Changelog
The (potentially incomplete) changelog is below if you're interested:
0.1.3 (revs 4 and 5) :
** Added GUI. Changelog is below.
+ Added GPL header to source.
* Made `send_address` and `send_port` class variables.
+ Added property setters and getters for `motd` and `address`.
+ `broadcast_message` now raises RuntimeError for zero-length values.
* Docstring improvements
* `print_status` changed to `get_status` and returns value instead of printing.
* GPL notice is a class variable of `BroadcasterShell`
0.1.2 (rev 3) :
* Improved docstrings
+ Added parameter information
* Moved `ask_for_input()` and `print_status()` into the `LANBroadcaster` class.
* Changed `*tuple` argument in `BroadcasterShell().do_` methods into a string.
+ Added `about` command
+ Added `license` command
+ Added `-s`/`--silent` option to suppress output
0.1.1 (rev 2) :
* Renamed function variable `broadcaster` to `_broadcaster`.
+ Added message when running in non-interactive mode.
* Made non-interactive pausing slightly smarter.
0.1.0 (rev 1) :
** Initial release.
GUI changelog:
0.1.1 (revs 4 and 5) :
** Initial release.
Feedback/suggestions are always welcome. Feel free to improve the script or create your own based on it, but give me credit
This is great and I like the WECUI support but when I open something, it says that Forge is too old, use 499 or above. I have build .518 of Forge so I don't know why this is happening. What functionality will be missing? Also, I noticed that WECUI support for non cube selections still look cubey (eg a sphere is just a cube). Thanks for your help and the great mod.
I've been using InGameInfo for a while now. It's a great way to customize what you want on your screen. I'd like to see a tag for the server ping though.
I can't get this to work with the LiteLoader version of WorldeditCUI. I've installed it from the VoxelPack but the selection is still not highlighted. When loading the world, it says WorldEditCUI not installed. It does work on a Bukkit server with the WorldEdit plugin though.
This is a great mod! I really like the customizability of the crossbows. But there needs to be a way to 'recraft' a crossbow with a new attachment or mechanism.
I'm happy that this was updated, I've been waiting so long but now I have to wait for all my other mods to update before using it. If Eloraam should release the 1.4.5 version as well.
New features are pretty cool. Now I don't know whether to use TMI or NEI... but the favourites key is Alt. This doesn't work on Ubuntu because pressing Alt drags the window. I found a way to disable Alt dragging but could be annoying for other users.
Really great program!
Worked perfectly on Linux and Windows.
But can you add an option to symbolic link certain folders (eg saves, stats, config, texturepacks) to the main .minecraft folder?
0
You download it, run it then enter your server name and port into the fields then click "Start" to start broadcasting. While it is broadcasting, any Minecraft players on your local network will see the server as a LAN World in their multiplayer menu. It's a tool intended to help server owners and maybe friends who want to play a Bukkit server without the hassle of getting the IP and such.
0
Feedback is welcome!
It's mostly a finished project (even though the version is 0.x.x), I will still fix bugs, but there isn't really anything further to extend the program with (it's quite simple).
0
To fix that end (and because I really don't know Java), I have created a similar project in Python 3.
Download
NEW: Windows users can use these steps:
Information will now be hosted at the Bitbucket wiki
Consider the information below outdated
Other systems
It requires Python 3(.3) to run which can be found here: http://python.org/download/
You can then download the script from here: https://bitbucket.or...broadcaster/src
Usage
Simple: To run it (interactively), just double click the file `lan_broadcaster_gui` from the same computer as the server.
Scripting: In a script, you can also specify the MOTD as the first argument and the port (address before 1.6) as the second argument. An argument of "-b" prevents the interactive prompt from being shown or asking for input.
To use it in a script:
replacing <MOTD> with the MOTD and <PORT> with the server port (keep the quotes if it has spaces).
Example
Then anyone on your local network will see it like so in their Multiplayer menu:
Screenshots
Interactive prompt
It also has a basic interactive prompt which lets you control the broadcaster (e.g.: stopping, starting and re-configuring the MOTD and port)
The accepted commands can be found with the `help` command.
They which should be fairly self explanatory. for more help.
How it works
The `LANBroadcaster` class wraps a thread around this and the `BroadcasterShell` is the interactive prompt, basically. The GUI is a simple frontend to the `LANBroadcaster` class with console-like output
Changelog
The (potentially incomplete) changelog is below if you're interested:
A more complete (and technical) changelog is viewable at the Bitbucket repository:
https://bitbucket.or...ter/commits/all
Base and CLI changelog:
GUI changelog:
Feedback/suggestions are always welcome. Feel free to improve the script or create your own based on it, but give me credit
0
0
0
0
Thanks! It works now. I'd been using the WECUI from the VoxelPack, that must have been the reason.
0
0
You use your mouse scroll wheel to zoom in and out.
0
0
0
EDIT: sorry, didn't read post above. Hope error report is still helpful
0
0
Worked perfectly on Linux and Windows.
But can you add an option to symbolic link certain folders (eg saves, stats, config, texturepacks) to the main .minecraft folder?
0