• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

McEx/McEx: Minecraft server written in Elixir

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

McEx/McEx

开源软件地址(OpenSource Url):

https://github.com/McEx/McEx

开源编程语言(OpenSource Language):

Elixir 81.6%

开源软件介绍(OpenSource Introduction):

McEx Build Status Deps Status Coverage Status Minecraft Version

McEx is a Minecraft server written in Elixir and Rust. All the networking and logic is implemented in Elixir, while the low level chunk data handling is done in Rust.

It is written with distribution in mind. It will take advantage of all cores on the machine by default. In the future it should be possible to offload the computationally heavy parts (like chunk generation, chunk servers, even anticheat) to other machines, while keeping the core parts that require more swift communication on a single machine.

Features:
  • Joining (compression, encryption, packet handling)
  • Player movement
  • World (chunk loading, world generation)
  • World interaction (only block destruction for now)
Built on:
  • Rustler - For making interaction between the Elixir and Rust code easy.
  • voxel_worldgen - World generation.
  • Rust - Safe systems-level programming language. Chunk code is written in rust.
  • Elixir - Ruby-like language on top of Erlang/OTP. Networking, logic, etc is written in Elixir.
  • Erlang/OTP - The platform it all runs on.
Installation:
# install elixir and other dependencies
sudo dpkg -i <(curl https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb)
sudo apt-get update
sudo apt-get install esl-erlang elixir file git libssl-dev

# install rust
curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh
multirust update nightly-2016-04-05

# get the project sources
git clone git://github.com/mcex/mcex
cd mcex
mix deps.get

# run the server in an interactive session
iex -S mix



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap