FlyCommand is a Spigot plugin that lets permitted players toggle flight mode on and off with a single command. It adds one command, /fly, and nothing else — there is no configuration file and no persistent data.
- Download the latest
FlyCommand.jarfrom the releases page. - Place the jar in the
pluginsfolder of your server. - Restart your server.
The plugin targets Spigot / Paper with api-version 1.13.
Type /fly to toggle your flight on or off. The plugin confirms the new state in chat.
- User Guide – Installation, usage and permissions
- Commands Reference – Every command the plugin handles
- Configuration Guide – Configuration options
- Changelog – Notable changes by release
You can find the Dans Plugins Community Discord server here.
Please open a bug report here.
There is no test suite in this repository. No test framework is present, and no build system exists to host one.
The Build workflow checks the repository out and does nothing further, so a green check on a pull request confirms only that the repository could be cloned. It compiles nothing and runs nothing.
Every change is therefore verified by hand on a Spigot or Paper server, as described under Development. Adding a build system and an automated test suite is tracked in issue #9.
The plugin is a single class. The source tree is flat — the package path sits directly at the repository root rather than under src/main/java.
me/Daniel/FlyCommand/Main.java– the whole pluginplugin.yml– the plugin manifest, whosemainvalue must stay equal to the package and class name of that file
No build tool is configured, so the jar is produced by hand against a Spigot API jar:
javac -cp spigot-api.jar -d out me/Daniel/FlyCommand/Main.java
cp plugin.yml out/
jar cvf FlyCommand.jar -C out .plugin.yml must end up at the root of the jar, which is what the cp step above arranges.
Compile at a release level your server's Java runtime can load — for example --release 8 for a Minecraft 1.13 era Spigot server. A jar compiled by a newer JDK at its default release level will fail to load on an older runtime.
- Build
FlyCommand.jaras above. - Copy it into a Spigot or Paper server's
pluginsfolder and start the server. - Confirm the plugin loads and
/flyis registered. - Join as an operator and run
/flytwice, confirming that flight is enabled and then disabled and that the chat confirmation matches the new state each time. - Join with an account that is neither an operator nor a holder of
FlyCommand.flyand run/fly, confirming the permission alert. - Run
/flyfrom the server console, confirming that the console alert is shown and that no error is logged.
| Name | Main Contributions |
|---|---|
| Daniel Stephenson | Creator and primary developer |
This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
You are free to use, modify, and distribute this software, provided that:
- Source code is made available under the same license when distributed.
- Changes are documented and attributed.
- No additional restrictions are applied.
See the LICENSE file for the full text of the GPL-3.0 license.
The plugin is at version 1.0, as recorded in CHANGELOG.md and in plugin.yml. Open work is tracked on the issues page.