Punish - Default Config & Messages File

Mar 23, 2016
Punish - Default Config & Messages File
  • Default config.yml

    Code (Text):

    #########################################################
    #+=====================================================+#
    #|+===================================================+|#
    #||                                                   ||#
    #||                     Punish                        ||#
    #||         The all-in-one punishment plugin          ||#
    #||           designed for Spigot servers             ||#
    #||                                                   ||#
    #||                 Developed By:                     ||#
    #||                GrimReaper52498                    ||#
    #||                                                   ||#
    #|+===================================================+|#
    #+=====================================================+#
    #########################################################

    #==================================================
    #
    #              EXPERIMENTAL STUFF
    #
    #==================================================

    # This features allows the plugin to connect to my MySQL database
    # and get every player that has been banned with Punish, thus allowing
    # the plugin to warn admins about a player being banned on other servers
    #
    # If the above isn't clear, heres an example:
    #
    # Player A joins a server and gets himself/herself banned
    # Punish will send that players uuid to my MySQL database.
    #
    # Now when Player A joins a new server that is using Punish
    # Admins will be notified by default it will be this:
    # 'Player A is currently banned on X servers.'
    # Where x is the amount of servers the player is banned on!
    #
    # Absolutely nothing else is used and stored except for Player names!

    BanCheck: true

    #==================================================
    #                                                                                                                                  
    #                 TECHNICAL STUFF                                        
    #                                                                                                                                    
    #==================================================

    #Should we check for new updates?
    UpdateCheck: true

    # Should the plugin log to the console more often?
    # This includes things such as menus being cached,
    # commands and permissions being registered upon enable
    # and other things that help me debug things
    VerboseLogging: false

    #==================================================
    #                                                                                                                                  
    #                 PLUGIN OPTIONS                                              
    #                                                                                                                                    
    #==================================================


    #------------------------------------------------------#
    #                    MUTE OPTIONS                      #
    #------------------------------------------------------#

    # Define commands to be blocked while muted, use * for all commands
    Mute:
       BlockedCommands:
           - 'msg'

    #------------------------------------------------------#
    #                   WARNING OPTIONS                    #
    #------------------------------------------------------#

    #Maximum amount of warnings before 'Actions' are taken
    MaxWarns: 6

    #A list of commands to run when the maximum amount of warnings have been met
    Actions:
       - 'kick %target%'
       - 'broadcast %target% has reached the maximum number of warnings and has been kicked.'

    #Should warns run out over a certain amount of time?
    WarnReset: true

    #Amount of warns to take away can be a number or ALL to reset completely
    AmountToReset: 'ALL'

    #How long before the warns should reset? (in minutes)
    TimeUntilReset: 30

    #Should the plugin only reset warnings when the player has been ONLINE for the above time?
    OnlineToReset: true

    #------------------------------------------------------#
    #                 JAILING OPTIONS                      #
    #------------------------------------------------------#

    Jailing:
        # What commands should be blocked while being jailed? Use * for all commands
        BlockedCommands:
           - 'msg'
           - 'spawn'
        # Should the player be allowed to talk while muted?
        Muted: false

    #==================================================
    #                                                                                                                                  
    #                     OTHER STUFF                                        
    #                                                                                                                                    
    #==================================================

    # Should we notify the server upon a developer joining?
    DeveloperBroadcast: false

    #------------------------------------------------------#
    #                SUPPORT/SUGGESTIONS                   #
    #------------------------------------------------------#

    # Thank you for purchasing Punish.
    #
    # If you require any help whatsoever be it big or small
    # feel free to contact me on Spigot with your issue and I
    # will reply as soon as I possibly can!
    #
    # Or visit https://www.spigotmc.org/wiki/punish/ for help
    # regarding features of the plugin
    #
    # The same goes for suggestions I'm always looking for new
    # ideas and features to add to Punish.
     
    Default messages.yml

    Code (Text):
    #==================================================
    #
    #            GENERAL MESSAGES
    #
    #==================================================

    PREFIX: '&8&l[&c&lPunish&8&l] &r'

    BAN_CHECK: '&c&l%playerName% &7&lis currently banned on &c&l%amount% &7&lother servers!'

    JAIL_MUTED: '&c&lYou can''t talk while in jail!'

    JAIL_BLOCKED_CMD: '&c&lYou cant use this command in jail!'

    NO_LONGER_MUTED: '&a&lYou''re no longer muted!'
    NO_LONGER_JAILED: '&a&lYou''re no longer jailed!'

    #==================================================
    #
    #            FORMAT MESSAGES
    #
    #==================================================

    #------------------------------------------------------#
    #                   TIME MESSAGES                      #
    #------------------------------------------------------#

    TIME_COLOR: '&b&l'
    DAYS: ' &c&lDays '
    HOURS: ' &c&lHours '
    MINUTES: ' &c&lMinutes '
    SECONDS: ' &c&lSeconds '
  • Loading...
  • Loading...