Skip to content

cqdetdev/pizzaplug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pizzaplug

Have you ever been on your PocketMine-MP (4.0.0+) server, and thought:

It'd be real nice if I could order Domino's pizza through MCPE!

Well, today's your lucky day. pizzaplug is about to change the way you sweat on twelve year olds for the better.

pizzaplug is a plugin for PocketMine which allows you to order Domino's pizza without ever having to leave your game.

It uses the Domino's public API to send out an order to your address.

Run /pizza, enter your delivery information, select your local Domino's, and choose what you'd like to eat from the interactable forms menus!

Menu Form

When you've selected everything you want, click on the "View Cart" button to review your order before you send it in. View Cart Form

When you're satisfied with your selection, click the "Submit Order" button at the bottom of the "View Cart" form. Once you click it, an order will be sent to Domino's.

Don't worry - no payment information is taken. Instead, the payment method is forced as cash, so you can rest assured knowing that your pizza is secure pizza.

After Domino's processes your order, you'll see a message like this in chat:

Your order was completed! A tracking indicator will be shown on top of your hotbar in a few seconds.

The total was $11.36, make sure you have the cash ready before the driver arrives.

While you read that message, the plugin was busy communicating with the Domino's Tracker. Yeah, that's right. It has tracking too!

After a few seconds of loading, you'll see a tracking indicator on top of your hotbar. It'll show you everything you need to know - the ETA, order status, and the driver and manager from the store.

Tracking Indicator

This tracking indicator will automatically close after the order ends, such as the order being delivered or the order being cancelled. (say you spam your local Domino's with orders to debug your implementation of their API, sorry Brayden)

todo

  • Local store searching
  • Menu requesting
  • Item selection
  • Ordering
  • Live tracking
  • General code cleanup
  • Full support for building your own pizzas

disclaimer

this code is absolute dogshit please do not actually use this on any major servers

About

Buy Domino's pizza from MCPE!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%