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

UnknownShadow200/MCGalaxy: A Minecraft Classic / ClassiCube server software

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

开源软件名称(OpenSource Name):

UnknownShadow200/MCGalaxy

开源软件地址(OpenSource Url):

https://github.com/UnknownShadow200/MCGalaxy

开源编程语言(OpenSource Language):

C# 99.8%

开源软件介绍(OpenSource Introduction):

MCGalaxy is a fully featured and customisable ClassiCube Server Software based on MCForge/MCLawl.

Setup

Download the latest MCGalaxy release from here

  • Windows: You need to install .NET framework 4.0. Windows 8/10/11 already have this included.
  • macOS: You need to install the Mono framework.
  • Linux: You need to install the Mono framework. (or just apt install mono-complete if on Ubuntu)

Run MCGalaxy.exe for a graphical interface, or run MCGalaxyCLI.exe for command line only.

Joining your server

Run MCGalaxy.exe or MCGalaxyCLI.exe firstly. You'll see something like: opt3

If you are signed in to classicube.net, you can copy this URL straight into your web browser and start playing.

Joining from the ClassiCube client

Click Direct connect at the main menu. opt1

Type your username into Username, 127.0.0.1:25565 into IP:Port, and leave Mppass blank. Then click Connect. opt2

Make yourself owner

After joining, you will want to rank yourself owner so you can use all commands.

Type /rank [your account] owner into the bottom text box, then press Enter.

opt4

Letting others join your server

LAN players

You need to find out your LAN/local IP address.

  • Windows: Type ipconfig into Command Prompt. Look for IPv4 address in the output
  • macOS: Type ipconfig getifaddr en0 or ipconfig getifaddr en1 into Terminal
  • Linux: Type hostname -I into Terminal. Lan IP is usually the first address in the output

Joining from a web browser

Enter the server URL followed by ?ip=[lan ip] into the web browser.
(e.g. http://www.classicube.net/server/play/d1362e7fee1a54365514712d007c8799?ip=192.168.1.30)

Joining from the ClassiCube client

  • Click Direct connect at the main menu
  • Type your username into Username textbox
  • Type [lan ip]:25565 into IP:Port textbox (e.g. 192.168.1.30:25565)
  • Click Connect

Across the internet

You usually need to port forward in your router before other players can join.

Joining from a web browser

Enter the server URL into the web browser

Joining from the ClassiCube client

  • Click Sign in
  • Type/paste the hash (e.g. d1362e7fee1a54365514712d007c8799) into the classicube.net/server/play text box
  • Click Connect

Show on classicube.net server list

Click Settings in the MCGalaxy window, then tick the Public checkbox. Then click Save.

This makes your server appear in the server list on classicube.net and in the ClassiCube client.

Compiling - mono and .NET framework

With an IDE:

  • Visual Studio : Open MCGalaxy.sln, click Build in the menubar, then click Build Solution. (Or press F6)
  • SharpDevelop: Open MCGalaxy.sln, click Build in the menubar, then click Build Solution. (Or press F8)

Command line:

  • For Windows: Run MSBuild command prompt for VS, then type msbuild MCGalaxy.sln into command prompt
  • Modern mono: Type msbuild MCGalaxy.sln into Terminal
  • Older mono: Type xbuild MCGalaxy.sln into Terminal

Compiling - .NET 6 / .NET 5 / .NET Core

  • Compiling for .NET 6: No changes necessary
  • Compiling for .NET 5: Change TargetFramework in CLI/MCGalaxyCLI_Core.csproj to net5.0
  • Compiling for .NET Core: Change TargetFramework in CLI/MCGalaxyCLI_Core.csproj to netcoreapp3.1

Then navigate into CLI directory, and then run dotnet build MCGalaxyCLI_Core.csproj

You will also need to copy libsqlite3.so.0 from system libraries to libsqlite3.so in the server folder

Copyright/License

See LICENSE for MCGalaxy license, and license.txt for code used from other software.

Docker support

Some unofficial dockerfiles for running MCGalaxy in Docker:

Documentation




鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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