Advertisement
norskaaa

RedeemableCodes / Default Config

Jan 25th, 2022
1,892
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.62 KB | None | 0 0
  1. #########################################################################################
  2. #                                                                                       #
  3. # RedeemableCodes, a premium resource by Norska @ https://norska.dev                    #
  4. #                                                                                       #
  5. # Wiki: https://norska.dev/docs/welcome                                                 #
  6. # Support: https://norska.dev/discord/                                                  #
  7. #                                                                                       #
  8. # You are editing the config.yml file of RedeemableCodes.                               #
  9. #                                                                                       #
  10. #########################################################################################
  11.  
  12. #########################################################################################
  13. #                                                                                       #
  14. # NOTE: PLEASE READ BEFORE CONFIGURING!                                                 #
  15. #                                                                                       #
  16. # Please consult the wiki for any questions regarding the setup of this plugin, if you  #
  17. # still require help, open a ticket on my discord server!                               #
  18. #                                                                                       #
  19. #########################################################################################
  20.  
  21. ##################################
  22. #                                #
  23. #            GENERAL             #
  24. #                                #
  25. ##################################
  26.  
  27. settings:
  28.   # Note: Define a max code length for randomly generated codes.
  29.    maxCodeLength: 10
  30.    # Note: Define custom commands players can use to redeem codes.
  31.    redeemCommands:
  32.   - '/REDEEM'
  33.    - '/REDEEMCODE'
  34.  
  35. ##################################
  36. #                                #
  37. #            LOGGER              #
  38. #                                #
  39. ##################################
  40.  
  41. # Note: Whether or not to log code creation/redemption etc.
  42. logger:
  43.    enabled: true
  44.    formats:
  45.      # Note: Name of the files that generate in RedeemableCodes/logs.
  46.       file: "dd.MM.yyyy"
  47.       # Note: Start of the log entry inside each log file.
  48.       entry: "dd.MM.yyyy @ HH:mm:ss"
  49.  
  50. ##################################
  51. #                                #
  52. #           COOLDOWNS            #
  53. #                                #
  54. ##################################
  55.  
  56. # Note: The interval must be a positive integer (e.g 10) and is counted in seconds.
  57. # Note: You can find bypass permissions on the wiki.
  58. cooldowns:
  59.    redeemCooldown:
  60.       enabled: true
  61.       cooldown: 5
  62.      
  63. ##################################
  64. #                                #
  65. #    VALUE DISPLAY SETTINGS      #
  66. #                                #
  67. ##################################
  68.  
  69. # Note: Configure how different values show.
  70. other:
  71.   # Note: What to show when uses of a code are set to infinite.
  72.    infiniteDisplay: "∞"  
  73.    
  74. # Note: How the cooldown will show up.
  75. format:
  76.    seconds: 's'
  77.    second: 's'
  78.    minutes: 'm '
  79.    minute: 'm '
  80.    hours: 'h '
  81.    hour: 'h '
  82.    days: 'D '
  83.    day: 'D '
  84.    splitter: 'and '        
  85.      
  86. ##################################
  87. #                                #
  88. #    UPDATE NOTIFIER SETTINGS    #
  89. #                                #
  90. ##################################      
  91.  
  92. updates:
  93.    notifications: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement