Advertisement
Guest User

main-config.yml

a guest
Aug 11th, 2017
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.21 KB | None | 0 0
  1. # This is the configuration version. Unless you really want to mess up your
  2. # configuration, you should not change this.
  3. config-version: 2
  4.  
  5. # Whether or not to enable debug mode. In debug mode, SkyWars will print a
  6. # huge amount of information to the server console. There is usually no need
  7. # to enable this unless you are asked to by the developer.
  8. debug: false
  9.  
  10. # When enabled, SkyWars will report statistics to https://dabo.guru, using the
  11. # custom "plugin-statistics" system. This is similar to PluginMetrics/MCStats,
  12. # but reports vastly less data, and does not use any persistent GUID for the
  13. # server.
  14. #
  15. # If enabled, every hour, starting one hour from server startup, the plugin
  16. # will send the plugin version, server version, online player count, and an
  17. # instance UUID to https://dabo.guru/statistics/skywars/. The instance UUID is
  18. # reset every server startup, and is not stored in any persistent files.
  19. #
  20. # If disabled, no data will be sent.
  21. #
  22. # For more information, see https://github.com/daboross/plugin-statistics.
  23. report-statistics: true
  24.  
  25. # This represents the order that the arenas are started in. Whenever enough
  26. # people join the queue, a new arena is chosen either at RANDOM, or ORDERED.
  27. #
  28. # Setting this value to RANDOM will make a random arena be chosen from
  29. # enabled-arenas when a new game starts. Setting it to ORDERED will make each
  30. # enabled arena be started in sequence.
  31. arena-order: RANDOM
  32.  
  33. # This is the string that will prefix all SkyWars announcements.
  34. message-prefix: '&8[&cSkyWars&8]&a '
  35.  
  36. # Whether or not to save inventories of players who are joining SkyWars games.
  37. #
  38. # When this is false, each player's inventory will be wiped when the join a
  39. # game and when the leave a game. When this is true the inventory is stored in
  40. # memory and then wiped when the join a game, then restored when they leave.
  41. #
  42. # Note that if the server crashes when games are running, or SkyWars is
  43. # forcefully stopped, the inventories of the players in any game running at
  44. # that time will not be recoverable.
  45. save-inventory: true
  46.  
  47. # Whether or not experience level will be saved along with inventory.
  48. #
  49. # This won't work without save-inventory also being true. See save-inventory
  50. # for more information.
  51. save-experience: true
  52.  
  53. # Whether or not position, gamemode, health, hunger, and other survival player
  54. # properties are saved when joining a SkyWars games (and restored upon leaving).
  55. #
  56. # This will teleport players back to their original locations, instead of
  57. # going to a lobby when finished - and will restore their gamemode, health,
  58. # hunger, exhaustion and stamina. This won't work without save-inventory also
  59. # being true.
  60. #
  61. # If this is false, players are teleported to the lobby, and only their
  62. # inventory (and experience) are restored. If false, gamemode, health and
  63. # hunger are completely reset upon leaving a game.
  64. save-position-gamemode-health: true
  65.  
  66. # A list of enabled arenas. Each of the items in this list corresponds to a
  67. # file in the arenas/ folder. When SkyWars loads, it will take each item in
  68. # this list, look for a file in the arenas/ folder who's name is this followed
  69. # by '.yml', then load it into the enabled arenas list.
  70. enabled-arenas:
  71. - arena_1
  72.  
  73. # Locale to use for all player messages. Currently available locales:
  74. # cz, de, dk, en, es, fr, nl, pl, pt and ru.
  75. # Note that some translations are incomplete. You can also modify
  76. # `messages.yml` to make your own translation (if you do, be sure to set
  77. # auto-update to false in messages.yml).
  78. locale: en
  79.  
  80. # A list of minecraft gamerules to set in the world where arenas are run. By
  81. # default, only 'doDaylightCycle' is set - this stops day and night from
  82. # changing in the arena world.
  83. skywars-arena-gamerules:
  84. doDaylightCycle: 'false'
  85.  
  86. # Whether or not players should be immediately respawned after dying. If true,
  87. # the death/respawn screen is skipped and players are teleported immediately
  88. # after dying. If false, players will have the respawn screen shown as normal.
  89. # When false, players will still be force respawned when the game ends if they
  90. # haven't clicked the respawn button by then.
  91. skip-respawn-screen: true
  92.  
  93. # Sub section for score storage
  94. points:
  95.  
  96. # Whether to enable point storage or not. If point storage is not enabled,
  97. # none of the following settings will take effect
  98. enable-points: true
  99.  
  100. # The number of points to add to a player's score when they win a game.
  101. win-point-diff: 5
  102.  
  103. # The number of points to add to a player's score when they die in a game.
  104. death-point-diff: 0
  105.  
  106. # The number of points to add to a player's score when they kill someone in
  107. # a game
  108. kill-point-diff: 1
  109.  
  110. # Number of seconds between saving the score to hard disk
  111. # In JSON storage, this is the number of seconds between saving the entire
  112. # score file to the hard disk.
  113. #
  114. # In SQL storage, this is the number of seconds between saving only
  115. # uncommitted data to the SQL server. In SQL, this is also the number of
  116. # seconds between leaderboard updates.
  117. #
  118. # Recommended to be set to values 10-30 if using SQL. 200-500 for JSON.
  119. max-save-interval: 300
  120.  
  121. # If true, use the SQL storage backend. If false, the JSON storage is used.
  122. #
  123. # Note: When using SQL backend, for most efficiency, set max-save-interval
  124. # to 20 SQL saving works differently than json saving, so max-save-interval
  125. # values from 20-100 seconds work best.
  126. use-sql: true
  127.  
  128. # SQL login info
  129. sql:
  130. # Host to connect to
  131. host: 127.0.0.1
  132. # Port to connect to
  133. port: 3306
  134. # Database to store on. Data is stored in a `skywars_user` table in this
  135. # database.
  136. database: minecraft
  137. # Username to login as. Using `root` is not recommended. Instead you
  138. # should set up a more restricted user.
  139. username: root
  140. # Password to login with.
  141. password: aComplexPassword
  142.  
  143. # Time in seconds between updating the ranks of each individual. This is
  144. # the rank shown in `/sw rank`, and this will update the ranks of everyone
  145. # on the server at the given interval. However, updating each individual's
  146. # rank is a more costly operation than updating the top 10 ranks, so it is
  147. # done on a separate timer. (top 10 ranks are updated according to
  148. # max-save-interval).
  149. individual-rank-update-interval: 120
  150.  
  151. # Subsection for the economy Vault hook
  152. economy:
  153.  
  154. # Whether or not to enable hooking into Vault for economy.
  155. # If disabled, no rewards will be given, and kits with costs will also be
  156. # disabled.
  157. enable-economy: true
  158.  
  159. # Amount of money to give a player when they kill someone in a game.
  160. kill-reward: 10
  161.  
  162. # Amount of money to give s player when they win a game.
  163. win-reward: 10
  164.  
  165. # Whether or not to tell players when they get a win reward.
  166. reward-messages: true
  167.  
  168. # The distance apart arenas will be in the SkyWarsArenaWorld. If you have
  169. # created bigger arenas, such as ones that are bigger than 100 blocks, you may
  170. # want to increase this value.
  171. #
  172. # Note that this is the distance from the center of one arena to the center of
  173. # the next, not the inner edges.
  174. arena-distance-apart: 200
  175.  
  176. arena-copying:
  177. # If a multi-operation arena copy is enabled, this will be how many blocks
  178. # each copy operation copies. If you feel that SkyWars is causing your server
  179. # lag on game start and game end, adjusting this value and/or
  180. # time-before-start-to-start-arena-copy-operation may help.
  181. number-of-blocks-to-copy-at-once: 500
  182.  
  183. # Command whitelist sub-section
  184. command-whitelist:
  185.  
  186. # Whether or not to enable the command whitelist. If enabled, commands use
  187. # will be restricted when in a game.
  188. whitelist-enabled: true
  189.  
  190. # If true, treat the values in `whitelist` as a blacklist, blocking them and
  191. # only them in game.
  192. # If false, treat the values in `whitelist` as a whitelist, blocking all
  193. # commands *except them* in game.
  194. treated-as-blacklist: false
  195.  
  196. # Commands to whitelist/blacklist in game
  197. whitelist:
  198. - /skywars
  199. - /sw
  200. - /me
  201.  
  202. # Join sign appearance
  203. #
  204. # When the queue length changes or a game is started, every sign is updated
  205. # with "{name}" set to the next arena's name, "{count}" set to the number of
  206. # players in the queue, and "{max}" set to the maximum number of players to
  207. # join the arena before SkyWars will start the game.
  208. #
  209. # This must be a list of four lines used for the four lines on the sign. If you
  210. # want less than four lines, simply have the last lines be blank.
  211. #
  212. # When placing a sign, the sign will turn into a SkyWars Join Sign if the first
  213. # "static" line of the template matches. "static" in this case means there are
  214. # no changing elements such as "{name}", "{count}" and "{max}".
  215. #
  216. # For example, if you have the following configuration:
  217. # join-sign-lines:
  218. # - 'Players: {count}'
  219. # - 'Arena: {name}'
  220. # - 'Waiting for: {max}'
  221. # - 'Click to join!'
  222. #
  223. # Then in order to create a join sign, you would have to write a sign with the
  224. # first three lines blank, and the last line with "Click to join!" in it.
  225. #
  226. # With the default configuration, simply make a sign with the first line being
  227. # "[SkyWars]" and it will turn into a join sign.
  228. #
  229. # NOTE! When you change this setting, all currently existing join signs will
  230. # no longer function or update - SkyWars uses the lines in this setting to
  231. # tell which signs are still join signs when updating. (all signs are also
  232. # stored in locations.yml, but SkyWars double-checks them with the join sign
  233. # line format to avoid overwriting changed signs).
  234. join-sign-lines:
  235. - '&8[&cSkyWars&8]'
  236. - '&8Next Game: &c{name}'
  237. - '&8Players: &2{count}&3/&2{max}'
  238. - '&cClick to join!'
  239.  
  240. # Message limiting - only broadcasting some messages to players who are
  241. # involved in the game the message is about.
  242. only-broadcast-to-players-in-arena:
  243. # If true, game starting messages will only be shown to those in the game
  244. # which is starting.
  245. start: false
  246. # If true, death messages of players in a game will only be shown to alive
  247. # players in that game.
  248. death: true
  249. # If true, end/winning messages for games will only be shown to the
  250. # player(s) who won the game, and the last player who died.
  251. end: false
  252. # If true, "start timer" messages will only be shown to to the players who
  253. # are already in the arena queue.
  254. starting-in-start-timer: false
  255.  
  256. # Kit GUI subsection
  257. kit-gui:
  258. # The Kit GUI is an visual "inventory" menu shown which contains one "totem"
  259. # item per kit.
  260.  
  261. # If true, kits unavailable to the player (either due to lack of permission
  262. # or lack of funds) will be shown in the bottom of the kit GUI, with a
  263. # 9-space row separating them from the available kits.
  264. show-unavailable-kits: true
  265.  
  266. # By default, the kit GUI is accessible via a command: `/sw kitgui`. If this
  267. # is enabled, the `kitgui` command will no longer exist, and `/sw kit` will
  268. # launch the kit GUI rather than show a list of kits available.
  269. replace-kit-command: false
  270.  
  271. # If this is true, the kit GUI will be launched (shown to the player)
  272. # whenever the player joins the queue or clicks a join sign. Note that the
  273. # GUI will be shown even if the player is already in the queue: if this is
  274. # enabled, join signs can also be used as a "kit sign" which launches the
  275. # kit GUI when clicked.
  276. auto-show-on-join: true
  277.  
  278. # Settings related to the game timer, the SkyWars start timer.
  279. # All sub-settings under 'game-timer' are in seconds
  280. game-timer:
  281. # Time before the game starts after the maximum number of players have joined.
  282. time-till-start-after-max-join: 30
  283. # Time before the game starts after the minimum number of players have joined.
  284. time-till-start-after-any-join: 200
  285. # Time before the game starts to start copying the arena, in preparation of the game starting.
  286. time-before-start-to-start-arena-copy-operation: 45
  287. # Currently unused. In the future, this will be how long after players are teleported into the arena before they are
  288. # allowed to move.
  289. time-after-start-to-freeze-players: 5
  290. # This is a list of times, in seconds, to broadcast "game starting in X minutes/seconds" messages.
  291. #
  292. # Each of these times is in seconds before the game starts.
  293. #
  294. # For each time, if the time is divisible by 60, the message will be displayed as "start in X minutes". If it isn't,
  295. # the message will be "starting in X seconds."
  296. times-to-message-before-start:
  297. - 600
  298. - 300
  299. - 180
  300. - 60
  301. - 45
  302. - 30
  303. - 15
  304. - 5
  305. - 3
  306. - 2
  307. - 1
  308.  
  309. # Hooks available to hook into separate plugins
  310. hooks:
  311. # This hook is supposed to be for hooking into the Multiverse plugin, but it
  312. # has not yet been added. This setting has no effect.
  313. multiverse-core-hook: true
  314.  
  315. # This toggles the WorldEdit hook. SkyWars supports starting arenas both
  316. # using an integrated Bukkit method, and a faster WorldEdit method.
  317. #
  318. # If this is true, and the WorldEdit plugin is enabled on the server,
  319. # WorldEdit will be used to copy arena blocks.
  320. #
  321. # If this is false, or the WorldEdit plugin is not installed, the integrated
  322. # Bukkit method will be used to copy arena blocks.
  323. #
  324. # Note that if the WorldEdit hook is enabled, and WorldEdit is installed,
  325. # SkyWars depends on WorldEdit being up-to-date to work correctly. If
  326. # WorldEdit is out of date, arenas will not be copied correctly.
  327. worldedit-hook: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement