mcannounce 0.1.0
mcannounce
mcannounce is a tool that will announce a minecraft server to the LAN.
Modeled after the python implementation of a similar minecraft server announcement script described at https://void7.net/advertising-linux-minecraft-servers-to-the-lan/, mcannounce broadcasts one or more server announcements to the local network.
NOTE: This application does not currently run on Windows, as Crystal doesn't support Windows yet. Windows support is coming though, see https://github.com/crystal-lang/crystal/issues/5430.
Installation
You can either donwload and run a pre-built application binary, or build it yourself.
Download a pre-built binary
- Download either the macos or linux binary from github. Windows is currently not supported, as Crystal doesn't support Windows yet. Windows support is coming though, see https://github.com/crystal-lang/crystal/issues/5430.
Build mcannounce yourself
- Clone the
mcannounce
repo. cd mcannounce
crystal build mcannounce.cr
Usage
- Write a file named
mcannounce.yml
(all lower case) in the same directory as the mcannounce application binary. - Run the
mcannounce
binary. - When you're done running the application, break out of it by pressing <ctrl+c>.
Example:
~ ❯ cat mcannounce.yml
broadcast_ip: 255.255.255.255
broadcast_port: 4445
servers:
- name: Local Network - Creative
port: 25565
- name: Local Network - Survival (easy)
port: 25566
- name: Local Network - Survival (standard)
port: 25567
- name: Local Network - Survival (hard)
port: 25568
~ ❯ ./mcannounce
Announcing the following Minecraft servers to LAN:
********************************************************************************
server: Local Network - Creative
port: 25565
********************************************************************************
server: Local Network - Survival (easy)
port: 25566
********************************************************************************
server: Local Network - Survival (standard)
port: 25567
********************************************************************************
server: Local Network - Survival (hard)
port: 25568
^C
Contributing
- Fork it (https://github.com/your-github-user/mcannounce/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- David Ellis - creator and maintainer
Repository
mcannounce
Owner
Statistic
- 1
- 0
- 0
- 0
- 0
- about 4 years ago
- September 10, 2020
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 19:56:04 GMT
Languages