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:
# 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.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta