Advertisement
Guest User

Config_Defaults.yml

a guest
Dec 14th, 2013
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.27 KB | None | 0 0
  1. # While the comments in here try to be helpful, the most up-to-date
  2. # documentation for these options can always be found on the web at:
  3. #
  4. # 'http://dev.bukkit.org/server-mods/homespawnplus/pages/config-params'
  5. #
  6. # This config_defaults.yml is NOT USED by HSP in any way and is
  7. # overwritten everytime HSP starts up. It is simply here for reference
  8. # to the full set of options available in HSP as well as their
  9. # default values. Copy any sections you want here into your config.yml
  10. # to make changes.
  11.  
  12. # This defines which permission system HSP uses. Vault and WEPIF
  13. # (WEPIF is built into WorldEdit) are preferred, they both provide
  14. # a nice interface to all other permission systems. If you don't have
  15. # or don't want to use either of those, there is some native support
  16. # for a few other permission systems that you can use. These are
  17. # checked in the order they are listed for existence, and the
  18. # first one to match is used.
  19. permissions:
  20. - vault
  21. - wepif
  22. - pex
  23. - perm2-compat
  24. - superperms
  25. - ops
  26.  
  27. core:
  28. # EBEANS - Ebeans storage (will go to SqlLite or MySQL, as defined
  29. # by bukkit.yml)
  30. # YAML - YAML storage in your plugins/HomeSpawnPlus directory.
  31. # Will store one file per data type (home, spawn, etc).
  32. # YAML_SINGLE_FILE - YAML storage in your plugins/HomeSpawnPlus
  33. # directory. Stores all data in single "data.yml" file.
  34. # PERSISTANCE_REIMPLEMENTED_EBEANS - use persitance reimplemented
  35. # ebeans implementation. Exactly like EBEANS above except with
  36. # a few extra benefits. http://goo.gl/rtdDH To live-reload
  37. # with this, due to a Bukkit limitation, you must edit
  38. # plugin.yml and set 'database: false'
  39. #
  40. # This is one option that cannot be reloaded live with "/hsp rc",
  41. # you must restart Bukkit if you change this option.
  42. storage: EBEANS
  43.  
  44. # Warn on any known plugin conflicts that might prevent HSP from
  45. # working the way the admin expects.
  46. warnConflicts: true
  47.  
  48. # Warn if a strategy chain returns no location. While this might
  49. # be intended behavior, it can also hint at a configuration mistake.
  50. warnNullStrategy: true
  51.  
  52. # Warn if the player ended up somewhere other than where HSP
  53. # expected. This often indicates another plugin doing something
  54. # that you don't intend.
  55. warnLocationChange: true
  56.  
  57. # if any strategy takes longer than this many millis to execute
  58. # (1000 millis = 1 second), then print a performance warning.
  59. # Set to 0 to disable.
  60. warnPerformanceMillis: 250
  61.  
  62. # this is ONLY used when "ops" is used in the "permissions" section
  63. # above.
  64. # In that case, any permissions listed here are given to everyone by
  65. # default (ops always have full permissions)
  66. # defaultPermissions:
  67. # - hsp.command.home.use
  68. # - hsp.command.sethome.use
  69.  
  70. # set to true to enable players setting their homes by clicking beds.
  71. # they must also have the 'hsp.home.bedsethome' permission.
  72. bedsethome: true
  73.  
  74. # If true, HSP will require 2 clicks on the bed to set the home. This
  75. # avoids accidentally setting your bedhome when you don't mean to.
  76. bedhome2clicks: true
  77.  
  78. # If true, HSP will require it be night time in order for a bed home
  79. # to be saved by clicking on it. (ie. single player mechanics)
  80. bedHomeMustBeNight: false
  81.  
  82. # If set to true, the player will never see the "You can only
  83. # sleep at night" message. Be warned this has the unfortunate side
  84. # effect that they can never actually sleep in their bed, either.
  85. bedHomeNeverDisplayNightMessage: false
  86.  
  87. # This restores the "original" behavior where all bed clicks go
  88. # through (instead of supressing the first in 2click mode), which
  89. # makes it possible to night sleep on first click and set home on
  90. # 2 clicks. Note this is also possible without this option by
  91. # the player using sneak to sleep vs. set home.
  92. bedHomeOriginalBehavior: false
  93.  
  94. # The default/main world. Strategies reference this as the default
  95. # world, you can change that here if you like.
  96. defaultWorld: world
  97.  
  98. # set to true if you want plugin to change the spawn of the actual map
  99. # (ie. even if you turn this plugin off later, whatever default spawn
  100. # you set in various worlds will stay)
  101. override_world: true
  102.  
  103. # if recordLastLogout is true, HSP will record the precise location
  104. # location the player logged out at and respawn them there, instead
  105. # of just letting Bukkit do it. This is an attempt to work around a
  106. # bug where people logout close to a wall and Bukkit tries to respawn
  107. # them in the wall
  108. recordLastLogout: false
  109.  
  110. # set to true to have a bit more verbose logging in your server.log
  111. # about what HomeSpawnPlus is doing
  112. verboseLogging: false
  113. # set to true to have verbose logging in your server.log as
  114. # strategies are being evaluated - great for debugging and testing
  115. # your strategies when you first set them up.
  116. verboseStrategyLogging: false
  117.  
  118. # Event priority; the basic assumption is that you want HSP to
  119. # be the final say in your onjoin/respawn event chains - if you
  120. # didn't want that you probably wouldn't be running HSP in the
  121. # first place. But you can change it here if you want to
  122. # for some reason.
  123. eventPriority: highest
  124.  
  125. # HSP has a notion of "default home" which the player can change
  126. # by using /setdefaulthome. In the event that the player has
  127. # deleted their defaultHome and only one home is remaining on
  128. # a given world, this flag says to count that last home as the
  129. # "default" home, even if it wasn't specifically flagged as
  130. # the default.
  131. lastHomeIsDefault: true
  132.  
  133. # localization. "en" for english, "fr" for french, etc. Will
  134. # use given localization if it exists, otherwise will fall
  135. # back to English as the default.
  136. # locales available: en, de, fr, nl, ru, pt
  137. locale: en
  138.  
  139. # default color of messages. ie. %yellow%, %red%, ..
  140. defaultMessageColor: "%yellow%"
  141.  
  142. # set to true if Bukkit should be forced to reload the target
  143. # chunk when a player teleports. This fixes "world hole" problems
  144. # on teleport (exactly the same as BananaChunk plugin does).
  145. # This option does nothing if BananaChunk is already installed.
  146. reloadChunkOnTeleport: false
  147.  
  148. # Define the strategy HSP uses to determine if a player is new.
  149. # BUKKIT: use Bukkit Player.hasPlayedBefore() method
  150. # PLAYER_DAT: check for "player.dat" in the default world
  151. # ORIGINAL: use HSP's original algorithm, which first checks
  152. # HSP's database for any record, then falls back to a
  153. # PLAYER_DAT check. This can be faster since it's a cached
  154. # DB lookup instead of a file access, but it also means that
  155. # you can't test "new player" strategies simply by removing
  156. # the player.dat file.
  157. newPlayerStrategy: PLAYER_DAT
  158.  
  159. # If enabled, "safe teleport" will be used for any teleport
  160. # HSP does. This means if the players location is not "safe"
  161. # (it has solid blocks that might suffocate them, is over lava,
  162. # etc), they will be teleported to the nearest "safe" location
  163. # instead.
  164. safeTeleport: true
  165.  
  166. # If true, sleeping in a bed will overwrite the default home,
  167. # usually the one set by "/sethome" with no args.
  168. bedHomeOverwritesDefault: true
  169.  
  170. # Set to true if you use Multiverse and want to take advantage
  171. # of HSP's event integration with it
  172. multiverseEnabled: true
  173.  
  174. # set to true if you want to display teleporting messages
  175. # when a player types /home or /spawn. See web docs for how
  176. # to customize these messages: http://goo.gl/qhYmZ
  177. teleportMessages: false
  178.  
  179. # Whether or not HSP should record the last location of a player
  180. # on teleport, which can later be used by the spawnLastLocation
  181. # strategy. WARNING: If you are using storage YAML and have
  182. # a decent-sized server (few hundred players), THIS CAN CREATE
  183. # TELEPORT LAG. Ebeans does not have this issue.
  184. recordLastLocation: true
  185.  
  186. # Web doc reference for event strategies:
  187. # http://dev.bukkit.org/server-mods/homespawnplus/pages/strategy-doc/
  188. #
  189. events:
  190. # strategies to use when player is joining the game
  191. onJoin:
  192. - spawnNewPlayer
  193.  
  194. # strategies to use when player is respawning after a death
  195. onDeath:
  196. - spawnLocalWorld
  197.  
  198. # strategies to use when player types "/spawn"
  199. onSpawnCommand:
  200. - spawnLocalWorld
  201.  
  202. # strategies to use when player types "/groupspawn"
  203. onGroupSpawnCommand:
  204. - spawnLocalWorld
  205.  
  206. # strategies to use when player types "/home"
  207. onHomeCommand:
  208. - homeLocalWorld
  209.  
  210. # strategies to use when player types "/home name"
  211. onNamedHomeCommand:
  212. - homeNamedHome
  213.  
  214. # strategies to use when player types "/spawn name"
  215. onNamedSpawnCommand:
  216. - spawnNamedSpawn
  217.  
  218. # a crossWorld teleport that didn't involve Multiverse
  219. crossWorldTeleport:
  220.  
  221. # a crossWorld teleport by Multiverse
  222. multiverseCrossWorldTeleport:
  223.  
  224. # a non-crossWorld teleport by Multiverse
  225. multiverseTeleport:
  226.  
  227. # example of world-specific strategy
  228. # world:
  229. # myworld:
  230. # onDeath:
  231. # - homeLocalWorld
  232. # - spawnLocalWorld
  233. # onHomeCommand:
  234. # - homeLocalWorld
  235. #
  236. # example of permission-specific strategy
  237. # permission:
  238. # entry1:
  239. # permissions:
  240. # - my.special.permission
  241. # onJoin:
  242. # - homeSpecificWorld:specialworld
  243. # - spawnSpecificWorld:specialworld
  244. # onDeath:
  245. # - homeMultiWorld
  246. # - homeAnyWorld
  247.  
  248. # you can define your own custom commands. Refer
  249. # to documentation on web: http://goo.gl/wCMM7
  250. commands:
  251. # you can disable individual built-in commands here
  252. # disabledCommands:
  253. # - home
  254. # - sethome
  255. # - spawn
  256.  
  257. # cooldowns for various commands can be defined here
  258. # A cooldown of 0 is no cooldown at all.
  259. cooldown:
  260. home: 60
  261. # if set, overrides "home" cooldown for named homes
  262. home-named: 0
  263.  
  264. sethome: 0
  265. # if set, overrides "sethome" cooldown for named homes
  266. sethome-named: 0
  267.  
  268. spawn: 60
  269. # if set, overrides "spawn" cooldown for named spawns
  270. spawn-named: 0
  271.  
  272. groupspawn: 60
  273.  
  274. homeinvitetp: 60
  275.  
  276. # if set to true, cooldowns reset on death
  277. resetOnDeath: false
  278.  
  279. # any cooldowns listed here will be on separate timers per
  280. # command argument. for example if "home-named" is listed,
  281. # then typing "/home home1" would start home1's cooldown,
  282. # and "/home home2" will be on a separate cooldown.
  283. # separation:
  284. # - home-named
  285. # - spawn-named
  286. # - sethome-named
  287. # - homeinvitetp
  288.  
  289. # example of world-specific cooldowns
  290. # world:
  291. # myworld:
  292. # # whether this world should have its own cooldowns
  293. # cooldownPerWorld: false
  294. # home: 120
  295. # spawn: 120
  296. # # resetOnDeath can be per-world or even per-permission
  297. # resetOnDeath: true
  298. #
  299. # example of permission-specific cooldowns
  300. # permission:
  301. # entry1:
  302. # # whether these permission should have their own cooldowns
  303. # cooldownPerPermission: false
  304. # permissions:
  305. # - my.special.permission
  306. # home: 30
  307. # spawn: 30
  308. warmup:
  309. # globally enable or disable warmups.
  310. enabled: false
  311.  
  312. # set to true if movement should cancel a warmup
  313. onMoveCancel: true
  314.  
  315. # set to true if receiving damage should cancel a warmup
  316. onDamageCancel: true
  317.  
  318. # individual command warmup timers
  319. home: 5
  320. spawn: 5
  321. groupspawn: 5
  322.  
  323. # example of world-specific warmups
  324. # world:
  325. # myworld:
  326. # # whether this world should have its own warmups
  327. # warmupPerWorld: false
  328. # home: 10
  329. # spawn: 10
  330. #
  331. # example of permission-specific warmups
  332. # permission:
  333. # entry1:
  334. # # whether these permission should have their own warmups
  335. # warmupPerPermission: false
  336. # permissions:
  337. # - my.special.permission
  338. # home: 15
  339. # spawn: 15
  340.  
  341. # ability to raise or lower the limit of homes you allow
  342. # players to have. Can be defined on a per-world or
  343. # per-permission basis. (-1 = unlimited)
  344. homeLimits:
  345. # If singleGlobalHome is set, all other sections are ignored
  346. # and a single global home is enforced. This means typing
  347. # /sethome on any world will always work and it will always
  348. # overwrite whatever other home you had set. This can be
  349. # overridden by the permission "hsp.singleGlobalHomeExempt",
  350. # in which case the limits defined below still apply.
  351. singleGlobalHome: false
  352.  
  353. default:
  354. perWorld: 1
  355. global: -1
  356.  
  357. # world:
  358. # myworld:
  359. # perWorld: 5
  360. # permission:
  361. # limit1:
  362. # permissions:
  363. # - my.custom.perm
  364. # - group.mygroup
  365. # perWorld: 3
  366. # global: 10
  367.  
  368. # If you have Vault installed, HSP can use that to charge prices for
  369. # commands using whatever economy plugin you happen to have installed.
  370. # Costs will not work if you do not have Vault installed.
  371. #
  372. # http://dev.bukkit.org/server-mods/vault/
  373. cost:
  374. # if verbose is true, the player will get a message stating that their
  375. # account has been charged whenever they use a command with a cost.
  376. verbose: true
  377. home: 0
  378. sethome: 0
  379. spawn: 0
  380. groupspawn: 0
  381. # if sethome-multiplier is non-zero, then each additional home past
  382. # the first (globally) will cost this much more. Example: sethome cost
  383. # is 500, sethome-multiplier is 1.5. First home will cost 500, second
  384. # will cost (500*1.5) = 750. 3rd home will cost (500*1.5*1.5) = 1125.
  385. # 4th home is (500*1.5*1.5*1.5) = 1687.5, and so on.
  386. sethome-multiplier: 0
  387.  
  388. # world:
  389. # myworld:
  390. # home: 100
  391. # permission:
  392. # limit1:
  393. # permissions:
  394. # - my.custom.perm
  395. # - group.mygroup
  396. # home: 250
  397. # sethome: 500
  398.  
  399. homeInvite:
  400. # timeout (in seconds) for temporary invites
  401. timeout: 30
  402.  
  403. # set to true if you want /homeinviteaccept and /homeinviteteleport
  404. # to use the same cooldown as /home. This respects any home-separation
  405. # settings you have.
  406. useHomeCooldown: true
  407. # same as above, but for warmups
  408. useHomeWarmup: true
  409.  
  410. # set to false if you don't want to allow
  411. # players to send invite for bedHomes
  412. allowBedHomeInvites: true
  413.  
  414. # HSP/dynmap integration. Features heavily borrowed from Mike Primm's
  415. # excellent Commandbook/dynmap integration, so please refer to that
  416. # for any documentation of config options. http://goo.gl/SLXOL
  417. dynmap:
  418. # Set to true to enable this module, otherwise it is completely
  419. # disabled
  420. enabled: false
  421.  
  422. update:
  423. # Seconds between position updates
  424. period: 300.0
  425.  
  426. layer:
  427. homes:
  428. enable: true
  429. # by default, HSP will render the default home. You can also tell
  430. # it to render any bed homes or even all named homes
  431. include-bed-home: true
  432. include-named-homes: true
  433. name: "Homes"
  434. # Make home layer hidden by default
  435. hidebydefault: false
  436. # ordering priority in layer menu (low goes before high - default is 0)
  437. layerprio: 20
  438. # (optional) set minimum zoom level when mob icons should be visible (0=default, any zoom)
  439. minzoom: 0
  440. # Default icon for home markers
  441. deficon: house
  442. # Label format - substitute %name% for player's name
  443. labelfmt: "%name%"
  444. # (optional) List of visible homes (by user ID) - if non-empty, only these will be shown.
  445. # To show all homes on a given world, include "world:<worldname>" in the string list
  446. visiblemarkers: []
  447. # (optional) List of hidden homes (by user ID)
  448. # To hide all homes on a given world, include "world:<worldname>" in the string list
  449. hiddenmarkers: []
  450. # (optional) If set to true, only show homes of online players
  451. online-only: false
  452. spawns:
  453. enable: enabled
  454. name: "Spawns"
  455. # Make warp layer hidden by default
  456. hidebydefault: false
  457. # ordering priority in layer menu (low goes before high - default is 0)
  458. layerprio: 21
  459. # (optional) set minimum zoom level when mob icons should be visible (0=default, any zoom)
  460. minzoom: 0
  461. # Default icon for warp markers
  462. deficon: world
  463. # Label format - substitute %name% for warp's name
  464. labelfmt: "[%name%]"
  465. # (optional) List of visible spawns (by spawn name) - if non-empty, only these will be shown.
  466. # To show all spawns on a given world, include "world:<worldname>" in the string list
  467. visiblemarkers: []
  468. # (optional) List of hidden spawns (by spawn name)
  469. # To hide all spawns on a given world, include "world:<worldname>" in the string list
  470. hiddenmarkers: []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement