最MC论坛

标题: [娱乐][其他]TrainCraft——可以开火车啦![1.0.0-1.7.2] [打印本页]

作者: xxr    时间: 2014-9-3 16:19
标题: [娱乐][其他]TrainCraft——可以开火车啦![1.0.0-1.7.2]
本帖最后由 小豹猫 于 2016-3-26 02:43 编辑

TrainCraft——火车插件









简介

下载量超大的一个插件,该插件通过牌子(需要BKCommonLib前置插件)控制矿车速度,方向等路径。

安装

把下载下来的jar文件(ZIP文件要解压,里面有JAR文件)放进\plugins文件夹内,重启服务器。

功能

用牌子,没错,就是牌子,就可以控制火车了,非常方便。



命令

有谁需要的话我就翻译,不过基本都能看懂。

List
/train list
/cart list
Lists the number of stationary and moving trains in the world. It also lists the total number of cart entities (as part of those trains) and lists the trains that belong to you.

Reroute
/train reroute
If the path finding system is failing because the track got changed, you can use this command to force the plugin to re-calculate all destination paths.

Destroy all
/train destroyall
/train removeall
Destroys all minecarts and trains on the server. Can be useful to re-set the plugin.

Fix bugged
/train destroyall
/train fixbugged
Destroys all minecarts that are not managed by the plugin. Useful for is the server was shut down unexpectedly, leaving orphaned trains on the track.

Train - only commands
The below commands work only for /train.

Rename
/train setname [name]
/train name [name]
/train rename [name]
Sets the name of the train, the name may not be assigned to another train already
[edit]Set display name
/train setdname [name]
/train displayname [name]
/train setdisplayname [name]
Sets the display name of the train, may be double-assigned. This name is displayed on SignLink-variable signs when using trigger signs.

Train and Cart commands
The below commands work for both /train and /cart.

Information
/train info
/train i
Shows train or cart related information, such as the name and set properties.

Ownership
/train claim
Sets you as the only owner of this train.
/train setowner [names...]
/train setowners [names...]
/train setowners
Sets the owner names of this train. Use no names to clear the owners.
/train addowner [names...]
/train addowners [names...]
Adds the owner names to this train.
To change ownership of a single minecart, use the '/cart' command instead of '/train'. When setting train owners, you set owners on all minecarts simultaneously. If no owners are set for a minecart, it can be freely edited and destroyed by everyone else.

Tags
/train settags [tags...]
/train settag [tags...]
/train tags [tags...]
/train tag [tags...]
/train settags
Sets the tags of this train. Use no tags to clear the tags.
/train addtags [tags...]
/train addtag [tags...]
Add tags to this train.
Tags can be used in combination with switcher or detector signs. For example, you can set a tag to order a train to be destroyed. Every minecart has a separate set of tags, setting tags on a train sets it for all minecarts simultaneously.

Destination
/train destination [destination]
/train dest [destination]
Sets the destination for this train.
You can also set a destination on a single minecart in the train, this way letting switcher signs split trains up in multiple carriages.

Player enter
/train playerenter [bool]
Sets if players can enter the train or minecart.

Player exit
/train playerexit [bool]
/train playerleave [bool]
Sets if players can exit the train or minecart.

Pick up
/train pickup [bool]



权限

PermissionDefaults.yml文件

#> Below are the default permissions set for plugin 'Train_Carts'.
#> These permissions are ignored if the permission is set for a group or player.
#> Use the defaults as a base to keep the permissions file small
#> Need help with this file? Please visit:
#> http://dev.bukkit.org/server-mods/bkcommonlib/pages/general/permission-defaults/
train:
  command:
    globalproperties:
      default: op
      description: The player can edit the properties of all carts
    properties:
      default: true
      description: The player can edit the properties of carts he owns
    destroy:
      default: op
      description: The player can destroy owned carts through commands
    destroyall:
      default: op
      description: The player can destroy all trains on the server
    fixbugged:
      default: op
      description: The player can destroy all bugged minecarts on the server
    reroute:
      default: op
      description: The player can force path finding to re-calculate
    reload:
      default: op
      description: The player can reload the configuration
    break:
      default: true
      description: The player can set blocks the cart can break from a set list
    breakblock:
      admin:
        default: op
        description: The player can set blocks the cart can break, any type
    setpublic:
      default: true
      description: The player can make his owned carts open for the public
    setowners:
      default: true
      description: The player can set the owners of his owned carts
    settags:
      default: true
      description: The player can set the tags of his owned carts
    mobenter:
      default: true
      description: The player can set if mobs can enter his owned carts
    setdestination:
      default: true
      description: The player can set destinations for his owned carts
    playerenter:
      default: true
      description: The player can set if players can enter his owned carts
    playerexit:
      default: true
      description: The player can set if players can exit his owned carts
    pickup:
      default: true
      description: The player can set if his owned storage carts pick up items
    setlinking:
      default: true
      description: The player can set if his owned trains can link to other trains
    keepchunksloaded:
      default: op
      description: The player can if his owned trains keep nearby chunks loaded
    pushing:
      default: true
      description: The player can if his owned trains push away certain entities
    slowdown:
      default: true
      description: The player can if his owned trains slow down over time
    setcollide:
      default: true
      description: The player can if his owned trains can collide
    setspeedlimit:
      default: true
      description: The player can set the maximum speed for his trains
    setpoweredcartrequirement:
      default: true
      description: The player can set if a powered minecart is needed for his train to stay alive
    rename:
      default: true
      description: The player can rename his owned trains
    displayname:
      default: true
      description: The player can change the display name of his owned trains
    manualmove:
      default: true
      description: Whether the player can change if trains can be moved by damaging them
    saveall:
      default: op
      description: Whether the player can save all TrainCarts stored information to file
    message:
      default: op
      description: Whether the player can add message shortcuts
    pathinfo:
      default: op
      description: Whether the player can view the route the train is following to reach the destination
    playertake:
      default: op
      description: Whether the player can change if players take Minecarts with them when they leave
    soundenabled:
      default: op
      description: Whether the player can turn Minecart sound on or off
    teleport:
      default: op
      description: Whether the player can teleport to where trains are
    changeblock:
      default: op
      description: Whether the player can alter the type of block displayed in a minecart
  build:
    station:
      default: op
      description: The player can build train stations
    spawner:
      default: op
      description: The player can build train spawners
    trigger:
      default: op
      description: The player can build train triggers
    destination:
      default: op
      description: The player can build destinations
    switcher:
      default: op
      description: The player can build track switchers
    destructor:
      default: op
      description: The player can build train destructors
    detector:
      default: op
      description: The player can build train detectors
    ejector:
      default: op
      description: The player can build train ejectors
    property:
      default: op
      description: The player can build train property setters
    collector:
      default: op
      description: The player can build systems to let trains collect from storage blocks
    depositor:
      default: op
      description: The player can build systems to fill storage blocks with items from trains
    elevator:
      default: op
      description: The player can build systems to teleport trains vertically
    teleporter:
      default: op
      description: The player can build train teleporters (portals)
    blocker:
      default: op
      description: The player can build train blockers
    wait:
      default: op
      description: The player can build train wait signs
    crafter:
      default: op
      description: The player can build item crafter signs
    ticket:
      default: op
      description: The player can build a sign that will charge money or ejects a player if he can't pay
    announcer:
      default: op
      description: The player can build a sign that sends a message to all the players in a train
    effect:
      default: op
      description: The player can build a sign that can play an effect
    blockchanger:
      default: op
      description: The player can build a sign that alters the block displayed in minecarts
    jumper:
      default: op
      description: The player can build a sign that can cause a train to jump in a certain direction
    launcher:
      default: op
      description: The player can build a sign that can launch trains
    enter:
      default: op
      description: The player can build a sign that can make nearby players/mobs enter a train
  place:
    minecart:
      default: true
      description: The player can place minecarts
    traincart:
      default: true
      description: The player can place TrainCarts minecarts
  properties:
    admin:
      default: op
      description: Carts placed by this player get the admin properties



配置

可以设置火车速度、玩家权限等。

default:
  soundEnabled: true
  displayName: ''
  allowPlayerTake: true
  requirePoweredMinecart: false
  trainCollision: true
  keepChunksLoaded: false
  speedLimit: 0.7
  slowDown: false
  allowManualMovement: false
  collision:
    mobs: kill
    players: kill
    misc: PUSH
    train: LINK
  owners: []
  ownerPermissions: []
  tags: []
  allowPlayerEnter: true
  allowPlayerExit: false
  isPublic: true
  pickUp: false
  exitOffset:
    ==: Vector
    x: 0.0
    y: 0.0
    z: 0.0
  exitYaw: 0.0
  exitPitch: 0.0
  blockBreakTypes: []
  destination: ''
  enterMessage: ''
  spawnItemDrops: true
admin:
  soundEnabled: true
  displayName: ''
  allowPlayerTake: true
  requirePoweredMinecart: false
  trainCollision: true
  keepChunksLoaded: false
  speedLimit: 0.7
  slowDown: false
  allowManualMovement: false
  collision:
    mobs: DEFAULT
    players: DEFAULT
    misc: PUSH
    train: LINK
  owners: []
  ownerPermissions: []
  tags: []
  allowPlayerEnter: true
  allowPlayerExit: true
  isPublic: true
  pickUp: false
  exitOffset:
    ==: Vector
    x: 0.0
    y: 0.0
    z: 0.0
  exitYaw: 0.0
  exitPitch: 0.0
  blockBreakTypes: []
  destination: ''
  enterMessage: ''
  spawnItemDrops: true
spawner:
  soundEnabled: true
  displayName: ''
  allowPlayerTake: true
  requirePoweredMinecart: false
  trainCollision: true
  keepChunksLoaded: false
  speedLimit: 0.7
  slowDown: false
  allowManualMovement: false
  collision:
    mobs: DEFAULT
    players: DEFAULT
    misc: PUSH
    train: LINK
  owners: []
  ownerPermissions: []
  tags: []
  allowPlayerEnter: true
  allowPlayerExit: true
  isPublic: true
  pickUp: false
  exitOffset:
    ==: Vector
    x: 0.0
    y: 0.0
    z: 0.0
  exitYaw: 0.0
  exitPitch: 0.0
  blockBreakTypes: []
  destination: ''
  enterMessage: ''
  spawnItemDrops: true



总结

观赏用插件,毕竟有传送、移动末影箱等功能后火车的作用就只剩下观赏了...

下载地址

TrainCarts-1.73.0(1.7.2).jar
TrainCarts-1.72.9(1.6.2).jar
TrainCarts-1.72.8(1.5.2).jar
TrainCarts-1.72.6(1.4.7).jar
TrainCarts_v1.72.1(1.4.2).zip
其他版本点击这里自行下载,版本范围为【1.0.0 - 1.7.2】


作者: 勉强面倒臭    时间: 2014-9-3 16:48
火车才是原生态嘛→_→,我服务器把所有传送指令的权限都删了,正需要这种插件!
作者: xxr    时间: 2014-9-3 16:53
勉强面倒臭 发表于 2014-9-3 16:48
火车才是原生态嘛→_→,我服务器把所有传送指令的权限都删了,正需要这种插件! ...

没传送很蛋疼吧- -
作者: 勉强面倒臭    时间: 2014-9-3 17:16
xxr 发表于 2014-9-3 16:53
没传送很蛋疼吧- -

原生态嘛
作者: xxr    时间: 2014-9-3 17:31
勉强面倒臭 发表于 2014-9-3 17:16
原生态嘛

好吧- -




欢迎光临 最MC论坛 (http://www.zuimc.com/) Powered by Discuz! X3.2