Difference between revisions of "TrainCarts/Tickets/zh-cn"

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "车票使用地图作为基础物品,就像传统车票的功能一样,玩家需携带车票进入列车。")
 
(17 intermediate revisions by the same user not shown)
Line 10: Line 10:
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
== 用法 ==
== Usage ==
 
</div>
 
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
=== 创建、编辑和重命名车票 ===
=== Creating, editing and renaming a ticket ===
 
</div>
 
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
==== 要点 ====
==== Notes ====
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
* 创建车票时如果不指定车票名称,则会随机分配一个未使用的名称。
* Leaving out a ticket name during creation will assign a random, free name
+
* 创建新车票会自动让玩家编辑这个车票。
* Creating a new ticket automatically makes the player edit that ticket
 
</div>
 
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
==== 命令 ====
==== Commands ====
 
</div>
 
  
 
{{Command|train ticket create (name)|Creates a new ticket with the name specified|train.ticket.manage}}
 
{{Command|train ticket create (name)|Creates a new ticket with the name specified|train.ticket.manage}}
Line 43: Line 33:
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
=== 为列车分配或不分配车票 ===
=== Assigning or unassigning a ticket to a train ===
 
</div>
 
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
==== 命令 ====
==== Commands ====
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
尚未完成,敬请期待。
No auto-completion here, will be improved in the future
 
</div>
 
  
 
{{Command|train addticket [name]|Assigns a ticket to a train|train.property.tickets}}
 
{{Command|train addticket [name]|Assigns a ticket to a train|train.property.tickets}}
Line 63: Line 47:
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
==== 属性牌 ====
==== Property sign ====
 
</div>
 
  
 
{{sign|[+train]|property|addticket|myticket}}
 
{{sign|[+train]|property|addticket|myticket}}
<div lang="en" dir="ltr" class="mw-content-ltr">
 
 
<br>
 
<br>
</div>
 
 
{{sign|[+train]|property|remticket|myticket}}
 
{{sign|[+train]|property|remticket|myticket}}
<div lang="en" dir="ltr" class="mw-content-ltr">
 
 
<br>
 
<br>
</div>
 
 
{{sign|[+train]|property|clrticket|}}
 
{{sign|[+train]|property|clrticket|}}
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
=== 给予玩家车票 ===
=== Giving ticket items to players ===
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
车票属性会自动更新,不需要重新获取新的车票。可以(在命令方块中)使用 @p 选择器来给予附近的玩家车票。
The ticket properties can later be updated without having to re-give the ticket item. The @p selector can be used (in command blocks) to give to players nearby.
 
</div>
 
 
{{Command|train ticket give [name] [player/@p]|Gives a ticket item to a Player|train.ticket.manage}}
 
{{Command|train ticket give [name] [player/@p]|Gives a ticket item to a Player|train.ticket.manage}}
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
=== 车票配置 ===
=== Ticket item configuration ===
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
车票还有更多配置,例如使用次数等。
Tickets can be further configured to restrict the number of uses and more.
 
</div>
 
  
 
{{Command|train ticket maximumuses [amount/unlimited]|Set the amount of times ticket items can be used|train.ticket.manage}}
 
{{Command|train ticket maximumuses [amount/unlimited]|Set the amount of times ticket items can be used|train.ticket.manage}}
Line 103: Line 73:
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
=== 车票背景图片 ===
=== Ticket background image ===
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
每个车票都可以更改背景图片。背景图片需要放在 ''plugins/Train_Carts/images'' 文件夹中,分辨率必须为 128x128 像素。
The background image of the item can be changed on a per-ticket basis. Background images need to be put in the ''plugins/Train_Carts/images'' folder and must be 128x128 in resolution.
 
</div>
 
 
{{Command|train ticket background [filename]|Assigns a background image|train.ticket.manage}}
 
{{Command|train ticket background [filename]|Assigns a background image|train.ticket.manage}}
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
=== 领域 ===
=== Realms ===
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
车票可以分配给一个领域,可以被分配给列车的普通名称。这使得为一辆列车创建多张不同的车票会更加容易。要使用这个功能,需将领域名称(不是车票名称)分配给车票属性,这样就可以使用该领域的部分车票了。
Tickets can be assigned to a realm, a common name that can be assigned to trains. This makes it easier to create multiple different tickets that can be used for the same trains. To use this feature, assign the realm name (instead of the ticket name) to the train tickets property, and now tickets part of this realm can be used.
 
</div>
 
  
 
{{Command|train ticket realm [realm]|Sets the ticket realm|train.ticket.manage}}
 
{{Command|train ticket realm [realm]|Sets the ticket realm|train.ticket.manage}}

Latest revision as of 00:30, 10 October 2024

Other languages:
English • ‎中文(中国大陆)‎

« 返回


介绍

玩家手上拿着一张车票。

车票使用地图作为基础物品,就像传统车票的功能一样,玩家需携带车票进入列车。


用法

创建、编辑和重命名车票

要点

  • 创建车票时如果不指定车票名称,则会随机分配一个未使用的名称。
  • 创建新车票会自动让玩家编辑这个车票。


命令

Creates a new ticket with the name specified
Command: /train ticket create (name)
Permission: train.ticket.manage


Edits the ticket with the given name
Command: /train ticket edit [name]
Permission: train.ticket.manage


Renames the last-edited ticket
Command: /train ticket rename [new_name]
Permission: train.ticket.manage


Deletes the last-edited train ticket
Command: /train ticket remove
Permission: train.ticket.manage



为列车分配或不分配车票

命令

尚未完成,敬请期待。

Assigns a ticket to a train
Command: /train addticket [name]
Permission: train.property.tickets


Un-assigns a ticket from a train
Command: /train remticket [name]
Permission: train.property.tickets


Clears all tickets set for a train
Command: /train clrticket
Permission: train.property.tickets



属性牌

Signtemplate.png
[+train]
property
addticket
myticket


Signtemplate.png
[+train]
property
remticket
myticket


Signtemplate.png
[+train]
property
clrticket


给予玩家车票

车票属性会自动更新,不需要重新获取新的车票。可以(在命令方块中)使用 @p 选择器来给予附近的玩家车票。

Gives a ticket item to a Player
Command: /train ticket give [name] [player/@p]
Permission: train.ticket.manage



车票配置

车票还有更多配置,例如使用次数等。

Set the amount of times ticket items can be used
Command: /train ticket maximumuses [amount/unlimited]
Permission: train.ticket.manage


Set what destination to set on the train when used
Command: /train ticket destination [destination]
Permission: train.ticket.manage


Set what tags to add to the train when used
Command: /train ticket tags [tags]
Permission: train.ticket.manage



车票背景图片

每个车票都可以更改背景图片。背景图片需要放在 plugins/Train_Carts/images 文件夹中,分辨率必须为 128x128 像素。

Assigns a background image
Command: /train ticket background [filename]
Permission: train.ticket.manage



领域

车票可以分配给一个领域,可以被分配给列车的普通名称。这使得为一辆列车创建多张不同的车票会更加容易。要使用这个功能,需将领域名称(不是车票名称)分配给车票属性,这样就可以使用该领域的部分车票了。

Sets the ticket realm
Command: /train ticket realm [realm]
Permission: train.ticket.manage