Home›Java›Mods›AfaEssentials
I am currently under-taking a plugin development and course and as I learnt new thing thought it would be fun to work on a side project. Here it is with some very simple commands. It even has a config.

Features:

- heal yourself
- feed yourself
- change your gamemode
- Toggle your fly mode

It's also quite customizable.
Config.yml:
Code (YAML):
# Customize all commands below.
commands
:
  heal
:
    # Should this command be enabled?
    enabled
: true
    # If the command is disabled, what message should we send to players who try to run it? Leave as "" for nothing.
    disabled-message
: "&c/heal is currently disabled."
    # What permission should players require in order to use this command?
    permission
: "afaessentials.heal"
    # What message should be sent to players who don't have permission to use this command?
    permission-message
: "&cYou don't have permission to do that!"
  feed
:
    # Should this command be enabled?
    enabled
: true
    # If the command is disabled, what message should we send to players who try to run it? Leave as "" for nothing.
    disabled-message
: "&c/feed is currently disabled."
    # What permission should players require in order to use this command?
    permission
: "afaessentials.feed"
    # What message should be sent to players who don't have permission to use this command?
    permission-message
: "&cYou don't have permission to do that!"
  gamemode
:
    # Should this command be enabled?
    enabled
: true
    # If the command is disabled, what message should we send to players who try to run it? Leave as "" for nothing.
    disabled-message
: "&c/gamemode is currently disabled."
    # What permission should players require in order to use this command?
    permission
: "afaessentials.gamemode"
    # What message should be sent to players who don't have permission to use this command?
    permission-message
: "&cYou don't have permission to do that!"
  fly
:
    # Should this command be enabled?
    enabled
: true
    # If the command is disabled, what message should we send to players who try to run it? Leave as "" for nothing.
    disabled-message
: "&c/fly is currently disabled."
    # What permission should players require in order to use this command?
    permission
: "afaessentials.fly"
    # What message should be sent to players who don't have permission to use this command?
    permission-message
: "&cYou don't have permission to do that!"
  god
:
    # Should this command be enabled?
    enabled
: true
    # If the command is disabled, what message should we send to players who try to run it? Leave as "" for nothing.
    disabled-message
: "&c/god is currently disabled."
    # What permission should players require in order to use this command?
    permission
: "afaessentials.god"
    # What message should be sent to players who don't have permission to use this command?
    permission-message
: "&cYou don't have permission to do that!"

# Customize all events below
events
:
  onJoin
:
    # Should this feature be enabled?
    enabled
: false # THIS IS CURRENTLY BUGGED - DO NOT ENABLE
    # Set the join message below.
    JoinMessage
: ""

# End of configuration
# Made by Afa

I will add more features as I progress through the course such as being able to do the above to other players. Please support me by downloading this plugin.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

AfaEssentials is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.17, 1.18, 1.19 and newer. Downloaded 485 times (via Spigot). Download it and open it directly in the game.

Explore more