Wiki赞助.jpg
  • 因近日遭受攻击,百科现已暂停注册,有意编辑请加入插件百科企鹅群:223812289

Difference between revisions of "UhcCore"

From Minecraft插件百科
Jump to: navigation, search
(增加最初设定部分)
(情境列表)
 
Line 185: Line 185:
 
* 关闭默认的下界和末地。这个插件会加载自己的下界和末地,因此不需要使用默认除非您有需要。您可以在您的 <code>server.properties</code> 中关闭默认的下界,在您的 <code>bukkit.yml</code>中关闭默认的末地。
 
* 关闭默认的下界和末地。这个插件会加载自己的下界和末地,因此不需要使用默认除非您有需要。您可以在您的 <code>server.properties</code> 中关闭默认的下界,在您的 <code>bukkit.yml</code>中关闭默认的末地。
 
* 尽管该插件在Bukkit或Spigot服务器上运行良好,但切换到Paper可能会提高性能。
 
* 尽管该插件在Bukkit或Spigot服务器上运行良好,但切换到Paper可能会提高性能。
 +
 +
 +
== 情境列表(未翻译) ==
 +
 +
{|
 +
!align="center"| Name
 +
! Description
 +
|-
 +
|align="center"| CutClean
 +
| No furnaces required. Ores and animal drops are automatically smelted. Apple rates are 5%, flint rates are 90% No lapis is needed for enchanting.
 +
|-
 +
|align="center"| Fireless
 +
| You cannot take fire damage.
 +
|-
 +
|align="center"| Bowless
 +
| You are not able to craft bows.
 +
|-
 +
|align="center"| Rodless
 +
| Fishing rods are not craftable.
 +
|-
 +
|align="center"| Shieldless
 +
| Shields are not craftable.
 +
|-
 +
|align="center"| Blood Diamonds
 +
| When mining a diamond ore, the player will take half a heart of damage.
 +
|-
 +
|align="center"| Timber
 +
| Breaking a log of a tree will cause the whole tree to fall down.
 +
|-
 +
|align="center"| Horseless
 +
| You are not able to tame horses/donkeys.
 +
|-
 +
|align="center"| Timebomb
 +
| After killing a player, their loot will drop into a double chest. The chest will explode 30 seconds later.
 +
|-
 +
|align="center"| No-Fall
 +
| Fall damage is off.
 +
|-
 +
|align="center"| BestPvE
 +
| Each player will be added to the &quot;Best PvE List&quot; at the start of the game. While being on the list, you will gain 1 extra heart every 10 minutes. Once a player takes damage, the player will be removed from the list. If you kill a player, you are added back to the list.
 +
|-
 +
|align="center"| Triple Ores
 +
| Ores drop in threes.
 +
|-
 +
|align="center"| Double Ores
 +
| Ores drop in pairs.
 +
|-
 +
|align="center"| Team Inventory
 +
| Each team has an extra inventory that all members from the team can view by using /teaminventory.
 +
|-
 +
|align="center"| No-Clean
 +
| Gives you 30 seconds of invincibility after a kill. Attacking other players will remove this PvP Protection.
 +
|-
 +
|align="center"| Hastey Boys
 +
| Every tool you craft will have Efficiency 3 and Unbreaking 1
 +
|-
 +
|align="center"| Lucky Leaves
 +
| Trees have a 0.5% chance of dropping a Golden Apple.
 +
|-
 +
|align="center"| Bleeding Sweets
 +
| On death a player drops 1 diamond, 5 gold, 1 book, 2 string and 16 arrows
 +
|-
 +
|align="center"| Double Gold
 +
| The original amount of gold will double when mined.
 +
|-
 +
|align="center"| Gold Less
 +
| When gold is mined, it will disappear and is not obtainable.
 +
|-
 +
|align="center"| FlowerPower
 +
| Break flowers to receive items.
 +
|-
 +
|align="center"| Switcheroo
 +
| When you shoot someone, you trade places with them
 +
|-
 +
|align="center"| Vein Miner
 +
| Mining a block while crouched breaks blocks of the same type in a chain reaction Only works when using the correct tool for the block type
 +
|-
 +
|align="center"| DragonRush
 +
| In dragon rush the goal is to kill the dragon. The first team to kill the dragon wins! There is a end portal at x 0, z 0
 +
|-
 +
|align="center"| Love At First Sight
 +
| In this scenario you are not able to choose your teammates through the team selection inventory. Teams are created by clicking on someone in game.
 +
|-
 +
|align="center"| Fast Leaves Decay
 +
| In this scenario after breaking all logs of a tree the leaves will be gone within seconds
 +
|-
 +
|align="center"| Sky High
 +
| In this scenario after 30 minutes you will start taking damage every 30 seconds while not above y=120
 +
|-
 +
|align="center"| Fast Smelting
 +
| In this scenario item smelting is sped up 5 times.
 +
|-
 +
|align="center"| Super Heroes
 +
| Each player will gain a special ability. The powers are speed 1, strength 1, resistance 2, invisibility, 6 extra hearts, and jump boost 4.
 +
|-
 +
|align="center"| Anonymous
 +
| All player names are distorted.
 +
|-
 +
|align="center"| Gone Fishing
 +
| At the beginning of the game, everyone gets a lure 3 luck of the sea 3 rod.
 +
|-
 +
|align="center"| Infinite Enchants
 +
| At the beginning of the game everyone gets 64 enchantment tables, anvils, lapis blocks and a lot of XP.
 +
|-
 +
|align="center"| Children Left Unattended
 +
| When a tea
 +
|}

Latest revision as of 22:26, 19 May 2020

欢迎来到UhcCore Wiki!

UHC-core

原wiki地址:https://github.com/Mezy/UhcCore/wiki


概述

UhcCore是一个支持 1.8 - 1.15 的bukkit插件。它让您可以在专门的服务器上自动进行Ultra Hardcore游戏 它是高度可配置的,并且有许多有趣的场景可供选择(完整列表可在此处找到)。 该Wiki的目的是提供有关此插件使用的文档。 一些主要功能包括:

  • 使用GUI轻松地创建团队(无需使用命令)
  • 开始指令,你可以使用 /start 强制开始游戏 (需要指令 uhc-core.commands.start)
  • 20多种场景和投票系统
  • 可配置的团队上限 / limits / auto-start
  • 定制插件(权限支持)
  • 自定合成(权限支持)
  • 支持保存游戏
  • 金色头颅(译者注:不清楚什么意思)
  • 存档选择:随机或从列表中选择随机种子或复制您指定的世界
  • 预生成世界避免生成滞后
  • 可配置的世界边界和边界缩小速度
  • 启用了下界,并且仅比主世界小两倍,而不是Minecraft的默认值8
  • 带有配置的计分板
  • 开始时随机队伍传送
  • 自动重新开始功能(spigot)并支持bungee,可最终将玩家引导到大厅
  • 可以选择在快速模式下进行(= uhc run / speeduhc)
  • 开发者API
  • 还有更多(阅读配置以查看所有功能)...

如果您在阅读此Wiki之后还有其他疑问,随时可以在这里加入我们的discord


自动重新开始游戏

为了开始新游戏,需要重新启动服务器,您可以使其自动化。最好的方法取决于您的设置。

主机是在您的电脑或特定的服务器

插件使用spigot的/restart 命令来重启服务器。为了使此命令起作用,您需要在spigot.yml中配置启动脚本。

使用有控制面板的Minecraft主机

使用/restart 命令运行脚本很有可能是不被允许的。因此,“重新启动”的唯一方法是使用崩溃重启。插件会关闭您的服务器。您的控制面板认为它“崩溃”了,然后会自动重启。如果你的服务商使用Multicraft那么它是默认被打开的。如果不是的话您也许可以自己开启它,如果不行,那么您需要联系您的服务商帮您开启 如果您的主机商不使用Multicraft,请与您的主机商联系。


命令列表

命令 介绍 权限
/uhccore reload 该命令用于重载配置文件。 uhc-core.commands.reload
/uhccore update 该命令用于更新插件到最新版本。 uhc-core.commands.update
/uhccore version 该命令用于查看插件版本。 -
/chat 该命令用于切换全服和团队聊天。 -
/teleport <player> 该命令可以被所有处于旁观者模式的玩家使用。 默认对所有旁观者开启。(关闭时需要权限 'uhc-core.commands.teleport-admin')
/teleport <x> <y> <z> 该命令用于传送到参数中的坐标。 (如果你想使用原版的 /tp 指令,请使用 '/minecraft:tp') uhc-core.commands.teleport-admin
/spectate 你可以使用这个命令切换到观众模式,当在观众模式中,您会在游戏开始时自动进入旁观者模式。 uhc-core.commands.spectate
/start 该命令用于强制开始游戏。 uhc-core.commands.start
/scenarios 该命令用于查看活动或编辑场景。 uhc-core.scenarios.edit (编辑时需要)
/teaminventory 启用分队时可以使用此命令。 -
/hub 改命令可用于回到bungeecord大厅服。(当开启时) -
/iteminfo 此命令可用于生成插件的配置文件中使用的项目json或合成表。 uhc-core.commands.iteminfo
/upload <file> 此命令可用于将配置文件上传到haste bin,当您寻求支持时,可能会要求您这样做。 uhc-core.commands.iteminfo
/revive <player> [clear] 该命令用于复活死亡的玩家。您可以把clear作为第二个参数来使玩家复活,但清空他们的背包。 uhc-core.commands.revive
/crafts 该命令可用于查询或创建自定义合成表。 uhc-core.commands.crafts.create (只在创建自定义合成表时需要)
/top 该命令可以让玩家传送到他们头上的最高的方块。 uhc-core.commands.top
/deathmatch start 该命令可以强制开始死亡竞赛。 uhc-core.commands.deathmatch


FAQ

如何强制开始游戏?

您可以使用 /start 指令来强制开始游戏。该命令需要的权限为 uhc-core.commands.start。

我怎么加入本地大厅?

您可以把自定义大厅用worldedit转换为schemetic格式,并命名为lobby,放在 plugins/UhcCore/ 。

我怎么改变大厅出生点?

大厅的出生点是您在worldedit中复制大厅的位置。要更改它,请选中大厅,站在想要作为出生点的方块上,输入 //copy, 然后用 //schem 保存schemetic文件并把文件从 plugins/Worldedit/schemetics/ 移动到 plugins/UhcCore/

为什么我的服务器在启动后滞后?

首先检查是不是真的是您的服务器滞后。为此,请输入 /tps,如果第一个数字是黄色或者红色的,而且游戏并没有开始,一个解决这个问题的方法是(这个问题可能是存档损坏引起的,比如从1.14切换到1.13):

  1. 关闭您的服务器。
  2. 删除存档文件(名为UUIDworldworld_netherworld_the_end的文件夹)。
  3. 您现在可以重新打开服务器并让所有东西加载

译者注:该操作会__使你的存档丢失!__

配置文件重载后没有更改或出错?

这可能是您的配置文件问题,复制你的配置文件并粘贴到这个网站上来找到语法错误https://yamlchecker.com/

我加载了一个插件或合成表,但是它没有在菜单上出现?

如果上面的问题没有解决这个问题,那么这可能是插件或合成表的语法错误。打开你的latest.log文件(你也可以通过使用/upload log来做这个)然后找到你的插件或合成表的名字。


最初设定

启动并运行插件

好的,那么你已经从 spigotreleases下载了插件,而且现在你想要安装这个插件。这很简单,而且在每个版本中方法都是相同的(1.8.8-1.15.x):

  1. 把 UhcCore 的 jar 文件放在您的 plugins/ 文件夹里然后打开您的服务器
  2. 一个叫做UhcCore的文件夹应该会被自动创建在路径 plugins/UhcCore. 在这个文件夹里您可以看到一下文件:
  • config.yml:常规服务器配置,请阅读整个文件以了解插件的功能。
  • crafts.yml:让您可以使用自定义合成表。(可以关闭)
  • kits.yml:所有插件。(可以关闭)
  • scenarios.yml: 为某些方案配置其他选项。
  • lang.yml:配置游戏中的消息和提示。
  • scoreboard.yml:配置计分板展示什么。
  • storage.yml: 储存插件数据,请不要更改这个文件!
  1. 更改任何这些文档时,使用正确的YAML语法很重要。您可以用 YAML 语法检查器来检查语法。常见破坏配置的错误包括使用TAB键对齐(只能使用空格)或输入无效的方案名称。

提升服务器性能的方法

UHC是一种需要大量资源的游戏模式,因为整个世界都需要被加载。这是提升性能的方法:

  • 如果您在UHC中不需要下界,那么请把它关闭,这会使需要保留的内存中少了一个世界。
  • 让你的世界小一点
  • 降低您服务器的视距
  • 关闭默认的下界和末地。这个插件会加载自己的下界和末地,因此不需要使用默认除非您有需要。您可以在您的 server.properties 中关闭默认的下界,在您的 bukkit.yml中关闭默认的末地。
  • 尽管该插件在Bukkit或Spigot服务器上运行良好,但切换到Paper可能会提高性能。


情境列表(未翻译)

Name Description
CutClean No furnaces required. Ores and animal drops are automatically smelted. Apple rates are 5%, flint rates are 90% No lapis is needed for enchanting.
Fireless You cannot take fire damage.
Bowless You are not able to craft bows.
Rodless Fishing rods are not craftable.
Shieldless Shields are not craftable.
Blood Diamonds When mining a diamond ore, the player will take half a heart of damage.
Timber Breaking a log of a tree will cause the whole tree to fall down.
Horseless You are not able to tame horses/donkeys.
Timebomb After killing a player, their loot will drop into a double chest. The chest will explode 30 seconds later.
No-Fall Fall damage is off.
BestPvE Each player will be added to the "Best PvE List" at the start of the game. While being on the list, you will gain 1 extra heart every 10 minutes. Once a player takes damage, the player will be removed from the list. If you kill a player, you are added back to the list.
Triple Ores Ores drop in threes.
Double Ores Ores drop in pairs.
Team Inventory Each team has an extra inventory that all members from the team can view by using /teaminventory.
No-Clean Gives you 30 seconds of invincibility after a kill. Attacking other players will remove this PvP Protection.
Hastey Boys Every tool you craft will have Efficiency 3 and Unbreaking 1
Lucky Leaves Trees have a 0.5% chance of dropping a Golden Apple.
Bleeding Sweets On death a player drops 1 diamond, 5 gold, 1 book, 2 string and 16 arrows
Double Gold The original amount of gold will double when mined.
Gold Less When gold is mined, it will disappear and is not obtainable.
FlowerPower Break flowers to receive items.
Switcheroo When you shoot someone, you trade places with them
Vein Miner Mining a block while crouched breaks blocks of the same type in a chain reaction Only works when using the correct tool for the block type
DragonRush In dragon rush the goal is to kill the dragon. The first team to kill the dragon wins! There is a end portal at x 0, z 0
Love At First Sight In this scenario you are not able to choose your teammates through the team selection inventory. Teams are created by clicking on someone in game.
Fast Leaves Decay In this scenario after breaking all logs of a tree the leaves will be gone within seconds
Sky High In this scenario after 30 minutes you will start taking damage every 30 seconds while not above y=120
Fast Smelting In this scenario item smelting is sped up 5 times.
Super Heroes Each player will gain a special ability. The powers are speed 1, strength 1, resistance 2, invisibility, 6 extra hearts, and jump boost 4.
Anonymous All player names are distorted.
Gone Fishing At the beginning of the game, everyone gets a lure 3 luck of the sea 3 rod.
Infinite Enchants At the beginning of the game everyone gets 64 enchantment tables, anvils, lapis blocks and a lot of XP.
Children Left Unattended When a tea