All Projects → thebigsmileXD → fireworks

thebigsmileXD / fireworks

Licence: MIT License
Adds Fireworks to Pocketmine

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to fireworks

BlockSniper
An advanced (brush) world editing plugin for PocketMine-MP
Stars: ✭ 77 (+352.94%)
Mutual labels:  pocketmine, pocketmine-plugins
Volt
A painless web server for PocketMine-MP
Stars: ✭ 24 (+41.18%)
Mutual labels:  pocketmine, pocketmine-plugins
EggWars
EggWars minigame for PocketMine
Stars: ✭ 32 (+88.24%)
Mutual labels:  pocketmine, pocketmine-plugins
CommandShop
Players have to pay items or money to use specific commands! A PocketMine plugin.
Stars: ✭ 32 (+88.24%)
Mutual labels:  pocketmine, pocketmine-plugins
Specter
Super simple debugging for PocketMine.
Stars: ✭ 73 (+329.41%)
Mutual labels:  pocketmine, pocketmine-plugins
Other-Plugins
A collection of all the plugins which I used to work on but no longer maintain
Stars: ✭ 26 (+52.94%)
Mutual labels:  pocketmine, pocketmine-plugins
SAC
An AntiCheat software for PockeMine-MP made to detect unfair gamplay advantages.
Stars: ✭ 52 (+205.88%)
Mutual labels:  pocketmine, pocketmine-plugins
LibSkin
Virion for working with player skins & PocketMine plugin for stealing other player's skins
Stars: ✭ 20 (+17.65%)
Mutual labels:  pocketmine, pocketmine-plugins
BuilderTools
🪓 Powerful World Editor plugin for PocketMine servers
Stars: ✭ 74 (+335.29%)
Mutual labels:  pocketmine, pocketmine-plugins
MineReset
Powerful mine resetting tool
Stars: ✭ 44 (+158.82%)
Mutual labels:  pocketmine, pocketmine-plugins
Capital
An extensible economy API for PocketMine-MP.
Stars: ✭ 31 (+82.35%)
Mutual labels:  pocketmine, pocketmine-plugins
devirion
Plugin used for debugging virions or plugins that use virions.
Stars: ✭ 35 (+105.88%)
Mutual labels:  pocketmine, pocketmine-plugins
TapToDo
Source of the TapToDo plugin for PocketMine
Stars: ✭ 21 (+23.53%)
Mutual labels:  pocketmine-plugins
Mockingbird
PocketMine-MP anticheat in development made for fun by @ethaniccc.
Stars: ✭ 61 (+258.82%)
Mutual labels:  pocketmine
JRCLUST
JRCLUST
Stars: ✭ 32 (+88.24%)
Mutual labels:  rocket
rich-uncle-pennybags-bot
A telegram bot for all of your crypto needs. Works over the bitfinex and coinmarketcap APIs
Stars: ✭ 15 (-11.76%)
Mutual labels:  rocket
Rocket
FreeCAD Rocketry Workbench
Stars: ✭ 29 (+70.59%)
Mutual labels:  rocket
RustyRockets
This repository contains a sample that I used to do an introduction talk about Building Web APIs with Rust and Rocket at the Rust Linz meetup.
Stars: ✭ 25 (+47.06%)
Mutual labels:  rocket
auth-rs
Simple username/password authentication system for Rocket
Stars: ✭ 19 (+11.76%)
Mutual labels:  rocket
nextinspace
Never miss a launch. 🚀
Stars: ✭ 101 (+494.12%)
Mutual labels:  rockets

Deprecated

Check out https://github.com/BlockHorizons/Fireworks/ for an up to date firework plugin, including a simple API!

plugin icon

fireworks

Adds Fireworks to Pocketmine

Its simply adding firework items and entities into PocketMine-MP servers.

You can launch any firework from the creative inventory AND custom ones - just like in vanilla MCPE.

How to get a firework

Either, give a firework via gamemode 1, or /give command. For generating the /give command i suggest using: https://mcstacker.bimbimma.com/mcstacker1.10.php and modifying the command to work with PocketMine-MP. This is not easy. No need to explain further.

The easier way is to use the code to create custom fireworks. See Create a custom firework for that.

Create a custom firework

This is sample code to explain the "API"-alike part of the plugin, giving 2 custom fireworks:

Without special explosions:

		$data = new FireworksData();
		$data->flight = 2;//flight time. default is 1
		$firework = new Fireworks();
		$nbt = Fireworks::ToNbt($data);//create the compound tag
		$firework->setNamedTag($nbt);//modify the item's compound tag
		$event->getPlayer()->getInventory()->addItem($firework);//give the item to a player (this case: PlayerJoinEvent $event)

With special explosions

		$explosion = new FireworksExplosion();//init an explosion
		$explosion->fireworkColor = [4, 4, 4];//set the color to custom colors
		$explosion->fireworkFade = [5, 5, 5];//set the fade color to custom colors
		$explosion->fireworkFlicker = true;//enable the flickering
		$explosion->fireworkTrail = false;//enable the trail
		$explosion->fireworkType = 4;//set the shape/type of the firework
		$data = new FireworksData();//create the generic data
		$data->flight = 2;
		$data->explosions[] = $explosion;//add the explosion
		$firework = new Fireworks();
		$nbt = Fireworks::ToNbt($data);
		$firework->setNamedTag($nbt);
		$event->getPlayer()->getInventory()->addItem($firework);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].