Sueta
BA

Ban Informator

0.2.1

Informs players about a banned/muted/tempbanned/tempmuted player.

·Plugin

Informs players about a banned/muted/tempbanned/tempmuted player.

Commands (Version 0.1)

/BanInformator.help - Show help
/BanInformator.reload - Reload Config.yml
/BanInformator.settype <Type> - Set the player punishment type to the message
/BanInformator.setplayer <Player> - Set the punished player to the message
/BanInformator.settime <Time> - Set the player's punishment time to message
/BanInformator.setreason <Reason(Max 10 words)> - Set the reason why the player was punished in the message
/BanInformator.send - Send message

Commands (Version 0.2+)

/BanInformator Help - Show help
/BanInformator Reload - Reload Config.yml
/BanInformator SetType <Type> - Set the player punishment type to the message
/BanInformator SetPlayer <Player> - Set the punished player to the message
/BanInformator setTime <Time> - Set the player's punishment time to message
/BanInformator SetReason <Reason(Max 10 words)> - Set the reason why the player was punished in the message
/BanInformator Send - Send message

✅To Do❌

✅- One command with parameters
❌- information about the new version
✅❌- increasing the number of words in the /BanInformator.setreason \ /BanInformator SetReason command
- and maybe more
❌- To Do ✅- DONE

Permissions (Version 0.1)

BanInformator.command.help - use /BanInformator.help
BanInformator.command.reload - use /BanInformator.reload
BanInformator.command.settype - use /BanInformator.settype
BanInformator.command.settime - use /BanInformator.settime
BanInformator.command.setplayer - use /BanInformator.setplayer
BanInformator.command.setreason - use /BanInformator.setreason
BanInformator.command.send - use /BanInformator.send
BanInformator.Recive - Recive message

Permissions (Version 0.2+)

BanInformator.command.help - use /BanInformator.help
BanInformator.command.reload - use /BanInformator Reload
BanInformator.command.settype - use /BanInformator SetType
BanInformator.command.settime - use /BanInformator SetTime
BanInformator.command.setplayer - use /BanInformator SetPlayer
BanInformator.command.setreason - use /BanInformator SetReason
BanInformator.command.send - use /BanInformator Send
BanInformator.Recive - Recive message

config.yml
##############################################################################################################
#                                                                                                            #
#  #####      #      ##    #     #  ##    #  #####   ####   ###   ##   ##      #     #######  ####   ###     #
#  #    #    # #     # #   #     #  # #   #  #      #    #  #  #  # # # #     # #       #    #    #  #  #    #
#  #####    #####    #  #  #     #  #  #  #  #####  #    #  ###   #  #  #    #####      #    #    #  ###     #
#  #    #  #     #   #   # #     #  #   # #  #      #    #  # #   #     #   #     #     #    #    #  # #     #
#  #####  #       #  #    ##     #  #    ##  #       ####   #  #  #     #  #       #    #     ####   #  #    #
#                                                                                                            #
##############################################################################################################
#By MALYMATI2007

MESSEGES:
  Reload: "&1&lReloaded!!"
  NoPerms: "&4&lYou not have permissions"
  Help:
    Help: "&4&lHelp:"
    cmd-help: "&a&lShow this list"
    cmd-reload: "&a&lReload the Plugin"
    cmd-set-type: "&2&l<type> &a&l Set the player punishment type to the message"
    cmd-set-player: "&2&l<player> &a&l Set the punished player to the message"
    cmd-set-time: "&2&l<time> &a&l Set the player's punishment time to message"
    cmd-set-reason: "&2&l<reason, max 10 words> &a&l Set the reason why the player was punished in the message"
    cmd-set-send: "&a&l Send message"
  set:
    notify-set-type-before: "&a&lType is set to &2&l"
    notify-set-type-after: "&a&lto send the message"
    notify-set-player-before: "&a&lPlayer is set to &2&l"
    notify-set-player-after: "&a&lto send the message"
    notify-set-time-before: "&a&lTime is set to &2&l"
    notify-set-time-after: "&a&lto send the message"
    notify-set-reason-before: "&a&lReason is set to &2&l"
    notify-set-reason-after: "&a&lto send the message"
    notify-set-reason-too-meny: "&4&lToo meny words (maximum 10)"

BAN_INFO_MESSAGE:
  line_1: "&d&l#PLAYER IS PUNISHED#"
  type: "&6&lType:"
  type_color_prefix: "&c&l"
  who: "&6&lPlayer:"
  who_color_prefix: "&c&l"
  time: "&6&lTime:"
  time_color_prefix: "&c&l"
  reason: "&6&lReason:"
  reason_color_prefix: "&c&l"
  line_6: "&d&l####################"

# No edit this!
# DataBase contains informations about ban info message to send
DataBase:
  Type: "Ban"
  Who: "Null"
  Time: "0d"
  Reason: "like thit plugin"

Similar projects

Plugin →