Custom Potion icon

Custom Potion -----

Simple way to create custom potion



This is my small plugin i created to use in my server
[​IMG]
Plugin allow you to create potion with custom name, colors, effects and durations.
Support HEX colors
Support Potion Type
Easy to use
Code (YAML):
messages:
  reload-success
: "&aConfig reloaded successfully."
  given-potion
: "&7Given %amount% of %potion_name%&7 to %player%."
  no-permission
: "&cYou do not have permission to use this command."
  player-not-found
: "&cPlayer not found."
  invalid-amount
: "&cInvalid amount specified."
  potion-not-found
: "&cInvalid potion."
  create-success
: "&aSuccessfully created potion %potion_name%!"
  invalid-duration
: "&cInvalid duration. Please enter a valid number."
  invalid-potion-effect
: "&cInvalid potion effect. Please enter a valid effect."
  invalid-effect-level
: "&cInvalid effect level. Please enter a valid number."
  potion-already-exists
: "&cPotion with this name already exists!"
  remove-success
: "&aSuccessfully removed potion %potion_name%!"
potions
:
  example_speed
:
    # bottle: drink potion
    # splash: splash potion
    # lingering: lingering potion
    type
: bottle
    color
: ' #00ffea'
    name
: '&9Sonic Potion'
    potions
:
     - speed:10
    duration
: 60 # in seconds
  example_super_jump
:
    type
: lingering
    color
: ' #00FF00'
    name
: '&aHigh Jump'
    potions
:
     - jump:10
    duration
: 60 # in seconds
  example_bad_omen
:
    type
: splash
    color
: ' #FF4500'
    name
: '&6Bad Omen'
    potions
:
     - bad_omen:10
    duration
: 60 # in seconds


[​IMG]
  1. Download and put .jar file into Plugins folder
  2. Restart server
  3. You're done
[​IMG]
Code (Text):

/cp reload
/cp give <potion_name> <player> <amount>
/cp create <type> <color> <potion_name> <duration> <effects:level>,<effect:level>,...
/cp remove <potion_name>
 
[​IMG]
Code (Text):
cpotion.admin
Resource Information
Author:
----------
Total Downloads: 70
First Release: Aug 3, 2024
Last Update: Aug 3, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings