Advertisement
Guest User

Untitled

a guest
Feb 27th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. # DO NOT EDIT THIS VALUE!
  2. config-version: 8
  3.  
  4. # If enabled, a notification and the download link will be printed on console whenever an update is available.
  5. check-for-updates: true
  6.  
  7. # Allows you to force set the plugin's mode to online/offline/automatic.
  8. # If you run a cracked server but the plugin detects it as online and saves UUID instead of name, set the value below to 'false'.
  9. # Available modes: true, false, auto (default)
  10. online-mode: auto
  11.  
  12. # Prevents players from sending token to a player who has the same ip address as the sender.
  13. alt-prevention: false
  14.  
  15. # The default token balance of a first-time joiner.
  16. default-balance: 25
  17.  
  18. # Sets a min/max limit on the amount specified in /token send command. To disable, set the value to -1.
  19. send-amount-limit:
  20. min: 1
  21. max: -1
  22.  
  23. shop:
  24. # When the command '/token shop' is executed, enabling this option will open the specified shop below. (Even if a shop name is provided)
  25. open-selected:
  26. enabled: false
  27. shop: test
  28.  
  29. # Settings for the confirm purchase gui.
  30. confirm-purchase-gui:
  31. title: 'Confirm Your Purchase'
  32. # Use the placeholder %price% in the name or the lore of the confirm-button to display the price of the item to be purchased.
  33. # NOTE: In Minecraft 1.13, stained glass panes were assigned their own material name. If buttons below won't load, use the new material name.
  34. confirm-button: 'STAINED_CLAY:5 1 name:&a&lBUY lore:&7Price:_&a%price%_tokens'
  35. cancel-button: 'STAINED_CLAY:14 1 name:&c&lCANCEL'
  36.  
  37. # Set a delay between purchases. 0 for no delay.
  38. click-delay: 0
  39.  
  40. # If enabled, players with full inventory will not be able to purchase from token shops.
  41. check-inventory-full: false
  42.  
  43. # [WARNING: DANGER ZONE]
  44. data:
  45. # If enabled, the plugin will use selected MySQL database as the token balance storage.
  46. # Note: To transfer all data from data.yml to the MySQL database, use the command '/tm transfer'. (MySQL must be enabled below!)
  47. mysql:
  48. enabled: false
  49. hostname: '127.0.0.1'
  50. port: '3306'
  51. username: 'root'
  52. password: 'password'
  53. database: 'database'
  54. table: 'tokenmanager'
  55. url: 'jdbc:mysql://%hostname%:%port%/%database%'
  56.  
  57. # This section is optional. Using mysql database for a single server will work just fine even if no redis server is provided.
  58. # If mysql is enabled, a redis server can be used to synchronize balances as they are modified.
  59. redis:
  60. enabled: true
  61. server: '127.0.0.1'
  62. port: '6379'
  63. password: ''
  64.  
  65. # WARNING
  66. #
  67. # 1. Enabling this will set TokenManager's economy as your server's main economy.
  68. # Your old economy data will most likely RESET, and commands related to Economy
  69. # such as Essentials' /eco won't function properly if target player is offline.
  70. #
  71. # 2. If you're using Essentials Economy, make sure to reset everyone's balance
  72. # before enabling this option! Otherwise, the old Essentials balance of the players
  73. # might act as a token balance.
  74. #
  75. register-economy: false
  76.  
  77. # /token top will be updated every x minutes. Value must be higher than 0!
  78. balance-top-update-interval: 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement