Advertisement
Guest User

config

a guest
Aug 23rd, 2019
666
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.51 KB | None | 0 0
  1. # MarriageMaster Config File
  2.  
  3. # Language Settings
  4. Language:
  5. # Defines the used language and the corresponding file used. The corresponding language file will be placed next to the config.yml named: <Language>.yml
  6. Language: en
  7. # Options:
  8. # Overwrite (deletes all changes from the file and extracts a new language file)
  9. # Upgrade (extracts a new language file and copy's all settings from the old language file)
  10. # Update (adds the default (english) text values for all missing values, just some basic formatting)
  11. UpdateMode: Upgrade
  12.  
  13. # Database Settings
  14. Database:
  15. # SQLite = data stored in SQLite file, MySQL = data stored in MySQL database (see selection below), Shared = use shared connection pool from PCGF PluginLib
  16. Type: SQLite
  17. # It is highly recommended to use uuids. Not using uuids might cause unexpected behaviour.
  18. UseUUIDs: true
  19. # Defines the storage format for UUIDs for compatibility with other plugins (shared user table).
  20. # true: format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  21. # false: format: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  22. UseUUIDSeparators: false
  23. # Options: auto, online, offline | auto will decide based on the server online mode option.
  24. # If you are using BungeeCord, set it to whatever you use on your BungeeCord server!!!
  25. UUID_Type: auto
  26. SQL:
  27. Host: 'localhost'
  28. Database: 'minecraft'
  29. User: 'minecraft'
  30. Password: 'minecraft'
  31. # The max amount of connections to the database the connection pool will open.
  32. # You may want to adjust this setting based on the load of your database server and the amount of players.
  33. MaxConnections: 2
  34. # Allows to set the connection properties.
  35. # Properties: ["useSSL=false"]
  36. Properties: []
  37. Tables:
  38. User: marry_players
  39. Partner: marry_partners
  40. Home: marry_home
  41. Priests: marry_priests
  42. # Settings controlling the cache behavior of the plugin. You may can optimize it a little bit depending on your player count, ram or cpu bottlenecks.
  43. Cache:
  44. UnCache:
  45. # The strategie used to uncache offline players. Options
  46. # interval (offline players get uncached every x seconds)
  47. # intervalChecked (like interval, but also ensures that the player is already offline for at lest the interval time, add's a cpu overhead)
  48. # ondisconnect (player instantly gets uncached as soon as he disconnects from the server, may adds overhead if other plugins try to access the player data when they go offline, also it may be problematic for players with unstable connections)
  49. # ondisconnectdelayed (player gets uncached x seconds after he went offline, adds overhead on disconnect, you shouldn't use this with a lot of players joining and leaving.)
  50. Strategie: interval
  51. # Used for the interval based uncaching algorithms. Also used as delay for ondisconnectdelayed. Value in seconds. Default: 600 = 10 minutes
  52. Interval: 600
  53. Delay: 600
  54.  
  55. Marriage:
  56. # Defines if players need to get married by a priest or if they can marry each other on their own.
  57. RequirePriest: true
  58. # This option defines if a priest is needed to divorce 2 players or if they can divorce on their own.
  59. # Options: true, false, auto (auto will copy the RequirePriest value)
  60. DivorceRequiresPriest: auto
  61. AllowMultiplePartners: false
  62. # This setting disables the "/marry setpriest" command players can still be promoted to a priest with the "marry.priest" permission.
  63. DisableSetPriestCommand: false
  64. Surnames:
  65. Enable: false
  66. Force: false
  67. # Surname requirements
  68. AllowColors: false
  69. AllowedCharacters: A-Za-z
  70. # Values below 3 will be set to 3
  71. MinLength: 3
  72. # Values below the in length will be set to the min length
  73. MaxLength: 16
  74. AnnounceOnMarriage: true
  75. Confirmation:
  76. Enable: true
  77. AutoDialog: true
  78. BothPlayersOnDivorce: false
  79. OtherPlayerOnSelfDivorce: false
  80.  
  81. InfoOnPartnerJoinLeave:
  82. Enable: true
  83. # Delay for online partners info on join. In seconds
  84. JoinDelay: 0
  85.  
  86. # The prefix options do not work with all chat plugins
  87. # If your chat plugin support placeholder APIs it would be better to use them! More details: https://github.com/GeorgH93/MarriageMaster/wiki/Placeholders
  88. Prefix:
  89. Enable: false
  90. # Placeholders: {Surname}, {PartnerName}, {PartnerDisplayName}
  91. String: "<heart>{PartnerName}<heart>"
  92. OnLineBeginning: true
  93. # This may don't work with all chat plugins!
  94. Suffix:
  95. Enable: false
  96. # Placeholders: {Surname}, {PartnerName}, {PartnerDisplayName}
  97. String: "{Surname}"
  98.  
  99. Gift:
  100. Enable: true
  101. AllowInCreative: false
  102.  
  103. Kiss:
  104. Enable: true
  105. # Time between two kisses in seconds
  106. WaitTime: 10
  107. # How many hearths should be spawned
  108. HearthCount: 50
  109.  
  110. List:
  111. UseFooter: true
  112. EntriesPerPage: 8
  113.  
  114. PvP:
  115. AllowBlocking: true
  116.  
  117. BonusXp:
  118. Enable: true
  119. # Values less or equals 1 will disable the bonus xp, but still allows to split xp between players
  120. Multiplier: 2
  121. # If enabled the picked up xp will be split between both players. Only works if bonus xp is enabled.
  122. SplitXpOnPickup: true
  123.  
  124. HealthRegain:
  125. Enable: true
  126. Multiplier: 2
  127.  
  128. Chat:
  129. Enabled: true
  130. AllowSurveillance: false
  131.  
  132. # Ranges for actions
  133. # -1 no range limit and no world limit, 0 no range limit but in the same world, >= 1 range limit in meters/blocks
  134. Range:
  135. Marry: 25.0
  136. Divorce: 25.0
  137. Backpack: 5
  138. Gift: 0
  139. Kiss: 2
  140. KissInteract: 5
  141. Hug: 2
  142. HearthVisible: 128
  143. BonusXP: 10
  144. Heal: 3
  145.  
  146. # This settings will be used for all teleports (home and to partner)
  147. Teleport:
  148. Delay: false
  149. # Time in seconds
  150. DelayTime: 3
  151. # List of worlds where you can't teleport to
  152. BlacklistedWorlds: []
  153. # This option controls whether a safety check is performed before the player is teleported.
  154. CheckSafety: true
  155. # If this option is enabled the partner has to accept the teleport request before the player will be teleported. Only applicable for teleporting to another player.
  156. RequireConfirmation: false
  157.  
  158. BackpackShare:
  159. Enable: true
  160.  
  161. Economy:
  162. Enable: false
  163. Marry: 100.0
  164. Divorce: 100.0
  165. Tp: 25.0
  166. Gift: 10.0
  167. HomeTp: 25.0
  168. SetHome: 100.0
  169.  
  170. # Allows the execution of commands on certain events related to the marriage
  171. CommandExecutor:
  172. Enable: false
  173. # General information about the command executor:
  174. # The commands can contain placeholders in the format {PlaceholderName} (The {} is part of the name. The available placeholders are listed right about the event).
  175. # Every event can executed multiple commands in the list. Commands do not have to start with / !
  176. # Commands to be executed:
  177. # Will be executed when two players marry, without a priest
  178. # Allowed placeholders: {Player1}, {Player2}
  179. # OnMarry: [ "eco give {Player1} 100", "pex user {Player2} add example.perm" ]
  180. OnMarry: []
  181. # Will be executed when two players marry by a priest
  182. # Allowed placeholders: {Player1}, {Player2}, {Priest}
  183. OnMarryWithPriest: []
  184. # Will be executed when two players get divorced, without a priest
  185. # Allowed placeholders: {Player1}, {Player2}
  186. OnDivorce: []
  187. # Will be executed when two players get divorced through a priest
  188. # Allowed placeholders: {Player1}, {Player2}, {Priest}
  189. OnDivorceWithPriest: []
  190.  
  191. Misc:
  192. # When auto update is disabled you still can use the build in update function manually with /marry update
  193. AutoUpdate: true
  194. # Enable this option if you are in a BungeeCord environment. It is also recommended to install the plugin on your BungeeCord server
  195. UseBungeeCord: false
  196.  
  197. # Config File Version. Don't touch it!
  198. Version: 94
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement