iGates

插件

· 作者 _ForgeUser7441936

iGates

0 本站下载 0 关注 更新于 9 年前
一键开服(送7天)

iGates

嗨,大家好! iGates 允许你创建传送门以传送玩家。你可以激活和停用这些传送门,并自动用方块填充它们。你还可以在其中保留液体,比如水或熔岩。我尽量让它尽可能简单,希望你会喜欢它。:)

/!\ 此插件需要 PluginBaker 才能运行。别忘了安装它!

法语主题 | Github | Bukkit.org 主题

作者: Ptibiscuit


使用方法

配置

有两个配置文件,位于 config.yml 中:

  • retain_liquid: 如果设置为 true,水和熔岩不会从“起点”区域扩散出去。非常适合创造那 Awesome & legendary 的水墙效果!<3
  • display_message_selection: 如果设置为 true,当你使用木斧进行选择时,它会显示类似“选择完成!”的消息。如果你使用了 WorldEdit 或其他会显示此类消息的插件,请将其设为 false。

命令与权限

/!\ 当参数名为 FillType 时,表示将填充到“起点”区域的方块类型,你必须填写以下方块类型之一:portal, end_portal, water, lava, web, null (= 无)。当你开启一个传送门时,“起点”区域将被填充为该类型的方块。:) 用于创建和管理传送门的命令:

  • /igcreate <Tag> <FillType> (igates.portal.edit.create): 使用给定的名称和填充类型创建一个传送门。顺便说一下,传送门的“终点”会自动设置为你所在的位置,但你可以更改它。;)
  • /igdelete <Tag> (igates.portal.edit.delete): 删除一个传送门。
  • /iglist (igates.portal.list): 列出所有传送门。 编辑传送门的命令:
  • /igaddfrom <Tag> (igates.portal.edit.addfrom): 为指定的传送门添加一个“起点”区域。“起点”区域是玩家被传送到“终点”的位置。在使用该命令之前,请先用木斧进行选择。:)
  • /igclearfroms <Tag> (igates.portal.edit.clearfroms): 移除指定传送门的所有“起点”区域。
  • /igset <on/off> <Tag> (igates.portal.edit.set.on 或 igates.portal.edit.set.off): 开启或关闭一个传送门。
  • /igset filltype <Tag> <FillType> (igates.portal.edit.set.filltype): 设置传送门的填充类型。
  • /igset price <Tag> <Price> (igates.portal.edit.set.price): 设置传送门的经济价格。
  • /igset to <Tag> (igates.portal.edit.set.to): 将指定传送门的“终点”设置为你所在的位置。

还有一些其他权限:

  • igates.make_selection: 允许玩家使用木斧进行选择。
  • igates.god: 玩家在传送时无需付费。
  • 你有多种权限可以授予玩家以允许他们使用传送门。首先,你可以简单地给予 “igates.portal.use”,这允许玩家使用所有传送门。但是,你也可以给予特定权限以允许玩家仅使用某一类传送门(水、熔岩、传送门等),即 “igates.portal.use.<FillType>”(例如,“igates.portal.use.water” 或 “igates.portal.use.lava” 等)。

逐步教程

什么?这么多命令让你头疼?好吧,阅读本教程来创建一个传送门。:)

  1. 使用命令 /igcreate <Tag> <FillType> 创建传送门。在本教程中,我们将使用 /igcreate tuto portal。
  2. 前往你希望传送门传送到的位置,并使用 /igset to tuto。
  3. 拿起木斧,通过右键和左键进行选择,就像在 WorldEdit 中一样。当传送门被激活时,处于该选择区域内的玩家将被传送到“终点”。
  4. 完成选择后,使用 /igaddfrom tuto 将其添加到传送门中。
  5. 使用 /igset on tuto 开启传送门,通常,你选择的“起点”区域将被填充为传送门方块。
  6. 进入“起点”区域,你就会被传送!

如果你更喜欢视频教程而不是文字说明,这里有一个由 DMWandxTMx 制作的教程视频。:)

Traduire en Français ("Omelette du fromage")

要将该插件翻译成法文,非常简单。打开 lang.properties 文件,其中包含了所有将要显示的“语句”。删除其内容并替换为以下内容:

#Default Lang Configuration
#Wed Apr 18 21:25:05 CEST 2012
need_be_player=Vous devez etre un joueur pour faire cette action.
top_list=Liste des portails:
ft_dont_exist=Ce FillType n'existe pas, utilisez un de ceux-ci: water, portal, end_portal, lava, web, null.
tag_dont_exist=Ce nom de portail n'existe pas.
set_filltype=Ce portail est ou sera maintenant rempli de {FILLTYPE}.
portal_deleted=Portail detruit !
first_point_set=Le premier point de séléction est fixé !
more_args=Mauvaise utilisation de la commande . (Besoin d'argument ?).
need_volume=Avant de faire ceci, vous devez sélectionner une zone avec la hache en bois, comme pour World Edit.
tag_taken=Ce nom de portail existe déja, tu manques d'imagination ! \^_^
weird_arg=Vous utilisez un argument bizarre, choisissez un de ceux-ci: on, off, to, filltype;
cant_do=Vous n'avez pas la permission de faire ceci.
elem_list={ACTIVE} §6{TAG}§f: {CNT_FROMS} "Froms" areas.
portail_created=Portail "{TAG}" crée !
froms_added=Zone "From"ajoutée au portail \!
second_point_set=Le deuxime point de la selection a ete fixé !
set_active=Ce portail est maintenant {ACTIVE}.

感谢 N07070 提供他的翻译版本。 :) 当然,你可以修改其中的内容,这是完全可定制的。 ;)

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源