question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create a fly plugin

See original GitHub issue

Hi there !

I am considering writing some fly plugin for steal, flow checking, flow striping and zeit/serve (and more soon). I have assess a lot of fly-plugins, and found a lot of way to define plugin.

So right now, I am hesitating about the right way to do that.

//extract from generator-fly

module.exports = function () {
  return this.filter('fly-plugin', (data, options) => {
    // plugin internal
  });
};
//extract from fly-concat also in doc

module.exports = function () {
  this.plugin('fly-plugin', {every: false}, function * (data, options) {
    // plugin internal
  });
};
//extract from fly-xo also in doc

module.exports = {
  name: 'fly-plugin',
  every: false,
  files: false,
  * func(data, options) {
    // plugin internal
  }
};

So, which one do I need to choose ?

Cheers,

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
hzlmncommented, Feb 21, 2017

@lukeed I can send PR for generator if you are busy.

0reactions
lukeedcommented, Feb 21, 2017

Thanks @hzlmn 😄 I’m actually doing it right now. @Swizz inspired me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spigot Plugin Development - 11 - Fly Plugin - YouTube
This video shows you how to make a fly plugin that allows the user to do /fly to themselves and others. It lets...
Read more >
How to Make a Minecraft Plugin - Fly Command (Ep.1)
Minecraft Hosting - http://pixelhost.orgToday we begin the brand new Custom Essentials series! We are starting the series with a ...
Read more >
Resource - [Tutorial] Making a /Fly plugin | SpigotMC
in this tutorial we will make a simple plugin when type /fly it enable flying if it disabled if it enabled it will...
Read more >
Fly Mode Plugin - Bukkit
To use the plugin, you have to put it into the "plugins" folder, and then, you have to introduce "fly.use" into the "permissions.yml"...
Read more >
Commands - Permissions - Config - Credits - GitHub
This is a fly plugin for minecraft 1.12 < 1.15.2. It allows to fly in survival gamemode. All messages are fully configurable, you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found