A Minecraft plugin developed for learning purposes. This plugin is not intended to be used on production servers. Only for learning purposes and for fun.
NOTE: This code has inefficient ways of developing a proper plugin in a real case scenery. Also it's in spanglish (some things in english and others in spanish. Why? because sometimes I forgot in what language I was currently using 🫥. You can check how this plugin was developed by looking at the commits.
- Description: Gives the player the ability to fly for 10 seconds.
- Usage:
/fairyfly
- Permissions: myfirstplugin.fairyfly
- Description: Kills the player. Pretty self-explanatory.
- Usage:
/die
- Permissions: None added.
- Description: Unclear command. You might want to specify its purpose.
- Usage:
/fart [arg]
- Permissions: None added.
- Description: Makes the player invincible.
- Usage:
/god
- Permissions: None added.
- Description: Sets the spawn point at the current location in the current world.
- Usage:
/setspawn
- Permissions: None added.
- Description: Teleports the player to the spawn point.
- Usage:
/spawn
- Permissions: None added.
- Description: Used for testing command arguments.
- Usage:
/cmdargs [args]
- Permissions: None added.
- Description: Feeds the player if needed.
- Usage:
/feed
- Permissions: None added.
- Description: Tests for see if inherited permissions work.
- Usage:
/testperm [permission]
- Permissions: myfirstplugin.test
- Description: set command (and trying more than 1 arg) for everything.
- Usage: /
- Permission: myfirstplugin.set
- Description: Listens for player deaths.
- Description: Listens for join event and check if the player has been on the server before.
- Description: Listens for player respawn events and checks if the player has been on the server.
- Description: Listens for the event when an XP bottle is thrown and explodes.
- Download the latest release from the releases page.
- Place the JAR file into your server's
plugins
folder. - Restart or reload your server.
myplugin.fairyfly
: Permission to use the/fairyfly
command.myplugin.god
: Permission to use the/god
command.myplugin.setspawn
: Permission to use the/setspawn
command.myplugin.spawn
: Permission to use the/spawn
command.myplugin.cmdargs
: Permission to use the/cmdargs
command.myplugin.feed
: Permission to use the/feed
command.myplugin.testperm
: Permission to use the/testperm
command.
You can customize the plugin's behavior by editing the config.yml
file.
This project is licensed under the MIT License - see the LICENSE.md file for details.