I haven't tested it, but this Skript should work with version 1.18 or higher.
PREFIX
This is probably the best prefix Skript
Command:
/prefix create [<prefix name>] [<prefix display name>] - Create the prefix [<prefix name>] with the display name [<prefix display name>]
/prefix delete [<prefix name>] - Remove the prefix [<prefix name>]
/prefix add [<prefix name>] [<player>] - Add the prefix [<prefix name>] to [<player>]
/prefix remove [<prefix name>] [<player>] - Remove the prefix [<prefix name>] from [<player>]
/prefix edit [<prefix name>] [<prefix display name>] - Change the display name of prefix [<prefix name>] to [<prefix display name>]
Dependenecies:
Skript:
https://www.spigotmc.org/resources/skript.114544/
Skellett:
https://www.spigotmc.org/resources/skript-java-addon-skellett.34361/
SkBee:
https://www.spigotmc.org/resources/skbee-skript-addon.75839/
If you find any bugs, please let us know immediately. We will fix them as quickly as possible!