Facebook
From Reliable Dolphin, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 135
  1. ############################################################
  2. # +------------------------------------------------------+ #
  3. # |                       Notes                          | #
  4. # +------------------------------------------------------+ #
  5. ############################################################
  6.  
  7. # Config comment style borrowed from the Essentials config.
  8. #
  9. # If you want to use special characters (ASCII, UTF-8 characters) in the config, you need to save the file as UTF-8.
  10. #   - If you don't know how this is done, you can see the guide on the wiki: https://github.com/Puharesource/TitleManager/wiki/Unicode---UTF-8-characters-for-TitleManager
  11. #
  12. # Config errors, such as the plugin not loading or the config resetting can be fixed by ensuring that:
  13. #   - No tabs are present: YAML only allows spaces.
  14. #   - You have escaped all apostrophes or quotes in your text:
  15. #      - If you surround your text with apostrophes like this 'don't', double all of your apostrophes like this: 'don''t'
  16. #      - If you surround your text with quotes like this "Quote: "hello"", switch to apostrophes instead like this 'Quite: "hello"'.
  17. #
  18. # If you've got problems:
  19. #   - Join the Discord server here: https://discord.gg/NwdtW2d
  20. #   - Write a ticket on the Issue Tracker here: https://github.com/Puharesource/TitleManager/issues
  21. #
  22. # 1 second = 20 ticks
  23. #
  24. # For more information check: https://github.com/Puharesource/TitleManager/wiki
  25.  
  26. ############################################################
  27. # +------------------------------------------------------+ #
  28. # |                       General                        | #
  29. # +------------------------------------------------------+ #
  30. ############################################################
  31.  
  32. # Never change this value
  33. config-version: 5
  34.  
  35. # Toggles debug mode, which prints additional information when the plugin does something.
  36. debug: false
  37.  
  38. # Toggles whether or not all of the features of TitleManager will be toggled.
  39. using-config: true
  40.  
  41. # Toggles whether or not all of the BungeeCord functionality will be toggled.
  42. using-bungeecord: false
  43.  
  44. # (Feature only works on 1.7-1.8 Protocol Hack)
  45. # Toggles whether or not 1.7 players will see actionbar messages when they're holding an item.
  46. legacy-client-support: false
  47.  
  48. # Toggles whether or not the plugin should warn administrators if there's a new version out.
  49. check-for-updates: true
  50.  
  51. # The locale used for some of the placeholders.
  52. locale: 'en-US'
  53.  
  54. ############################################################
  55. # +------------------------------------------------------+ #
  56. # |                     Player List                      | #
  57. # +------------------------------------------------------+ #
  58. ############################################################
  59.  
  60. # Sets the header and footer of the player list. (Shown when you hold the TAB key.)
  61.  
  62. player-list:
  63.  
  64.   # Toggles this feature.
  65.   enabled: true
  66.  
  67.   # Sets the header of the player list.
  68.   #
  69.   # Single line format.
  70.   # header: 'My header text'
  71.   #
  72.   # Multiple line format.
  73.   # header:
  74.   # - 'My first line'
  75.   # - 'My second line'
  76.   # - 'My third line'
  77.   header:
  78.   - ''
  79.   - '${shine:[0;2;0][0;25;0][0;25;0][&3;&b]My Server}'
  80.   - ''
  81.  
  82.   # Sets the footer of the player list.
  83.   #
  84.   # Single line format.
  85.   # footer: 'My footer text'
  86.   #
  87.   # Multiple line format.
  88.   # footer:
  89.   # - 'My first line'
  90.   # - 'My second line'
  91.   # - 'My third line'
  92.   footer:
  93.   - ''
  94.   - '&7World time: &b%{12h-world-time}'
  95.   - '&7Server time: &b%{server-time}'
  96.   - ''
  97.   - '${right-to-left} &b%{online}&7/&b%{max} &7Online Players ${left-to-right}'
  98.  
  99. ############################################################
  100. # +------------------------------------------------------+ #
  101. # |                    Welcome Title                     | #
  102. # +------------------------------------------------------+ #
  103. ############################################################
  104.  
  105. # Sets the title that is sent to the player when they join the server.
  106.  
  107. welcome-title:
  108.  
  109.   # Toggles this feature.
  110.   enabled: true
  111.  
  112.   # The title shown.
  113.   title: 'サーバーへようこそ!r'
  114.  
  115.   # The subtitle shown.
  116.   subtitle: 'Hope you enjoy your stay'
  117.  
  118.   # The time it takes for the title to fade into the screen. (In ticks)
  119.   fade-in: 20
  120.  
  121.   # The time it takes for the title to stay on the screen. (In ticks)
  122.   stay: 40
  123.  
  124.   # The time it takes for the title to fade out of the screen. (In ticks)
  125.   fade-out: 20
  126.  
  127.   # The title shown when the player joins the server for the first time.
  128.   first-join:
  129.  
  130.     # The title shown.
  131.     title: 'サーバーへようこそ!'
  132.  
  133.     # The subtitle shown.
  134.     subtitle: 'Welcome to this server'
  135.  
  136. ############################################################
  137. # +------------------------------------------------------+ #
  138. # |                  Welcome Actionbar                   | #
  139. # +------------------------------------------------------+ #
  140. ############################################################
  141.  
  142. # Sets the actionbar that is sent to the player when they join the server.
  143.  
  144. welcome-actionbar:
  145.  
  146.   # Toggles this feature.
  147.   enabled: true
  148.  
  149.   # The message shown.
  150.   title: 'Welcome to My Server'
  151.  
  152.   # The message shown when the player joins the server for the first time.
  153.   first-join: 'Welcome to My Server, this is your first time!'
  154.  
  155. ############################################################
  156. # +------------------------------------------------------+ #
  157. # |                     Placeholders                     | #
  158. # +------------------------------------------------------+ #
  159. ############################################################
  160.  
  161. # Configures anything placeholder related.
  162.  
  163. placeholders:
  164.  
  165.   # The format used by the balance placeholder.
  166.   number-format:
  167.  
  168.     # Toggles this feature.
  169.     enabled: true
  170.  
  171.     # The format used.
  172.     format: '#,###.##'
  173.  
  174.   # The format used by the server-time placeholder.
  175.   # The format used can be found here: https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
  176.   date-format: 'EEE, dd MMM yyyy HH:mm:ss z'
  177.  
  178. ############################################################
  179. # +------------------------------------------------------+ #
  180. # |                      Scoreboard                      | #
  181. # +------------------------------------------------------+ #
  182. ############################################################
  183.  
  184. # Sets the scoreboard (sidebar) that is sent to the player
  185.  
  186. scoreboard:
  187.  
  188.   # Toggles this feature
  189.   enabled: false
  190.  
  191.   # The title displayed at the very top of the scoreboard
  192.   # The title must consist of 32 or less characters (this includes color codes)
  193.   title: '${shine:[0;2;0][0;25;0][0;25;0][&3&l;&b&l]My Server}'
  194.  
  195.   # The lines of the scoreboard (Maximum of 15 lines allowed)
  196.   # Each line can only have 40 characters (this includes color codes)
  197.   # Each line must also be unique, a work around would be to put a color code at the end your line, to make it unique.
  198.   lines:
  199.   - '&b&m----------------------------------'
  200.   - '&b> &3&lPlayer Name:'
  201.   - '&b%{name}'
  202.   - '&r'
  203.   - '&b> &3&lPing:'
  204.   - '&b%{ping} MS'
  205.   - '&r&r'
  206.   - '&b> &3&lServer Time:'
  207.   - '&b%{server-time}'
  208.   - '&b&m----------------------------------&r'
  209.  
  210. ############################################################
  211. # +------------------------------------------------------+ #
  212. # |                      Announcer                       | #
  213. # +------------------------------------------------------+ #
  214. ############################################################
  215.  
  216. # Automatically send titles and/or actionbar messages to the players on the server.
  217.  
  218. announcer:
  219.  
  220.   # Toggles this feature.
  221.   enabled: false
  222.  
  223.   # The announcements
  224.   #
  225.   # The format:
  226.   #
  227.   # announcement-name:
  228.   #   interval: 60                        (Seconds, Default: 60)
  229.   #   timings:
  230.   #     fade-in: 20                       (Ticks, Default: 20)
  231.   #     stay: 40                          (Ticks, Default: 40)
  232.   #     fade-out: 20                      (Ticks, Default: 20)
  233.   #   titles:
  234.   #   - 'First title'                     (The title sent)
  235.   #   - 'Second title\nSecond subtitle'   (The next title sent, this time using \n to split the title and subtitle from each other)
  236.   #   actionbar:
  237.   #   - 'First actionbar'                 (The actionbar message sent)
  238.   #   - 'The next actionbar sent'         (The next actionbar message sent)
  239.   announcements:
  240.     my-announcement:
  241.       interval: 60
  242.       timings:
  243.         fade-in: 20
  244.         stay: 40
  245.         fade-out: 20
  246.       titles:
  247.       - '&aThis is the 1st title announcement\n&aThis is the subtitle'
  248.       - '&bThis is the 2nd title announcement\n&bThis is the subtitle'
  249.       actionbar:
  250.       - '&aThis is the 1st actionbar announcement'
  251.       - '&bThis is the 2nd actionbar announcement'
  252.  
  253. ############################################################
  254. # +------------------------------------------------------+ #
  255. # |                       Bandwidth                      | #
  256. # +------------------------------------------------------+ #
  257. ############################################################
  258.  
  259. # Configures all of the bandwidth saving options.
  260.  
  261. bandwidth:
  262.   # Prevents sending identical packets, lowering bandwidth (but might be more CPU intensive).
  263.   prevent-duplicate-packets: true
  264.  
  265.   # The tick rate of the player list in milliseconds. (Lower = More bandwidth & CPU usage, Higher = Less bandwidth & CPU usage)
  266.   player-list-ms-per-tick: 50
  267.  
  268.   # The tick rate of the scoreboard in milliseconds. (Lower = More bandwidth & CPU usage, Higher = Less bandwidth & CPU usage)
  269.   scoreboard-ms-per-tick: 50
  270.  
  271. ############################################################
  272. # +------------------------------------------------------+ #
  273. # |                       Messages                       | #
  274. # +------------------------------------------------------+ #
  275. ############################################################
  276.  
  277. # Configures all of the messages sent to the users.
  278.  
  279. messages:
  280.   # The message shown when a player doesn't have permission to run a command.
  281.   no-permission: '&cYou do not have permission to run that command!'
  282.  
  283.   # The messages from the command /tm version
  284.   command-version:
  285.     description: 'Gives you the current running version of TitleManager'
  286.     version: '&aThe server is running %version'
  287.  
  288.   # The messages from the command /tm reload
  289.   command-reload:
  290.     description: 'Reloads TitleManager'
  291.     reloaded: '&aTitleManager reloaded'
  292.  
  293.   # The messages from the command /tm animations
  294.   command-animations:
  295.     description: 'Displays all loaded animations'
  296.     format: '&aLoaded animations (&f%count&a): %animations'
  297.     separator: '&f, &a'
  298.  
  299.   # The messages from the command /tm scripts
  300.   command-scripts:
  301.     description: 'Displays all loaded scripts'
  302.     format: '&aLoaded scripts (&f%count&a): %scripts'
  303.     separator: '&f, &a'
  304.  
  305.   # The messages from the command /tm broadcast
  306.   command-broadcast:
  307.     description: 'Broadcasts a title to the server'
  308.     usage: '<title>|<title\nsubtitle>'
  309.     title-sent: '&aYou have broadcasted the title "&r%title&a".'
  310.     subtitle-sent: '&aYou have broadcasted the subtitle "&r%subtitle&a".'
  311.     both-sent: '&aYou have broadcasted the titles "&r%title&a" "&r%subtitle&a".'
  312.  
  313.   # The messages from the command /tm abroadcast
  314.   command-abroadcast:
  315.     description: 'Broadcasts an actionbar title to the server'
  316.     usage: '<title>'
  317.     sent: '&aYou have broadcasted the actionbar title "&r%title&a".'
  318.  
  319.   # The messages from the command /tm message
  320.   command-message:
  321.     description: 'Sends a title to the specified player'
  322.     usage: '<player> <title>|<title\nsubtitle>'
  323.     title-sent: '&aYou have sent %player the title "&r%title&a".'
  324.     subtitle-sent: '&aYou have sent %player the subtitle "&r%subtitle&a".'
  325.     both-sent: '&aYou have sent %player the titles "&r%title&a" "&r%subtitle&a".'
  326.     invalid-player: '&c%player is not a valid player.'
  327.  
  328.   # The messages from the command /tm amessage
  329.   command-amessage:
  330.     description: 'Sends an actionbar title to the specified player'
  331.     usage: '<player> <title>'
  332.     sent: '&aYou have sent %player the actionbar title "&r%title&a".'
  333.     invalid-player: '&c%player is not a valid player.'
  334.  
  335.   # The messages from the command /tm scoreboard
  336.   command-scoreboard:
  337.     description: 'Toggles the scoreboard on or off.'
  338.     usage: 'toggle'
  339.     toggled-on: '&aYou have enabled your scoreboard.'
  340.     toggled-off: '&cYou have disabled your scoreboard.'