Punishment Integration & Discord Embed Formats
Список изменений
This update is focused primarily on the Moderation side of LessTalk. We also have added the version into the file name itself to keep easier track for our users!
What was added
We have added the ability to Ban, Kick, or Temp-Ban players for reaching a certain amount of warns This can also be enabled, or disabled within the Main Configuration file.
Config Changes
Some new inputs were put into the config.yml file, here they are. These inputs give you the ability to change the punishment type, aswell the amount of warns a player can have before the plugin takes action!
Config.yml
# If you have this disabled, players can rack up as many warns as they want!
warn_punish: true
# How many warns can a player have before the plugin takes action
warn_amount: 10
# If you have your punishment set as "TEMPBAN" you can decide how long this is in effect.
# D = Days
# M = Months
ban_duration: "7d"
punishment: "BAN"
punishment_reason: "You have been banned for being naughty!"
DiscordConfig.yml
We have added the ability to use multiple lines into your Discord embeds for your Logs! This gives you a chance to customize your logs a little further! As time goes on, there will be more and more customization available!
# Muted Player Customization
muted_player_title: "Player Muted"
muted_description:
- "%player% was Muted"
- "Muted by; %staff%"
- "Reason for Mute; %reason%"
muted_player_color: "#f7351b"
Whats planned
We are planning to allow you to customize the ban screen, but for now its just hard coded into the plugin. We are also planning for users to create their own placeholders within the configuration. That should be coming in v1.2, we currently do not have a timestamp on when it will be done but its in the works.