A Paper plugin that allows minecarts to be controlled by players, simulating real-world driving.将矿车变为可驾驶的地面载具
HikariVehicle-x.x.x.jar in your server's plugins folderconfig.yml as neededRequirements:
Right-click on any solid block with a minecart to place it on the ground (not just rails).
右键点击任意固体方块放置矿车(不再局限于铁轨)。
Vehicles consume fuel items from your inventory. Default fuels:
| Item | Burn Time |
|---|---|
| Coal / Charcoal | 120s |
| Coal Block | 1200s |
| Blaze Rod | 180s |
| Lava Bucket | 600s |
| Other burnables | 60s |
| Command | Description | Permission |
|---|---|---|
/hv |
Show plugin version | - |
/hv reload |
Reload configuration | hikarivehicle.admin |
| Permission | Description | Default |
|---|---|---|
hikarivehicle.drive |
Drive vehicles | true |
hikarivehicle.admin |
Admin commands | op |
# Language: zh_cn (简体中文) or en_us (English)
language: zh_cn
# Movement settings
movement:
max-speed: 10.0 # Maximum speed (blocks/second)
acceleration: 2.0 # Acceleration (blocks/second²)
coast-friction: 0.92 # Friction when coasting
brake-friction: 0.80 # Friction when braking
min-speed: 0.1 # Minimum speed threshold
# Steering settings
steering:
max-turn-rate: 15.0 # Max turn rate (degrees/tick)
turn-damping: 0.3 # Speed-dependent turn damping
key-turn-rate: 5.0 # A/D key turning boost
# Terrain settings
terrain:
step-height: 0.5 # Max climbable height (0.5 = slabs)
# Fuel system
fuel:
enabled: true
items:
COAL: 120
CHARCOAL: 120
COAL_BLOCK: 1200
BLAZE_ROD: 180
LAVA_BUCKET: 600
default-burn-time: 60
# Durability system
durability:
enabled: true
max-durability: 1000
distance-per-durability: 10.0
# Collision settings
collision:
enabled: true
damage: 1.0
min-speed: 3.0
knockback: 0.5
damage-cooldown: 20 # Ticks between damage (20 = 1 second)
death-track-window: 100 # Death attribution window (ticks)
# Hazard settings
hazards:
water:
eject-delay: 20 # Ticks before water ejection
lava:
instant-destroy: true
# Visual effects
effects:
exhaust:
enabled: true
type: CAMPFIRE_SIGNAL_SMOKE
count: 1
only-when-accelerating: true
HikariVehicle is designed to coexist with rail transit plugins:
git clone https://github.com/your-repo/HikariVehicle.git
cd HikariVehicle
mvn clean package
The compiled JAR will be in target/HikariVehicle-x.x.x.jar.
This project is licensed under the MIT License.
Developed for HikariCraft server.