Skip to content

Configuration

Nathan Thor edited this page Jan 14, 2018 · 5 revisions

Config.yml

# Leave this if you want the plugin to notify you of updates
check-for-updates: true  
# If you would like to allow the plugin to collect anonymous data
allow-metrics: true
# If you want to broadcast infractions to all players
broadcast: false
# If you want infractions to decay(can be configured per type)
enable-decay: true

Infractions.yml

  • Only showing one type as they are all the same
  • Anything with a # before it is a comment and can be removed

Variables

%player% - Gets replaced with the name of the player receiving infraction

%sender% - Gets replaced with the name of whoever created the infraction

%num% - Gets replaced with the number of infractions the player has of that type(uses decay)

%type% - Gets replaced with the name of the infraction type

Config

# Name of infraction type 
grief:
  # How long before infraction decays(in days)
  decay: 30
  punishments:
    # number of infractions the player has for the punishment
    # followed by a command run by console as the punishment
    '1': kick %player% You have received an infraction from %sender% for %type%, youve
      had %num% infractions
    '2': kick %player% You have received an infraction from %sender% for %type%, youve
      had %num% infractions
    '4': kick %player% You have received an infraction from %sender% for %type%, youve
      had %num% infractions

Downloads

  • You may download the latest version here.

Contact

You may contact the author for any reason on SpigotMC or on GitHub.

Wiki Index

Clone this wiki locally