bukkit 合成_如何配置和运行Bukkit(备用Minecraft服务器)

bukkit 合成_如何配置和运行Bukkit(备用Minecraft服务器)

bukkit 合成

bukkit 合成_如何配置和运行Bukkit(备用Minecraft服务器)

If you love Minecraft, odds are you’ve found a server you enjoy playing on. Minecraft is a great game, but with Bukkit, you can run a more efficient server that’s easy to manage and is ready for advanced plugins.

如果您喜欢Minecraft,很可能您已经找到了喜欢玩的服务器。 Minecraft是一款很棒的游戏,但是使用Bukkit,您可以运行更高效的服务器,该服务器易于管理,并且可以使用高级插件。

备用服务器 (An Alternative Server)

We’ve already covered Minecraft, a game that geeks love, and discussed how running your own server can make things more fun. But, what exactly is Bukkit?

我们已经介绍了极客喜欢的Minecraft游戏,并讨论了运行自己的服务器如何使事情变得更加有趣。 但是,Bukkit到底是什么?

Bukkit is a Minecraft-compatible server crafted from the ground up. It was made to be fast, efficient, and provide a lot more flexibility. The modding community that surrounds Minecraft is pretty large, and is really inspired by the essence of the game, and Bukkit is one its products. It runs more smoothly that the official server, works well on a computer with lower hardware, and is constantly updated. Put simply, it’s lean, mean, and pretty easy to use.

Bukkit是完全与Minecraft兼容的服务器。 它被设计为快速,高效并且提供了更多的灵活性。 Minecraft周围的改装社区非常庞大,并且确实受到游戏本质的启发,而Bukkit就是其产品之一。 与官方服务器相比,它运行更流畅,在硬件较低的计算机上也能很好地工作,并且会不断更新。 简而言之,它精简,刻薄且易于使用。

bukkit 合成_如何配置和运行Bukkit(备用Minecraft服务器)

What makes Bukkit so different is that it’s designed to work with home-made plugins. While the server is running, you’re able to install and load many plugins on-the-fly. It’s easy to manage users and there’s a host of documentation on everything, as well as a great community. There are plugins which allow you to summon items at will, fly, and create warp zones between areas and different worlds. There’s even a plugin system that creates a class/guild system and introduces an economy complete with in-game currency! The possibilities with add-ons like this truly are endless. Check out their About page for more information on Bukkit’s philosophy.

使Bukkit如此与众不同的是,它可以与自制插件一起使用。 在服务器运行时,您可以即时安装和加载许多插件。 管理用户很容易,关于一切以及大量社区的文档很多。 有一些插件可让您随意召唤物品,飞行并在区域和不同世界之间创建变形区域。 甚至还有一个插件系统,可以创建类/行会系统并引入游戏内货币来实现经济! 此类附加组件的可能性确实是无限的。 请查看其“关于”页面,以获取有关Bukkit理念的更多信息。

The only real downside to using Bukkit is that it’s not made by the official team. That means when Minecraft is updated, you’ll have to hold off upgrading until they Bukkit team releases a server that’s compatible with the new version. Typically, this can take between a few days to two weeks for a stable version, so you’ll have to wait longer for the latest and greatest features. In addition, things can be buggy even on recommended builds if plugins aren’t updated for the newer Minecraft versions. This makes it even more important for the server admin to back up regularly.

使用Bukkit的唯一真正缺点是,它不是官方团队提供的。 这意味着在更新Minecraft时,您必须推迟升级,直到Bukkit团队发布与新版本兼容的服务器为止。 通常,稳定版本可能需要几天到两周的时间,因此您必须等待更长的时间才能获得最新和最出色的功能。 此外,如果未针对较新的Minecraft版本更新插件,则即使在建议的版本上,也可能存在问题。 对于服务器管理员来说,定期备份显得尤为重要。

下载并运行 (Downloading and Running)

Head over to the Bukkit Project’s main page: Bukkit.org (click on the image below to view it full-size).

转到Bukkit项目的主页: Bukkit.org (单击下面的图像查看其完整尺寸)。

bukkit 合成_如何配置和运行Bukkit(备用Minecraft服务器)

On the right side, you should see a panel that lists the Recommended Builds. The first one is the build that is most recommended at the moment, and below that are other builds that are older. In parentheses, you’ll see which version of Minecraft that build is compatible with. It’s always a good idea to read the posts on the left for information on bugs and development progress.

在右侧,您应该看到一个列出推荐构建的面板。 第一个是当前最推荐的版本,下面是其他较旧的版本。 在括号中,您会看到与该版本兼容的Minecraft版本。 阅读左侧的帖子以获取有关错误和开发进度的信息总是一个好主意。

Click on the top Recommended Build. You’ll be taken to the source hub where you can download the appropriate server’s .jar file.

单击顶部的推荐版本。 您将被带到源中心,在这里可以下载适当的服务器的.jar文件。

bukkit 合成_如何配置和运行Bukkit(备用Minecraft服务器)

Click the link underneath Build Artifacts, as shown in the previous image (click image to view it full-size), and your download will begin.

单击Build Artifacts(构建工件)下方的链接,如上图所示(单击图像以查看其完整尺寸),然后将开始下载。

Place the downloaded .jar file into a new folder.

将下载的.jar文件放到新文件夹中。

bukkit 合成_如何配置和运行Bukkit(备用Minecraft服务器)

Next, you need to create a script to run it. This varies depending on what OS you’re running and we’re covering Windows. If you’re running Linux or Mac OS, check out the Bukkit Wiki’s Setup Guide for the proper startup script.

接下来,您需要创建一个脚本来运行它。 这取决于您所运行的操作系统,而我们所涵盖的是Windows。 如果您使用的是Linux或Mac OS,请查看Bukkit Wiki的安装指南以获取正确的启动脚本。

Open up notepad, and enter the following:

打开记事本,然后输入以下内容:

@ECHO OFF SET BINDIR=%~dp0 CD /D “%BINDIR%” “%ProgramFiles%\Java\jre6\bin\java.exe” -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar PAUSE

@ECHO OFF SET BINDIR =%〜dp0 CD / D“%BINDIR%”“%ProgramFiles%\ Java \ jre6 \ bin \ java.exe” -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar暂停

If you’re using the 32-bit version of Java, change [%ProgramFiles%] to [%ProgramFiles(x86)], without the square brackets. If you’re using the Java Runtime 7 beta, change [jre6] to [jre7]. If you want to change the maximum amount of RAM it can use, change [Xmx1G] (for 1 GB) to something else, like [Xmx4G] (for 4GB).

如果您正在使用Java的32位版本,请将[%ProgramFiles%]更改为[%ProgramFiles(x86)],不要使用方括号。 如果您正在使用Java Runtime 7 beta,请将[jre6]更改为[jre7]。 如果要更改其可以使用的最大RAM量,请将[Xmx1G](用于1 GB)更改为其他内容,例如[Xmx4G](用于4GB)。

Go to File > Save As. Give it a name and be sure to save it with the .bat extension.

转到文件>另存为。 给它起一个名字,并确保将其保存为.bat扩展名。

bukkit 合成_如何配置和运行Bukkit(备用Minecraft服务器)

Double click the .bat file to run the server. You’ll see a command-prompt window open.

双击.bat文件以运行服务器。 您会看到一个命令提示符窗口打开。

bukkit 合成_如何配置和运行Bukkit(备用Minecraft服务器)

The first time you run Bukkit, it will create the other files it needs to run properly and will create a world and a nether-world automatically. Once it’s done, we need to shut down the server.

第一次运行Bukkit时,它将创建正常运行所需的其他文件,并自动创建一个世界和一个世界。 完成后,我们需要关闭服务器。

Type “stop” without the quotes, and hit enter. This will properly shut the server down, saving all chunks of the world. You’ll know it’s finished when you see a prompt that says “Press any key to continue . . .”

输入“ stop”(不带引号),然后按Enter。 这将正确关闭服务器,从而节省了所有资源。 当您看到提示“按任意键继续”的提示时,便知道操作已完成。 。 。”

bukkit 合成_如何配置和运行Bukkit(备用Minecraft服务器)

Press any key and the window will close.

按任意键,窗口将关闭。

配置服务器 (Configuring the Server)

First of all, open the op.txt file and add your username to it. This will make you an Op and you will be able to execute any and all commands on your server. Anyone else you add to this file will be able to do the same.

首先,打开op.txt文件并将您的用户名添加到其中。 这将使您成为Op,并且可以执行服务器上的所有命令。 您添加到此文件的其他任何人都可以执行相同操作。

Next, open up the server.properties file in notepad.

接下来,在记事本中打开server.properties文件。

bukkit 合成_如何配置和运行Bukkit(备用Minecraft服务器)

Most of the options are the same as the standard server (Official Minecraft Server Configuration, scroll down to “Tweaking the Server’s Properties”).

大多数选项与标准服务器相同( Minecraft服务器的官方配置,向下滚动到“调整服务器的属性”)。

There are two new options in this file: allow-flight and spawn-protection.

此文件中有两个新选项:allow-flight和spawn-protection。

  • allow-flight is set to “false” by default. This is a server-properties toggle to prevent flying mods from working. If you want to enable flying, install a flying mod on the server and set this to “true”.

    默认情况下,allow-flight设置为“ false”。 这是一个服务器属性切换,可防止飞行模块工作。 如果要启用飞行功能,请在服务器上安装飞行功能模块并将其设置为“ true”。
  • spawn-protection by default is set to “16”. This means that other players will not be able to place blocks or build in a 16-block radius from your spawn point. Ops are not affected by this rule.

    默认情况下,生成保护设置为“ 16”。 这意味着其他玩家将无法从生成点开始放置方块或在16方块半径范围内构建。 操作不受此规则影响。

Save this file when you’re done.

完成后保存此文件。

Bukkit命令 (Bukkit Commands)

As the administrator of your server, you can run several commands to control things. For example, Bukkit allows you to add and remove “Op” status for individual players.

作为服务器的管理员,您可以运行一些命令来控制事物。 例如,Bukkit允许您为单个玩家添加和删除“ Op”状态。

In the console windows, just type the name of the command – with proper parameters, if necessary – and hit enter to execute them. You don’t even have to be playing Minecraft to chat or manage players!

在控制台窗口中,只需键入命令名称(必要时使用适当的参数),然后按Enter键即可执行。 您甚至不必玩Minecraft来聊天或管理玩家!

bukkit 合成_如何配置和运行Bukkit(备用Minecraft服务器)

Here’s a brief list of useful commands:

以下是有用命令的简要列表:

  • op [playername] – turns a normal player into an Op.

    op [玩家名] –将普通玩家变成Op。
  • deop [playername] – turns an Op into a normal player.

    deop [玩家名] –将Op变成普通玩家。
  • help – shows a list of server commands available to you.

    帮助–显示可用的服务器命令列表。
  • say [message] – broadcast a message to all players.

    说[消息] –向所有玩家广播消息。
  • kick [playername] – forcefully disconnect a player from your server.

    kick [玩家名] –强制将玩家与服务器断开连接。
  • time [set|add] [amount] – set or add an amount (between 0 and 24000) of time to the world clock. 0/24000 is just after dawn, 12000 is just before sunset.

    time [set | add] [amount] –设置或添加世界时钟的时间量(0到24000之间)。 0/24000在黎明之后,12000在日落之前。
  • save-all – force an immediate save of all world chunks.

    全部保存–强制立即保存所有世界块。
  • stop – gracefully shut down the server.

    停止–正常关闭服务器。

You can also, of course, enter these commands in the in-game console just like the regular server. There are many more commands available to you, so be sure to check out the CraftBukkit Command List.

当然,您也可以像常规服务器一样在游戏内控制台中输入这些命令。 您还有更多可用的命令,因此请务必查看CraftBukkit命令列表



Now that you’ve got Bukkit installed, you’re on your way to customizing Minecraft’s mechanics and gameplay. If you enjoy playing on a particular server, talk to the ops and tell them about Bukkit. They’ll reap the benefits as much as you will. Next time we’ll discuss adding plugins like Flight and Essentials, but until then, watch out for creepers!

既然已经安装了Bukkit,就可以自定义Minecraft的机制和游戏玩法了。 如果您喜欢在特定的服务器上玩游戏,请与操作人员联系并向他们介绍Bukkit。 他们将尽可能多地获得收益。 下次,我们将讨论添加诸如Flight和Essentials之类的插件,但是在此之前,请当心爬行者!

翻译自: https://www.howtogeek.com/66640/how-to-configure-and-run-bukkit-an-alternative-minecraft-server/

bukkit 合成