The Phillipa Engine - nnichael/MOGL GitHub Wiki

Description

The Phillipa Engine is an official MOGL plugin that handles the physics and functions of vehicles. As of right now, it is the most advanced and feature-full vehicle plugin known to Minecraft servers.

Physics

The vehicles of The Phillipa Engine feature smooth acceleration, deceleration, break speed, and turn speed based on velocity. These calculations also allow for smooth slope climbing.

The vehicles have collision detection, which can slow you down when crashing into a wall, and also damage entities that you crash into (roadkill).

They also feature vehicles with multiple seats. The seating system allows vehicles to have 1000+ passenger seats, seat switching, and the ability to lock your car doors.

Audio

Each vehicle comes with a variety of horns to choose from. The vehicles types also have unique engine sounds that change in pitch based on the vehicle's velocity. Crashing into entities with play a CRASH sound, and going over curbs with play a THUD.

Engines

Each vehicle type requires an engine that is compatible with it. The engine is what determines the max speed, acceleration, deceleration, etc. The engines can be replaced with upgraded versions, if available, and can also be repaired.

Storage

Each vehicle type has a certain storage size. Large trucks have up to 54 slots, while a sedan might have 9. You can put any item you like inside the vehicle storage.

Digital Garage

Collect vehicles, pay for digital garage space, send your vehicle to the garage, and retrieve it when you need it next.

Models

Each vehicle type comes with a variety of cosmetic models you can choose from. Some of them you can purchase with in-game cash, others require VIP++. These models can change the look of the car, the seating arrangement (this does not change the amount of seats, just their positions), and the sounds of the engine.

Anti-Exploit

The complexity of the seating positions, models, and movement calculations can leave vehicle plugins subject to a lot of exploitable features, such as glitching through walls (like the infamous boat wall phase glitch). The Phillipa Engine combats this by making several ray traces and collision checks before moving the vehicle, entering the vehicle, and exiting the vehicle.

Drifting

The latest feature, drifting, is also the most fun. Pick up speed, tap the breaks, turn and enter a drift! Complete with sound effects to immerse you further.

Extras

The Phillipa Engine allows for expansion and integration with the core MOGL plugin. Things like parking spaces, vehicle towing, impound lots, engine repair, and the Dealership NPC are all made possible due to its extensive API. This is only scratching the surface of what the Phillipa Engine will be capable of now, and in the future.