SETUP
TESTED VERSIONS
- Transfer the “.sk” extension file in the package you downloaded to the “Skript/scripts” section in the plugin folder on your server.
- Transfer the folder where the “.sk” extension file in the package you downloaded stores the data into the plugin folder.
- Install the required plugins/skript addons on your server.
- Use the command “/reload” to activate the script. Or restart the server.
- /blockpaint give [color] [charge] - blockpaint.nq.admin
- /blockpaint set [color] [charge] - blockpaint.nq.admin
- /blockpaint reload [module] - blockpaint.nq.admin
TESTED VERSIONS
- 1.21, 1.21.4, 1.21.5
Code:
options:
folderPath: plugins/Skript/scripts/nqaaN's Skripts/Block Paint # Do not change this unless you are an advanced user!
permission_blockpaint_admin: blockpaint.nq.admin
# --- Config
# Duration of the painting process in seconds.
painting_time: 1.2 # Seconds
brush_name: "&fPaint Brush" # Placeholders > [dye] | [charge] | [maxCharge]
brush_lore: "&7[charge]/[maxCharge]" and "&r[dye]" # Placeholders > [dye] | [charge] | [maxCharge]
# Maximum amount of paint a brush can hold.
brush_max_charge_amount: 32 # Minimum: 1 | Maximum: 64
# List of blocks that can be safely painted.
# Supported: Wool, Carpet, Terracotta, Concrete, Concrete Powder, Glazed Terracotta, Stained Glass.
# IMPORTANT: Other paintable blocks may work but are currently considered UNSAFE.
paintable_blocks: white wool, light gray wool, gray wool, black wool, brown wool, red wool, orange wool, yellow wool, lime wool, green wool, cyan wool, light blue wool, blue wool, purple wool, magenta wool, pink wool, white carpet, light gray carpet, gray carpet, black carpet, brown carpet, red carpet, orange carpet, yellow carpet, lime carpet, green carpet, cyan carpet, light blue carpet, blue carpet, purple carpet, magenta carpet and pink carpet
# List of dye items allowed to refill/change the brush color.
# "Shift + Right Click" with the dye in hand to apply it to the brush.
allowed_dyes: white dye, light gray dye, gray dye, black dye, brown dye, red dye, orange dye, yellow dye, lime dye, green dye, cyan dye, light blue dye, blue dye, purple dye, magenta dye and pink dye
enable_tabComplete: true
# --- Sounds
sound_refill: "item.dye.use"
sound_refill_volume: 1
sound_refill_pitch: 1
sound_paint: "entity.dolphin.eat"
sound_paint_volume: 1
sound_paint_pitch: 1
sound_no_charges: "entity.armadillo.brush"
sound_no_charges_volume: 1
sound_no_charges_pitch: 0.5
# -- Lang
no_permission_msg: "&cNo permission to use!"
this_cmd_doesnt_exists_msg: "&7/blockpaint &c[command] &7- &eThis command doesn't exist!" # Placeholders > [command]
help_msg: "&8&m-----&f &6nqaaN's Block Paint Skript &8&m-----&f", "&7/blockpaint give - &eGive a paint brush.", "&7/blockpaint set - &eUpdate held brush.", "&7/blockpaint reload - &eReload the skript." and "&8&m-----&f &6nqaaN's Block Paint Skript &8&m-----&f"
give_arg2_else_msg: "&7/blockpaint give &e<color> &6[charges] [player]"
give_arg2_error_msg: "&7/blockpaint give &c[color] &7- &eThis color doesn't exist." # Placeholders > [color]
give_arg3_error_msg: "&7/blockpaint give [color] &c[charges] &7- &eThis isn't a number." # Placeholders > [color] | [charges]
give_arg4_error_msg: "&7/blockpaint give [color] [charges] &c[player]&7- &eThis player doesn't exist." # Placeholders > [color] | [charges] | [player]
set_arg2_else_msg: "&7/blockpaint set &e<color> &6[charges]"
set_arg2_error_msg: "&7/blockpaint set &c[color] &7- &eThis color doesn't exist." # Placeholders > [color]
set_arg3_error_msg: "&7/blockpaint set [color] &c[charges] &7- &eThis isn't a number." # Placeholders > [color] | [charges]
reload_arg2_error_msg: "&7/blockpaint reload &c[module] &7- &eThis module doesn't exist." # Placeholders > [module]
not_holding_brush_msg: "&cYou must be holding a &fPaint Brush &cto use this command!"
painting_msg: "" # Placeholders > [dye]
not_paintable_msg: "&cThis block cannot be painted!"
no_charges_msg: "&cYour brush is empty! Refill it by dropping a dye onto it." # Placeholders > [dye] | [maxCharge]
painted_msg: "" # Placeholders > [dye] | [charge] | [maxCharge]
brush_empty_msg: "&eYour brush is now empty! You need to refill it." # Placeholders > [dye] | [maxCharge]
color_text_white: "<#F9FFFE>White&r"
color_text_light_gray: "<#9D9D97>Light Gray&r"
color_text_gray: "<#474F52>Gray&r"
color_text_black: "<#1D1D21>Black&r"
color_text_brown: "<#835432>Brown&r"
color_text_red: "<#B02E26>Red&r"
color_text_orange: "<#F9801D>Orange&r"
color_text_yellow: "<#FED83D>Yellow&r"
color_text_lime: "<#80C71F>Lime&r"
color_text_green: "<#5E7C61>Green&r"
color_text_cyan: "<#169C9C>Cyan&r"
color_text_light_blue: "<#3AB3DA>Light Blue&r"
color_text_blue: "<#3C44AA>Blue&r"
color_text_purple: "<#8932B8>Purple&r"
color_text_magenta: "<#C74EBD>Magenta&r"
color_text_pink: "<#F38BAA>Pink&r"
