Resource icon

Script Simple Modular Chat Skript w/ Custom Prefixes 1.0.0

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

Contributors
ValidatedEnd
Supported Skript Version
  1. 2.12
Supported Minecraft Versions
  1. 1.21
This Chat & Prefix System is a modular Skript that gives your server a fully GUI-driven custom prefix system, chat formatting, spam protection, and basic moderation tools all in one file.

Required Addons: SkBee, LuckPerms: Staff ranks are detected via LuckPerms groups

Prefix System:
Create unlimited custom prefixes with configurable text and bracket colors. Grant them to individual players, and let each player choose which prefix to equip through an intuitive chest GUI with automatic pagination for large collections.


Donor Perks: Players with donor status get access to exclusive cosmetic toggles right inside the prefix menu: bold brackets, bold prefix text, bold name, and a name color cycler with 8 color options.


Chat Formatting: Handles all chat output with automatic rank detection through LuckPerms. Staff ranks (Owner, Admin, Staff, Helper) display with their own hardcoded colors and take priority over custom prefixes. Ranks and colors are easy to customize in the code.

group.owner, group.admin, group.staff, group.helper

Admin commands require group.admin by default and can be changed under the perms options

NOTE: If you want custom prefixes for these group create their permission nodes under a new group name

EX: permission.owner


Spam Protection & Moderation:
Built-in 3-second chat cooldown for non-staff, per-player /mute with optional reason, and a global /muteall toggle for locking down chat instantly.


Smart Cleanup: When a prefix is deleted globally, it's automatically removed from all online players. Offline players get cleaned up on their next login, so you never end up with broken or orphaned prefix data.

Code:
options:
    P: &7[&eServer&7]
    perms: group.admin

Commands:

/prefix - Opens prefix menu

/createprefix <prefixColor> <bracketColor> <name> - Creates prefix

/prefixcolor <prefixColor> <bracketColor> <name> - Changes already made prefix colors

/deleteprefix <name> - Deletes prefix

/grantprefix <player> <name> - Grants a player the selected prefix name

/revokeprefix <player> <text> - Revokes prefix from player

/listprefixes - List all created prefixes

/setdonor <player> - Sets donor status for selected player

/mute <offlineplayer> <reason> - Mutes selected player

/muteall - Mutes all non-op chats

Pastebin: https://pastebin.com/62tkTnci

1776622813201.png
1776622826022.png
1776622839459.png
1776622852830.png
1776622880628.png
1776622893234.png
1776622908012.png

1776622925550.png
Author
Mireacul
Downloads
106
Views
330
First release
Last update
Rating
0.00 star(s) 0 ratings