Vehicle Route
Console: NO
Aktivate Minecart to Direction -Detector Rail on CommandBlock
Vehicle Route
- [IC1500<direction>] <vehicle,whichroute,routemax,newroute,message>
no Lever Function
- vehicle = minecart|minecart_chest is required (more next Update)
- whichroute = ri|rp|rinv (ri=routeitem,rp=routeplayer,rinv=routeinventory) is required
- minecart_chest can only rinv
- routemax = rm{integer}rm is required
- integer = rm{3}rm check 3 Route
- newroute = integer{x:y:z,stationname:stationname}integer is required
- integer = 1 for left, 2 for right, etc. etc., (if routemax >=)
- x:y:z = set new cart x y z Location
- stationname = max stationname not relevant, set also 1 or more, first Name is Target Station,other over Station
- message = msg{&aSet new Route}msg
(ColorCode and %p optional,%p -replace PlayerName) set Player Message
mtpic [ic1500s]
minecart,rp,rm{1}rm,1{169:20:3,lasvegas:lasvegasmitte:adminshop}1,msg{&cHello %p}msg
Three variants for Route and Player (routeitem|routeinventory or routeplayer)
- routeplayer over Command /ticket setrp LasVegas:LasVegasMitte:LasVegasNord
- set Playerroute at Plugin Map
- routeitem over Command /ticket setri itemname:subid LasVegas:LasVegasMitte:LasVegasNord (subid optional)
- drop item with Route for Player or Minecart Chest
Bsp:
1.Player set /ticket setrp lasvegasnord:lasvegasmitte
2.CommandBlock =
mtpic [ic1500s] minecart,rp,rm{2}rm,1{197:120:37,lasvegasmitte}1,2{197:130:37,lasvegassued}2,msg{&aSet new Route}msg
2.Player Vehicle activate CommandBlock and move direction 1
3.CommandBlock =
mtpic [ic1500s] minecart,rp,rm{1},1{201:130:46,lasvegasnord}1
3.Player Vehicle activate CommandBlock and move direction 1
etc. etc. etc.
1.Player set /ticket setri paper lasvegasnord:lasvegasmitte
1.Drop Item Paper with Station Info
2.CommandBlock =
mtpic [ic1500s] minecart,ri,rm{2}rm,1{197:120:37,lasvegasmitte}1,2{197:130:37,lasvegassued}2
2.Player Vehicle activate CommandBlock, check PlayerItemOnHand and move direction 1 is ItemOnHand found
3.CommandBlock =
mtpic [ic1500s] minecart,ri,rm{1}rm,1{201:130:46,lasvegasnord}1
3.Player Vehicle activate CommandBlock, check PlayerItemOnHand and move direction 1 is ItemOnHand found
etc. etc. etc.