HomeJavaMods[1.16.5 - 1.21.11] PetarLib
[1.16.5 - 1.21.11] PetarLib
PetarLib
A simple utility library plugin.



⚠️ Early Development Notice

PetarLib is currently in early development.
While fully functional, you may encounter bugs and keep in mind the API may change!

Please do NOT leave negative reviews for bugs.
Instead:
• Open an issue on GitHub
• Or join the Discord Server

Your feedback helps improve the plugin ❤️



Features



Requirements



Download & Install
  1. Download the plugin JAR
  2. Place the correct JAR file into your plugins/ folder
  3. Restart your server



Commands



Permissions



Config (config.yml)
Spoiler: config.yml
Code (YAML):

##########################################################################################################
#
#
#                                 ____      _             _     _ _
#                                |  _ \ ___| |_ __ _ _ __| |   (_) |__
#                                | |_) / _ \ __/ _` | '__| |   | | '_ \
#                                |  __/  __/ || (_| | |  | |___| | |_) |
#                                |_|   \___|\__\__,_|_|  |_____|_|_.__/
#
#
# Website: https://petarmc.com
# GitHub: https://github.com/PetarMc1/PetarLib-Bukkit
# License: MIT
# Made with ❤️ by Petar_mc
##########################################################################################################
config_version
: 1

debug
: false # Whether to enable debug mode for the plugin, which may provide additional logging and information for troubleshooting.

# If you added this plugin as a dependency of another plugin, you dont have to chnage these settings.
# However, if you are using things like the /petarlib send command you might need to check these settings.
defaultMaxRetries
: 3 # Default maximum number of retries for failed operations for the HTTP client.
use-minimessage
: true # Whether to use MiniMessage format for messages sent using the /petarlib send <player> <message> and for messages in messages.yml.
# Warrning: Enabling this will disable legacy color codes (e.g., &c) in favor of MiniMessage tags (e.g., <red>).

 


Messages (messages.yml)
Spoiler: messages.yml
Code (YAML):

# All messages use the MiniMessage format. Currently no legacy color codes are supported.
# There are some placeholders available for messages:
# {version} - The current version of PetarLib.
# {author} - The author of PetarLib (Petar_mc).

usage-send
: "<yellow>Usage: /petarlib send <type> <player> <message>"
info-version
: "<green>PetarLib version v{version}"
reload
: "<green>PetarLib configuration reloaded."
debug-enabled
: "<green>Debug mode set to <green>true"
debug-disabled
: "<green>Debug mode set to <red>false"
no-permission
: "<red>You don't have permission to use this command."
player-not-found
: "<red>Player not found."
invalid-type
: "<red>Invalid type. Use 'actionbar' or 'chat'."
unknown-subcommand
: "<red>Unknown subcommand. Use /petarlib help"
 


Placeholders (PlaceholderAPI)

For Developers
To use PetarLib as a dependency and check usage, go to the docs



Issues
https://github.com/PetarMc1/PetarLib-Bukkit/issues



Made with ❤️ by Petar_mc
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.

[1.16.5 - 1.21.11] PetarLib is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.17, 1.18, 1.19 and newer. Downloaded 39 times (via Spigot). Download it and open it directly in the game.

Explore more