Version : 1.19 & 1.19.x Adding new placeholder with PlaceHolderAPI ! Improvement of the plugin and fixing of small bugs.
✅
New PlaceHolder : %supmod_count_kill% <> Show how many kills do the player
%supmod_count_death% <> Show how many death have the player
%supmod_time_played% <> Show how many times the player has played
%supmod_count_report% <> Show how many reports do the player
%supmod_count_active_report% <> Show how many active report the player have
%supmod_count_bad_words% <> Show how many bad words send the player
%supmod_last_connexion% <> Show when was his last connexion
%supmod_first_connexion% <> Show when was his first connexion
✅
New Auto-Rule file : You can now send a message a few seconds after the player logs in, to remind them of the rules to follow! (Configurable in the config.yml file)
✅
Changing the config.yml : The config.yml file has been modified to accommodate future developments, and a versioning system has been added to the file. In case of a major update, a second file will be created, renaming your config file to "ex_" to preserve its configuration while allowing the plugin to have the new parameters.
✅
New console message : You will receive an alert in the console if there is a missing data either in the language file or in the config. If a data is not present by default, it will be found in the base plugin config files.
✅
WebHook : You can now change the color of the webhook message :
Problem with /supmod menu fixed : - An error occurred when you used the /supmod menu command without specifying a parameter after it.
Solved problem✅
Code (YAML):
# # SupMod # # Plugin SupMod réalisé par Alstarte
# Please do not modify this parameter / Merci de ne pas modifier ce paramètre version_config: 1.2.1
# Choose you local language # default en_US (You can find the different available languages in the "lang" folder or create your own while respecting the format) language: en_US
# Chat control # Banned words and logging moderation_chat:
active: false
words: - shit
-
"fuck off"
# GUI management # The number of heads per page must be between 1 and 28. gui:
number_of_head_per_page: 28
# Report control # report:
prevent_when_reported: false
# Reason for reports # List of items: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html # Limit of 28 report types report_reason:
r1:
title: "Cheat" item: DIAMOND_SWORD
lore: -
"To report a player who cheat" -
"" -
"Do your good things !" r2:
title: "Dupli" item: CHEST
lore: -
"Pour report un joueur qui dupli" -
"" -
"Faites votre bonne action !"
# Log Drop Player # log_drop:
active: false
player_to_check: - 6f3cbc99-f314-4496-b8ba-72859da3328d
- ac0a217f-219a-4ba0-8ea7-b51419c1965a
# Discord WebHook # Get Event / Logs of player in discord # Please note that if your server has a large number of members, the Discord webhook is limited to a certain number of requests, so it may not always work. webhook:
active: false
link: "" options:
player_send_message_on_chat: false
player_join_server: false
player_leave_server: false
player_kill_player: false
color:
player_send_message_on_chat: "RANDOM" player_join_server: "#00FF00" player_leave_server: "#000099" player_kill_player: "#FF0000"
# Automated Rules # Send a message when a player join the game, with the rule of the server # Timer, is the time waited before sending the rule after logging in (in secondes) auto_rule:
active: true
timer: 5