Vehicles
No funciona (falla al cargar) — Could not load plugin 'Vehicles_0.1.15.phar': Invalid plugin manifest: Invalid Plugin "permissions": Nested permission declarations are no longer supported. Declare each permission separately. · Probado en PocketMine-MP 5.50.0 (PHP 8.4.27).
Vehicles
A PocketMine-MP plugin that brings custom drive-able vehicles to your server, made by JaxkDev
You can make your own vehicles and modify their data (speed, size etc!)
Default Vehicles:
- Basic-Car
NOTICE !
This is a experimental plugin and is not for performance and 100% not the best way to do such plugin but this is great experience for myself.
For Developers
Feel free to add custom vehicle classes in another plugin to customize it even more (only so much you can do in a config) or implement your own system on top of the current logic.
Vehicle NBT Structure (not including base entity data):
CompoundTag EntityNBT
- vehicle(int) (Vehicle Version)
- VehicleData(CompundTag)
- type(int)
- name(string)
- design(string)
- gravity(float)
- scale(float)
- baseOffset(float)
- forwardSpeeed(float)
- backwardSpeed(float)
- leftSpeed(float)
- rightSpeed(float)
- bbox(ListTag)
- x(float)
- y(float)
- z(float)
- x2(float)
- y2(float)
- z2(float)
- driverSeat(ListTag)
- x(float)
- y(float)
- z(float)
- passengerSeats(ListTag)
- (ListTag) x How many seats there are
- x(float)
- y(float)
- z(float)
Events will be added in the near future.
License:
Code provided is licensed under the Open Software License ("OSL") v. 3.0 The default resource's license can be found in the resources folder.