skript-yaml

Addon skript-yaml v1.3.2

  • 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 comminuty!

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

Sashie updated skript-yaml with a new update entry:

Comment away

  • Removed Yaml exists condition(it was useless) in favor of Skripts built in condition(still need to test it :3)
  • Added Node has value condition
  • Added comments and header expression
  • Switched to the same YAML processor that world edit uses since it has comment and header support already

(check github for docs)

Read the rest of this update entry...
 
  • Like
Reactions: Pikachu
Sashie updated skript-yaml with a new update entry:

Bug fixes

Fixed lots of bugs in this version!
(Added Skripts serializer)
  • Existing files didn't weren't being loaded(oops) and other various things related to this.
  • Headers require # for the first character if you don't use one then ## will be used by default
  • All nodes expression now only returns nodes that contain values
  • Classes such as Location, Vector or any Skript class weren't being saved properly
  • yaml node keys weren't working properly
  • added null checks to get...

Read the rest of this update entry...
 
Sashie updated skript-yaml with a new update entry:

Root directory support

Root directories
  • Added root directory support
  • Updated Load yaml syntax to [re]load [non[(-| )]relative] [y[a]ml] %string% [as %-string%]
Usage:
Code:
#If the server is on drive D:\(on windows) for example then that would be the root path
   load non-relative yaml "RootFolder/MyAwesomePlugin/config.yml"
#Otherwise you can specify a drive
   load non-relative yaml "C:/RootFolder/MyAwesomePlugin/config.yml"

Read the rest of this update entry...
 
Can somebody create a tutorial of how to use it with a skript example?
EDIT: How can I create a config like that? I'm trying to update my SuperBans skript
afb4b8e87e99442322d76f6d7180a7bf42a9f62c
 
Last edited:
i'll talk to a few people, hopefully someone will help make something.
for now i can tell you that comments in skript-yaml only work at the root level

running this skript will output a small explaination of things hopefully this helps

Code:
on script load:
   load yaml "plugins/skript-yaml/yaml-tutorial.yml" as "tutorial"
   
   set the header of "tutorial" to "This is a header" and "it can be multiple lines"
       
   set yaml value "rootNode1.subNode1.subNode2" from "tutorial" to "to get this string value the path/node is 'rootNode1.subNode1.subNode2'"
   set the comments of yaml node "rootNode1" from "tutorial" to "this is the first comment of the first root node" and "comments can also be multiple lines" and "only root nodes can have comments so make use of this space to explain everything about each sub node"
   set the comments of yaml node "rootNode1.subNode1.subNode2" from "tutorial" to "comments dont work on sub nodes, this will cause a console warning"
   
   set yaml value "rootNode2" from "tutorial" to "yay another string value"
   set the comments of yaml node "rootNode2" from "tutorial" to "this is a comment for the second root node" and "at the moment there is no option to put a space between comments and nodes but"
   
   set yaml value "rootNode3" from "tutorial" to true
   set {_comment::*} to "you can also use list variables to set comments and headers" and "yay choices"
   set the comments of yaml node "rootNode3" from "tutorial" to {_comment::*}
           
   save yaml "tutorial"

when saved this yml file will look this.....

Code:
## This is a header
## it can be multiple lines

# this is the first comment of the first root node
# comments can also be multiple lines
# only root nodes can have comments so make use of this space to explain everything about each sub node
rootNode1:
    subNode1:
        subNode2: to get this string value the path/node is 'rootNode1.subNode1.subNode2'

# this is a comment for the second root node
# at the moment there is no option to put a space between comments and nodes but
rootNode2: yay another string value

# you can also use list variables to set comments and headers
# yay choices
rootNode3: true
 
  • Like
Reactions: KroterPvP
Sashie updated skript-yaml with a new update entry:

More features

Code:
Added even more things to make the addon more feature complete

  - Added effect `[re]load all [y[a]ml] from [(1¦non[(-| )]relative)] director(y|ies) %strings% [using [the] filename as [the] id]` (loads all .yml from a directory thx pikachu for the idea)
  - Files are now saved with additional lines between each node
    - Updated 'Save yaml' effect to...
      - `save [y[a]ml] %string% [(1¦without extra lines between nodes)]`
  - Comments and header no longer add additional lines by...

Read the rest of this update entry...
 
Hi @Sashie

I need to add a comment to a sub node:
code_language.skript:
SERVER:
# The name of your server
    Name: Server Name

Also, I noticed that the first time the file is created, all the comments, headers and automatic spaces between nodes are correctly created but after a file reload, all of them disapear from the file. Why?
 
there are no sub node comments, you have to use the comment section above the main node to describe how your sub nodes work
as for that other thing i'll have to check that out, its the first time ive heard of it
 
there are no sub node comments, you have to use the comment section above the main node to describe how your sub nodes work
as for that other thing i'll have to check that out, its the first time ive heard of it
So you won't add sub node comments?
And for the second question, here is my file code:
code_language.skript:
on load:
    set {_&} to "&"
    load yaml "plugins\SuperBans\config.yml" as "plugins\SuperBans\config.yml"
    skript-yaml "plugins\SuperBans\config.yml" is empty:

        set the header of "plugins\SuperBans\config.yml" to "To completely reset this file, you must delete it and reload SuperBans." and " A new file with the default values will be created in a couple of seconds."

        set skript-yaml value "PUNISHMENTS.Notification-Type" from "plugins\SuperBans\config.yml" to "1"
        set skript-yaml value "PUNISHMENTS.Console-Notifications" from "plugins\SuperBans\config.yml" to "true"
        set skript-yaml value "PUNISHMENTS.Show-Leave-Message" from "plugins\SuperBans\config.yml" to "false"
        set skript-yaml value "PUNISHMENTS.Max-Warns" from "plugins\SuperBans\config.yml" to "4"

        set skript-yaml value "GUI.Unban-Messages" from "plugins\SuperBans\config.yml" to "true"
        set skript-yaml value "GUI.Keep-Open" from "plugins\SuperBans\config.yml" to "true"
        set skript-yaml value "GUI.Silent" from "plugins\SuperBans\config.yml" to "false"

        set skript-yaml value "SERVER.Name" from "plugins\SuperBans\config.yml" to "Server Name"
        set skript-yaml value "SERVER.Shop" from "plugins\SuperBans\config.yml" to "https://mc.yourserver.com/shop"
        set skript-yaml value "SERVER.Web" from "plugins\SuperBans\config.yml" to "https://mc.yourserver.com/formum"

        set skript-yaml value "DISALLOWED.COMMANDS.While-Frozen" from "plugins\SuperBans\config.yml" to ""
        add "spawn" to skript-yaml list "DISALLOWED.COMMANDS.While-Frozen" from "plugins\SuperBans\config.yml"
        add "warp" to skript-yaml list "DISALLOWED.COMMANDS.While-Frozen" from "plugins\SuperBans\config.yml"
        add "home" to skript-yaml list "DISALLOWED.COMMANDS.While-Frozen" from "plugins\SuperBans\config.yml"
        add "tpa" to skript-yaml list "DISALLOWED.COMMANDS.While-Frozen" from "plugins\SuperBans\config.yml"
        set skript-yaml value "DISALLOWED.COMMANDS.While-Muted" from "plugins\SuperBans\config.yml" to ""
        add "tell" to skript-yaml list "DISALLOWED.COMMANDS.While-Muted" from "plugins\SuperBans\config.yml"
        add "msg" to skript-yaml list "DISALLOWED.COMMANDS.While-Muted" from "plugins\SuperBans\config.yml"
        add "me" to skript-yaml list "DISALLOWED.COMMANDS.While-Muted" from "plugins\SuperBans\config.yml"

        set skript-yaml value "ANTISWEAR.Enabled" from "plugins\SuperBans\config.yml" to "true"
        set skript-yaml value "ANTISWEAR.Word-Replacer" from "plugins\SuperBans\config.yml" to "*"
        set skript-yaml value "ANTISWEAR.WORDS" from "plugins\SuperBans\config.yml" to ""
        add "shit of server" to skript-yaml list "ANTISWEAR.WORDS" from "plugins\SuperBans\config.yml"
        add "fuck" to skript-yaml list "ANTISWEAR.WORDS" from "plugins\SuperBans\config.yml"
        add "dick" to skript-yaml list "ANTISWEAR.WORDS" from "plugins\SuperBans\config.yml"

        set skript-yaml value "MAIN.File-Name" from "plugins\SuperBans\config.yml" to "SuperBans"
        set skript-yaml value "MAIN.Check-For-Updates" from "plugins\SuperBans\config.yml" to "true"
       
        set the comment of yaml node "PUNISHMENTS" from "plugins\SuperBans\config.yml" to "Notification-Type: This will be the type of notification sent on new punishments. Valid values are: '1' for messages, '2' for actionbars."

    load yaml "plugins\SuperBans\customization.yml" as "plugins\SuperBans\customization.yml"
    skript-yaml "plugins\SuperBans\customization.yml" is empty:

        set the header of "plugins\SuperBans\customization.yml" to "To completely reset this file, you must delete it and reload SuperBans." and "A new file with the default values will be created in a couple of seconds." and "The actionbar and console messages will be automatically chosen depending on your configuration options."

        set skript-yaml value "MESSAGES.Prefix" from "plugins\SuperBans\customization.yml" to "%{_&}%c%{_&}%lSuperBans %{_&}%8» "
        set skript-yaml value "MESSAGES.No-Permission" from "plugins\SuperBans\customization.yml" to "%{_&}%cYou are not allowed to perform this command"
        set skript-yaml value "MESSAGES.No-Console" from "plugins\SuperBans\customization.yml" to "%{_&}%7This command is only available for players"
        set skript-yaml value "MESSAGES.Command-Removed" from "plugins\SuperBans\customization.yml" to "%{_&}%fUnknown command. Type ""/help"" for help."
        set skript-yaml value "MESSAGES.Notifications-On" from "plugins\SuperBans\customization.yml" to "%{_&}%7You will receive new punishments"
        set skript-yaml value "MESSAGES.Notifications-Off" from "plugins\SuperBans\customization.yml" to "%{_&}%7You will not receive new punishments"
        set skript-yaml value "MESSAGES.Search-Player" from "plugins\SuperBans\customization.yml" to "%{_&}%7Type player name or ""%{_&}%ccancel%{_&}%7"" to cancel the search."
        set skript-yaml value "MESSAGES.Search-Anulated" from "plugins\SuperBans\customization.yml" to "%{_&}%7You have successfully annulated the search"
        set skript-yaml value "MESSAGES.Cannot-Punish-Yourself" from "plugins\SuperBans\customization.yml" to "%{_&}%7You can't punish yourself"
        set skript-yaml value "MESSAGES.Who-To-Punish" from "plugins\SuperBans\customization.yml" to "%{_&}%7Who do you want to punish?"
        set skript-yaml value "MESSAGES.No-Online" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player is not online"
        set skript-yaml value "MESSAGES.No-Join" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player has not joined"
        set skript-yaml value "MESSAGES.No-Bans" from "plugins\SuperBans\customization.yml" to "%{_&}%7There are not banned players"
        set skript-yaml value "MESSAGES.Ban-Join" from "plugins\SuperBans\customization.yml" to "%{_&}%a{_PLAYER} %{_&}%7is banned and tried to join"

        set skript-yaml value "REASONS.No-Reason" from "plugins\SuperBans\customization.yml" to "%{_&}%7Write a reason after ""r:"""
        set skript-yaml value "REASONS.DEFAULT-REASONS" from "plugins\SuperBans\customization.yml" to ""
        set skript-yaml value "REASONS.DEFAULT-REASONS.Mute" from "plugins\SuperBans\customization.yml" to "Be careful what you say!"
        set skript-yaml value "REASONS.DEFAULT-REASONS.Tempmute" from "plugins\SuperBans\customization.yml" to "Be careful what you say!"
        set skript-yaml value "REASONS.DEFAULT-REASONS.Kick" from "plugins\SuperBans\customization.yml" to "Be careful of your behavior. Enter again, but take it right!"
        set skript-yaml value "REASONS.DEFAULT-REASONS.Ban" from "plugins\SuperBans\customization.yml" to "You have a disastrous behavior, you will not be able to enter any more!"
        set skript-yaml value "REASONS.DEFAULT-REASONS.Tempban" from "plugins\SuperBans\customization.yml" to "You have a disastrous behavior. Even so, we give you another opportunity"

        set skript-yaml value "PUNISHMENTS.FROZEN" from "plugins\SuperBans\customization.yml" to ""
        set skript-yaml value "PUNISHMENTS.FROZEN.Already" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player is already frozen"
        set skript-yaml value "PUNISHMENTS.FROZEN.Cannot" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player cannot be frozen"
        set skript-yaml value "PUNISHMENTS.FROZEN.No" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player is not frozen"
        set skript-yaml value "PUNISHMENTS.FROZEN.BLOCKED" from "plugins\SuperBans\customization.yml" to ""
        set skript-yaml value "PUNISHMENTS.FROZEN.BLOCKED.Move" from "plugins\SuperBans\customization.yml" to "%{_&}%7You cannot move while you are frozen. Do not fight against physics!"
        set skript-yaml value "PUNISHMENTS.FROZEN.BLOCKED.Command" from "plugins\SuperBans\customization.yml" to "%{_&}%7You cannot execute this command while you are frozen"
        set skript-yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN" from "plugins\SuperBans\customization.yml" to ""
        set skript-yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Frozen-Actionbar" from "plugins\SuperBans\customization.yml" to "&a&lFROZEN %{_&}%8| %{_&}%a{_SORCERER} %{_&}%8» %{_&}%e{_PLAYER}"
        set skript-yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Unfrozen-Actionbar" from "plugins\SuperBans\customization.yml" to "&a&lDEFROSTED %{_&}%8| %{_&}%a{_SORCERER} %{_&}%8» %{_&}%e{_PLAYER}"
        set skript-yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Frozen-Console" from "plugins\SuperBans\customization.yml" to "%{_&}%a{_SORCERER} %{_&}%7frozen %{_&}%e{_PLAYER}"
        set skript-yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Unfrozen-Console" from "plugins\SuperBans\customization.yml" to "%{_&}%a{_SORCERER} %{_&}%7defrosted %{_&}%e{_PLAYER}"
        set skript-yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.FROZEN-SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7I have &a&lFROZEN%{_&}%r %{_&}%7a new player!" to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.FROZEN-SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.FROZEN-SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Player %{_&}%8» %{_&}%e{_PLAYER}" to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.FROZEN-SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.FROZEN-SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.UNFROZEN-SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7I have &a&lDEFROSTED%{_&}%r %{_&}%7a new player!" to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.UNFROZEN-SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.UNFROZEN-SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Player %{_&}%8» %{_&}%e{_PLAYER}" to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.UNFROZEN-SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.UNFROZEN-SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.FROZEN-SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7You are now &a&lFROZEN%{_&}%r%{_&}%7!" to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.FROZEN-SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.FROZEN-SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.FROZEN-SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.UNFROZEN-SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7You are now &a&lDEFROSTED%{_&}%r%{_&}%7!" to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.UNFROZEN-SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.UNFROZEN-SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.UNFROZEN-SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml"

        set skript-yaml value "PUNISHMENTS.MUTE" from "plugins\SuperBans\customization.yml" to ""
        set skript-yaml value "PUNISHMENTS.MUTE.Already-1" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player is already muted"
        set skript-yaml value "PUNISHMENTS.MUTE.Already-2" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player is already tempmuted"
        set skript-yaml value "PUNISHMENTS.MUTE.Cannot-1" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player cannot be muted"
        set skript-yaml value "PUNISHMENTS.MUTE.Cannot-2" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player cannot be tempmuted"
        set skript-yaml value "PUNISHMENTS.MUTE.No" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player is not muted"
        set skript-yaml value "PUNISHMENTS.MUTE.BLOCKED" from "plugins\SuperBans\customization.yml" to ""
        set skript-yaml value "PUNISHMENTS.MUTE.BLOCKED.Talk" from "plugins\SuperBans\customization.yml" to "%{_&}%7You cannot talk while you are muted"
        set skript-yaml value "PUNISHMENTS.MUTE.BLOCKED.Command" from "plugins\SuperBans\customization.yml" to "%{_&}%7You cannot execute this command while you are muted"
        set skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE" from "plugins\SuperBans\customization.yml" to ""
        set skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-1" from "plugins\SuperBans\customization.yml" to "&a&lMUTE %{_&}%8| %{_&}%a{_SORCERER} %{_&}%8» %{_&}%e{_PLAYER} %{_&}%7(%{_&}%a{_EXPIRATION}%{_&}%7)"
        set skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-2" from "plugins\SuperBans\customization.yml" to "&a&lMUTE %{_&}%8| %{_&}%a{_SORCERER} %{_&}%8» %{_&}%e{_PLAYER} %{_&}%7(%{_&}%a{_EXPIRATION}%{_&}%7)"
        set skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-3" from "plugins\SuperBans\customization.yml" to "&a&lUNMUTE %{_&}%8| %{_&}%a{_SORCERER} %{_&}%8» %{_&}%e{_PLAYER}"
        set skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-1" from "plugins\SuperBans\customization.yml" to "%{_&}%a{_SORCERER} %{_&}%7muted %{_&}%e{_PLAYER} %{_&}%7('%{_&}%a{_REASON}%{_&}%7') %{_&}%7- (%{_&}%a{_EXPIRATION}%{_&}%7)"
        set skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-2" from "plugins\SuperBans\customization.yml" to "%{_&}%a{_SORCERER} %{_&}%7muted %{_&}%e{_PLAYER} %{_&}%7('%{_&}%a{_REASON}%{_&}%7') %{_&}%7- (%{_&}%a{_EXPIRATION}%{_&}%7)"
        set skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-3" from "plugins\SuperBans\customization.yml" to "%{_&}%a{_SORCERER} %{_&}%7unmuted %{_&}%e{_PLAYER}"
        set skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7I have &a&lMUTED%{_&}%r %{_&}%7a new player!" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Player %{_&}%8» %{_&}%e{_PLAYER}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Reason %{_&}%8» %{_&}%e{_REASON}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Expiration %{_&}%8» %{_&}%e{_EXPIRATION}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7I have &a&lMUTED%{_&}%r %{_&}%7a new player!" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Player %{_&}%8» %{_&}%e{_PLAYER}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Reason %{_&}%8» %{_&}%e{_REASON}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Expiration %{_&}%8» %{_&}%e{_EXPIRATION}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7I have &a&lUNMUTED%{_&}%r %{_&}%7a new player!" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Player %{_&}%8» %{_&}%e{_PLAYER}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7You are now &a&lMUTED%{_&}%r%{_&}%7!" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Reason %{_&}%8» %{_&}%e{_REASON}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Expiration %{_&}%8» %{_&}%e{_EXPIRATION}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7You are now &a&lMUTED%{_&}%r%{_&}%7!" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Reason %{_&}%8» %{_&}%e{_REASON}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Expiration %{_&}%8» %{_&}%e{_EXPIRATION}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7You are now &a&lUNMUTED%{_&}%r%{_&}%7!" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" from "plugins\SuperBans\customization.yml"

        set skript-yaml value "PUNISHMENTS.WARN" from "plugins\SuperBans\customization.yml" to ""
        set skript-yaml value "PUNISHMENTS.WARN.Cannot" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player cannot be warned"
        set skript-yaml value "PUNISHMENTS.WARN.NEW-WARN" from "plugins\SuperBans\customization.yml" to ""
        set skript-yaml value "PUNISHMENTS.WARN.NEW-WARN.Actionbar" from "plugins\SuperBans\customization.yml" to "&a&lWARN %{_&}%8| %{_&}%a{_SORCERER} %{_&}%8» %{_&}%e{_PLAYER} %{_&}%7(%{_&}%a{_WARNS} %{_&}%7- %{_&}%a{_MAXWARNS}%{_&}%7)"
        set skript-yaml value "PUNISHMENTS.WARN.NEW-WARN.Console" from "plugins\SuperBans\customization.yml" to "%{_&}%a{_SORCERER} %{_&}%7warned %{_&}%e{_PLAYER} %{_&}%7(%{_&}%a{_WARNS} %{_&}%7- %{_&}%a{_MAXWARNS}%{_&}%7)"
        set skript-yaml value "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7I have &a&lWARNED%{_&}%r %{_&}%7a new player!" to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Player %{_&}%8» %{_&}%e{_PLAYER}" to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Status %{_&}%8» %{_&}%e{_WARNS} %{_&}%7- %{_&}%e{_MAXWARNS}" to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7You have been &a&lWARNED%{_&}%r%{_&}%7!" to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Status %{_&}%8» %{_&}%e{_WARNS} %{_&}%7- %{_&}%e{_MAXWARNS}" to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml" to ""
        add "%{_&}%7You have received lots of warnings and because of this you have been expelled from %{_&}%b{_SERVERNAME}%{_&}%7." to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%7You were warned by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%7You have reached %{_&}%8» %{_&}%e{_WARNS} %{_&}%7of a maxium of %{_&}%e{_MAXWARNS} %{_&}%7warns." to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%eOur store %{_&}%8» %{_&}%c{_SHOP}" to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%eOur website %{_&}%8» %{_&}%c{_WEB}" to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"

        set skript-yaml value "PUNISHMENTS.KICK" from "plugins\SuperBans\customization.yml" to ""
        set skript-yaml value "PUNISHMENTS.KICK.Cannot" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player cannot be kicked"
        set skript-yaml value "PUNISHMENTS.KICK.NEW-KICK" from "plugins\SuperBans\customization.yml" to ""
        set skript-yaml value "PUNISHMENTS.KICK.NEW-KICK.Actionbar" from "plugins\SuperBans\customization.yml" to "&a&lKICK %{_&}%8| %{_&}%a{_SORCERER} %{_&}%8» %{_&}%e{_PLAYER}"
        set skript-yaml value "PUNISHMENTS.KICK.NEW-KICK.Console" from "plugins\SuperBans\customization.yml" to "%{_&}%a{_SORCERER} %{_&}%7kicked %{_&}%e{_PLAYER} %{_&}%7('%{_&}%a{_REASON}%{_&}%7')"
        set skript-yaml value "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7I have &a&lKICKED%{_&}%r %{_&}%7a new player!" to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Player %{_&}%8» %{_&}%e{_PLAYER}" to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Reason %{_&}%8» %{_&}%e{_REASON}" to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml" to ""
        add "%{_&}%7Your behavior is not right for us, so we have decided to expel you from %{_&}%b{_SERVERNAME}%{_&}%7." to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%7You were kicked by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%7Reason %{_&}%8» %{_&}%e{_REASON}" to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%eOur store %{_&}%8» %{_&}%c{_SHOP}" to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%eOur website %{_&}%8» %{_&}%c{_WEB}" to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"

        set skript-yaml value "PUNISHMENTS.BAN" from "plugins\SuperBans\customization.yml" to ""
        set skript-yaml value "PUNISHMENTS.BAN.Already-1" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player is already banned"
        set skript-yaml value "PUNISHMENTS.BAN.Already-2" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player is already tempbanned"
        set skript-yaml value "PUNISHMENTS.BAN.Cannot-1" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player cannot be banned"
        set skript-yaml value "PUNISHMENTS.BAN.Cannot-2" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player cannot be tempbanned"
        set skript-yaml value "PUNISHMENTS.BAN.No" from "plugins\SuperBans\customization.yml" to "%{_&}%7This player is not banned"
        set skript-yaml value "PUNISHMENTS.BAN.NEW-BAN" from "plugins\SuperBans\customization.yml" to ""
        set skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-1" from "plugins\SuperBans\customization.yml" to "&a&lBAN %{_&}%8| %{_&}%a{_SORCERER} %{_&}%8» %{_&}%e{_PLAYER} %{_&}%7(%{_&}%a{_EXPIRATION}%{_&}%7)"
        set skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-2" from "plugins\SuperBans\customization.yml" to "&a&lBAN %{_&}%8| %{_&}%a{_SORCERER} %{_&}%8» %{_&}%e{_PLAYER} %{_&}%7(%{_&}%a{_EXPIRATION}%{_&}%7)"
        set skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-3" from "plugins\SuperBans\customization.yml" to "&a&lUNBAN %{_&}%8| %{_&}%a{_SORCERER} %{_&}%8» %{_&}%e{_PLAYER}"
        set skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.Console-1" from "plugins\SuperBans\customization.yml" to "%{_&}%a{_SORCERER} %{_&}%7banned %{_&}%e{_PLAYER} %{_&}%7('%{_&}%a{_REASON}%{_&}%7') %{_&}%7- (%{_&}%a{_EXPIRATION}%{_&}%7)"
        set skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.Console-2" from "plugins\SuperBans\customization.yml" to "%{_&}%a{_SORCERER} %{_&}%7banned %{_&}%e{_PLAYER} %{_&}%7('%{_&}%a{_REASON}%{_&}%7') %{_&}%7- (%{_&}%a{_EXPIRATION}%{_&}%7)"
        set skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.Console-3" from "plugins\SuperBans\customization.yml" to "%{_&}%a{_SORCERER} %{_&}%7unbanned %{_&}%e{_PLAYER}"
        set skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7I have &a&lBANNED%{_&}%r %{_&}%7a new player!" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Player %{_&}%8» %{_&}%e{_PLAYER}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Reason %{_&}%8» %{_&}%e{_REASON}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Expiration %{_&}%8» %{_&}%e{_EXPIRATION}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7I have &a&lTEMPBANNED%{_&}%r %{_&}%7a new player!" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Player %{_&}%8» %{_&}%e{_PLAYER}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Reason %{_&}%8» %{_&}%e{_REASON}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Expiration %{_&}%8» %{_&}%e{_EXPIRATION}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7I have &a&lUNBANNED%{_&}%r %{_&}%7a new player!" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Player %{_&}%8» %{_&}%e{_PLAYER}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Done by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml" to ""
        add "%{_&}%7Your behavior is not right for us, so we have decided to completly expel you from %{_&}%b{_SERVERNAME}%{_&}%7." to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%7You were banned by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%7Banned on %{_&}%8» %{_&}%c{_PUNISHEDON}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%7Expiration %{_&}%8» %{_&}%c{_EXPIRATION}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%7Reason %{_&}%8» %{_&}%e{_REASON}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%eOur store %{_&}%8» %{_&}%c{_SHOP}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        add "%{_&}%eOur website %{_&}%8» %{_&}%c{_WEB}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from "plugins\SuperBans\customization.yml" to ""
        add "%{_&}%7Your behavior is not right for us, so we have decided to completly expel you from %{_&}%b{_SERVERNAME}%{_&}%7." to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from "plugins\SuperBans\customization.yml"
        add "%{_&}%7You were banned by %{_&}%8» %{_&}%e{_SORCERER}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from "plugins\SuperBans\customization.yml"
        add "%{_&}%7Banned on %{_&}%8» %{_&}%c{_PUNISHEDON}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from "plugins\SuperBans\customization.yml"
        add "%{_&}%7Expiration %{_&}%8» %{_&}%7(%{_&}%c{_DURATION}%{_&}%7) - %{_&}%c{_EXPIRATION}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from "plugins\SuperBans\customization.yml"
        add "%{_&}%7Reason %{_&}%8» %{_&}%e{_REASON}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from "plugins\SuperBans\customization.yml"
        add "%{_&}%eOur store %{_&}%8» %{_&}%c{_SHOP}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from "plugins\SuperBans\customization.yml"
        add "%{_&}%eOur website %{_&}%8» %{_&}%c{_WEB}" to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from "plugins\SuperBans\customization.yml"

        set skript-yaml value "ANTISWEAR.Actionbar" from "plugins\SuperBans\customization.yml" to "&a&lSWEAR %{_&}%8| %{_&}%e{_PLAYER} %{_&}%8» %{_&}%7(%{_&}%a{_WORD}%{_&}%7) %{_&}%7- %{_&}%a{_TIMES} %{_&}%7times"
        set skript-yaml value "ANTISWEAR.Console" from "plugins\SuperBans\customization.yml" to "%{_&}%e{_PLAYER} %{_&}%7has said a blocked word! (%{_&}%a{_WORD}%{_&}%7) %{_&}%7- %{_&}%a{_TIMES} %{_&}%7times"
        set skript-yaml value "ANTISWEAR.SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7I have detected a player &a&lSWEARING&7!" to skript-yaml list "ANTISWEAR.SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "ANTISWEAR.SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Player %{_&}%8» %{_&}%e{_PLAYER}" to skript-yaml list "ANTISWEAR.SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7Said %{_&}%8» %{_&}%7(%{_&}%a{_WORD}%{_&}%7)" to skript-yaml list "ANTISWEAR.SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7You have said %{_&}%8» %{_&}%a{_TIMES} %{_&}%7bad word(s)" to skript-yaml list "ANTISWEAR.SENT-TO-ADMINS" from "plugins\SuperBans\customization.yml"
        set skript-yaml value "ANTISWEAR.SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml" to ""
        add "{_PREFIX}%{_&}%7You are &a&lSWEARING%{_&}%7!" to skript-yaml list "ANTISWEAR.SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "ANTISWEAR.SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7You have said %{_&}%8» %{_&}%a{_TIMES} %{_&}%7bad word(s)" to skript-yaml list "ANTISWEAR.SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml"
        add " " to skript-yaml list "ANTISWEAR.SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml"
        add " %{_&}%7I have notified admins. You will be processed soon!" to skript-yaml list "ANTISWEAR.SENT-TO-PLAYER" from "plugins\SuperBans\customization.yml"

    save yaml "plugins\SuperBans\config.yml"
    save yaml "plugins\SuperBans\customization.yml"

#I CHECK THE VALUES DIRECTLY INSTEAD OF DOING THIS: suggested by @Snow-Pyon 

    set {MESSAGES::Prefix} to skript-yaml value "MESSAGES.Prefix" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::No-Permission} to skript-yaml value "MESSAGES.No-Permission" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::No-Console} to skript-yaml value "MESSAGES.No-Console" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::Command-Removed} to skript-yaml value "MESSAGES.Command-Removed" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::Notifications-On} to skript-yaml value "MESSAGES.Notifications-On" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::Notifications-Off} to skript-yaml value "MESSAGES.Notifications-Off" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::Search-Player} to skript-yaml value "MESSAGES.Search-Player" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::Search-Anulated} to skript-yaml value "MESSAGES.Search-Anulated" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::Cannot-Punish-Yourself} to skript-yaml value "MESSAGE.Cannot-Punish-Yourself" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::Who-To-Punish} to skript-yaml value "MESSAGES.Who-To-Punish" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::No-Online} to skript-yaml value "MESSAGES.No-Online" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::No-Join} to skript-yaml value "MESSAGES.No-Join" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::No-Bans} to skript-yaml value "MESSAGES.No-Bans" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::Ban-Join} to skript-yaml value "MESSAGES.Ban-Join" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::REASONS::No-Reason} to skript-yaml value "REASONS.No-Reason" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::REASONS::DEFAULT-REASONS::Mute} to skript-yaml value "REASONS.DEFAULT-REASONS.Mute" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::REASONS::DEFAULT-REASONS::TempMute} to skript-yaml value "REASONS.DEFAULT-REASONS.Tempmute" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::REASONS::DEFAULT-REASONS::Kick} to skript-yaml value "REASONS.DEFAULT-REASONS.Kick" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::REASONS::DEFAULT-REASONS::Ban} to skript-yaml value "REASONS.DEFAULT-REASONS.Ban" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::REASONS::DEFAULT-REASONS::Tempban} to skript-yaml value "REASONS.DEFAULT-REASONS.Tempban" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::FROZEN::Already} to skript-yaml value "PUNISHMENTS.FROZEN.Already" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::FROZEN::Cannot} to skript-yaml value "PUNISHMENTS.FROZEN.Cannot" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::FROZEN::No} to skript-yaml value "PUNISHMENTS.FROZEN.No" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::FROZEN::BLOCKED::Move} to skript-yaml value "PUNISHMENTS.FROZEN.BLOCKED.Move" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::FROZEN::BLOCKED::Command} to skript-yaml value "PUNISHMENTS.FROZEN.BLOCKED.Command" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Frozen-Actionbar} to skript-yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Frozen-Actionbar" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Unfrozen-Actionbar} to skript-yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Unfrozen-Actionbar" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Frozen-Console} to skript-yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Frozen-Console" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Unfrozen-Console} to skript-yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Unfrozen-Console" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::FROZEN::FROZEN-SENT-TO-ADMINS::*} to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.FROZEN-SENT-TO-ADMINS" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::FROZEN::UNFROZEN-SENT-TO-ADMINS::*} to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.UNFROZEN-SENT-TO-ADMINS" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::FROZEN::FROZEN-SENT-TO-PLAYER::*} to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.FROZEN-SENT-TO-PLAYER" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::FROZEN::UNFROZEN-SENT-TO-PLAYER::*} to skript-yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.UNFROZEN-SENT-TO-PLAYER" of "plugins\SuperBans\customization.yml"

    set {MESSAGES::PUNISHMENTS::MUTE::Already-1} to skript-yaml value "PUNISHMENTS.MUTE.Already-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::Already-2} to skript-yaml value "PUNISHMENTS.MUTE.Already-2" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::Cannot-1} to skript-yaml value "PUNISHMENTS.MUTE.Cannot-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::Cannot-2} to skript-yaml value "PUNISHMENTS.MUTE.Cannot-2" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::No} to skript-yaml value "PUNISHMENTS.MUTE.No" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::BLOCKED::Talk} to skript-yaml value "PUNISHMENTS.MUTE.BLOCKED.Talk" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::BLOCKED::Command} to skript-yaml value "PUNISHMENTS.MUTE.BLOCKED.Command" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-1} to skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-2} to skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-2" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-3} to skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-3" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-1} to skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-2} to skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-2" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-3} to skript-yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-3" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-1::*} to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-2::*} to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-3::*} to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-1::*} to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-2::*} to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-3::*} to skript-yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::WARN::Cannot} to skript-yaml value "PUNISHMENTS.WARN.Cannot" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Actionbar} to skript-yaml value "PUNISHMENTS.WARN.NEW-WARN.Actionbar" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Console} to skript-yaml value "PUNISHMENTS.WARN.NEW-WARN.Console" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-ADMINS-1::*} to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-1::*} to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-SCREEN-1::*} to skript-yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::KICK::Cannot} to skript-yaml value "PUNISHMENTS.KICK.Cannot" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Actionbar} to skript-yaml value "PUNISHMENTS.KICK.NEW-KICK.Actionbar" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Console} to skript-yaml value "PUNISHMENTS.KICK.NEW-KICK.Console" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-ADMINS-1::*} to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-PLAYER-SCREEN-1::*} to skript-yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::Already-1} to skript-yaml value "PUNISHMENTS.BAN.Already-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::Already-2} to skript-yaml value "PUNISHMENTS.BAN.Already-2" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::Cannot-1} to skript-yaml value "PUNISHMENTS.BAN.Cannot-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::Cannot-2} to skript-yaml value "PUNISHMENTS.BAN.Cannot-2" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::No} to skript-yaml value "PUNISHMENTS.BAN.No" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-1} to skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-2} to skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-2" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-3} to skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-3" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-1} to skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.Console-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-2} to skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.Console-2" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-3} to skript-yaml value "PUNISHMENTS.BAN.NEW-BAN.Console-3" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-1::*} to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-2::*} to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-3::*} to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-1::*} to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-2::*} to skript-yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::ANTISWEAR::Actionbar} to skript-yaml value "ANTISWEAR.Actionbar" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::ANTISWEAR::Console} to skript-yaml value "ANTISWEAR.Console" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::ANTISWEAR::SENT-TO-ADMINS::*} to skript-yaml list "ANTISWEAR.SENT-TO-ADMINS" of "plugins\SuperBans\customization.yml"
    set {MESSAGES::ANTISWEAR::SENT-TO-PLAYER::*} to skript-yaml list "ANTISWEAR.SENT-TO-PLAYER" of "plugins\SuperBans\customization.yml"

    set {OPTIONS::PUNISHMENTS::Notification-Type} to skript-yaml value "PUNISHMENTS.Notification-Type" of "plugins\SuperBans\config.yml"
    set {OPTIONS::PUNISHMENTS::Console-Notifications} to skript-yaml value "PUNISHMENTS.Console-Notifications" of "plugins\SuperBans\config.yml"
    set {OPTIONS::PUNISHMENTS::Show-Leave-Message} to skript-yaml value "PUNISHMENTS.Show-Leave-Message" of "plugins\SuperBans\config.yml"
    set {OPTIONS::PUNISHMENTS::Max-Warns} to skript-yaml value "PUNISHMENTS.Max-Warns" of "plugins\SuperBans\config.yml"
    set {OPTIONS::GUI::Unban-Messages} to skript-yaml value "GUI.Unban-Messages" of "plugins\SuperBans\config.yml"
    set {OPTIONS::GUI::Keep-Open} to skript-yaml value "GUI.Keep-Open" of "plugins\SuperBans\config.yml"
    set {OPTIONS::GUI::Silent} to skript-yaml value "GUI.Silent" of "plugins\SuperBans\config.yml"
    set {OPTIONS::SERVER::Name} to skript-yaml value "SERVER.Name" of "plugins\SuperBans\config.yml"
    set {OPTIONS::SERVER::Shop} to skript-yaml value "SERVER.Shop" of "plugins\SuperBans\config.yml"
    set {OPTIONS::SERVER::Web} to skript-yaml value "SERVER.Web" of "plugins\SuperBans\config.yml"
    set {OPTIONS::DISALLOWED::COMMANDS::While-Frozen::*} to skript-yaml list "DISALLOWED.COMMANDS.While-Frozen" of "plugins\SuperBans\config.yml"
    set {OPTIONS::DISALLOWED::COMMANDS::While-Muted::*} to skript-yaml list "DISALLOWED.COMMANDS.While-Muted" of "plugins\SuperBans\config.yml"
    set {OPTIONS::ANTISWEAR::Enabled} to skript-yaml value "ANTISWEAR.Enabled" of "plugins\SuperBans\config.yml"
    set {OPTIONS::ANTISWEAR::Word-Replacer} to skript-yaml value "ANTISWEAR.Word-Replacer" of "plugins\SuperBans\config.yml"
    set {OPTIONS::ANTISWEAR::WORDS::*} to skript-yaml list "ANTISWEAR.WORDS" of "plugins\SuperBans\config.yml"
    set {OPTIONS::MAIN::File-Name} to skript-yaml value "MAIN.File-Name" of "plugins\SuperBans\config.yml"
    set {OPTIONS::MAIN::Check-For-Updates} to skript-yaml value "MAIN.Check-For-Updates" of "plugins\SuperBans\config.yml"
 
Last edited:
The current yaml implementation I'm using doesn't allow for sub node comments otherwise it would already be a feature :emoji_wink:
[doublepost=1525060838,1525060520][/doublepost]@KroterPvP I tested loading a file that already has comments and a header and its contents were unchanged are you sure you didn't zig when you should have zagged?
 
The current yaml implementation I'm using doesn't allow for sub node comments otherwise it would already be a feature :emoji_wink:
[doublepost=1525060838,1525060520][/doublepost]@KroterPvP I tested loading a file that already has comments and a header and its contents were unchanged are you sure you didn't zig when you should have zagged?
Oh, thanks for considering adding comments in a future update!

And for the file getting reset every time I reload the skript, can you try using my code posted a few threads before? Only your addon is needed.
You will notice that all is correct the first time but after a skript reload, the files got refresh, the comments dissapear, also the lines between nodes but the values of each node aren't lost.
 
Sashie updated skript-yaml with a new update entry:

Bugfixes and more

Bugfixes and more
  • Updated how de/serialization works using Snakeyamls built in methods
    • This means you will see a change in how Skript serialized classes look removing the map node 'skriptclass' to a tag '!skriptclass' that Snakeyaml uses to parse data types
    • Vector and Location also have a tag and removal of the map node representing the data type
    • Bukkits ConfigurationSerializable data types are also de/serializable using the same method bukkit feeds to...

Read the rest of this update entry...
 
Sashie updated skript-yaml with a new update entry:

v1.2.3

  • Fixed issue #6 before it was reported <3
    • Moved serialization method to better location to address an issue where certain serialization didn't happen if the file was loaded and saved again(without setting the value)
  • Added more skript classes to the representer
    • Date, Time, Timespan, Color and WeatherType
      • Date is parsed the same way snakeyaml would have converted 'java.util.Date'...

Read the rest of this update entry...