Advertisement
TimRiker

factionsuuid-config.yml

Oct 11th, 2019
746
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 20.18 KB | None | 0 0
  1. # FactionsUUID by drtshock
  2. # Report issues https://github.com/drtshock/Factions/issues?state=open
  3. # Live support http://factions-support.cf
  4. # Website https://www.spigotmc.org/resources/factionsuuid.1035/
  5.  
  6. # Made with love <3
  7.  
  8. # Debug
  9. # Turn this on if you are having issues with something and working on resolving them.
  10. # This will spam your console with information that is useful if you know how to read the source.
  11. # It's suggested that you only turn this on at the direction of a developer.
  12. debug: false
  13.  
  14. # Prevent find factions exploit
  15. # This will help limit how many times a player can be sent a map of factions.
  16. # Set this to the cooldown you want, in milliseconds, for a map to be shown to a player.
  17. # If you want to log when a player violates this (only happens on chunk enter so it shouldn't be too spammy),
  18. #   set log to true and it will be logged to console as "player tried to show a faction map too soon and triggered exploit blocker."
  19. findfactionsexploit:
  20.   cooldown: 2000 # in milliseconds. 2000 = 2 seconds.
  21.   log: false
  22.  
  23.  
  24. # Essentials Hook
  25. # Should we delete player homes that they set via Essentials when they leave a Faction if they have homes set in that
  26. # Faction's territory?
  27. delete-ess-homes: true
  28.  
  29. ### Hard Core Settings ###
  30. # Many of the features that are / are to come in this section have been requested by
  31. #   people in relation to HCF servers. All settings are set to the normal Factions
  32. #   behavior by default.
  33.  
  34. # Default Relation allows you to change the default relation for Factions.
  35. # Example usage would be so people can't leave then make a new Faction while Raiding
  36. #   in order to be able to execute commands if the default relation is neutral.
  37. # This has always been neutral.
  38. default-relation: "neutral"
  39.  
  40. # Portal Creation
  41. # Do you want to limit portal creation?
  42. portals:
  43.   limit: false # will disable the below check if set to false
  44.  
  45.   # What should the minimum relation be to create a portal in territory?
  46.   # Goes in the order of: ENEMY, NEUTRAL, ALLY, MEMBER.
  47.   # Minimum relation allows that and all listed to the right to create portals.
  48.   # Example: put ALLY to allow ALLY and MEMBER to be able to create portals.
  49.   minimum-relation: MEMBER # If typed incorrectly, defaults to NEUTRAL.
  50.  
  51. ### Hard Core Settings ###
  52.  
  53. # Warps
  54. # What should be the max amount of warps that a Faction can set?
  55. max-warps: 5
  56.  
  57. # This is the cost section for warps.
  58. # It will charge them each time the command would be successful. (won't charge on erroneous /f warp attempts).
  59. # You can use decimal places here.
  60. # If enabled is set to false, it will ignore the values.
  61. warp-cost:
  62.   enabled: false
  63.   setwarp: 5
  64.   delwarp: 5
  65.   warp: 5
  66.  
  67. # Faction Fly
  68. f-fly:
  69.  # Enable Faction Fly:
  70.   enable: true
  71.   # If a player leaves fly (out of territory or took damage)
  72.   # how long should they not take fall damage for?
  73.   # Set to 0 to have them always take fall damage.
  74.   falldamage-cooldown: 3
  75.   # From how far away a player can disable another's flight by being enemy
  76.   # Set to 0 if wanted disable
  77.   # Note: Will produce lag at higher numbers
  78.   enemy-radius: 7
  79.   # Frequency Check
  80.   # Note: Use 0 to disable
  81.   radius-check: 1
  82.   # Should we disable flight if the player has suffered generic damage
  83.   disable-generic-damage: false
  84.   # Trails show below the players foot when flying, faction.fly.trails
  85.   # Players can enable them with /f trail on/off
  86.   # Players can also set which effect to show /f trail effect <particle> only if they have faction.fly.trails.<particle>
  87.   trails:
  88.    # Speed of the particles
  89.     speed: 0.02
  90.     # Amount spawned
  91.     amount: 20
  92.     # How often should we spawn these particles?
  93.     # 0 disables this completely
  94.     spawn-rate: 0.2
  95.  
  96. # Faction Near
  97. f-near:
  98.  # Making this radius larger increases lag, do so at your own risk
  99.   # If on a high radius it is advised to add a cooldown to the command
  100.   # Also using {distance} placeholder in the lang would cause more lag on a bigger radius
  101.   radius: 20
  102.  
  103. # Pistons
  104. # Should we disable pistons in Faction territory? This will prevent people from doing something like:
  105. # http://i.gyazo.com/6a1a31222e58a5d60ff341c13f6a8404.gif
  106. disable-pistons-in-territory: false
  107.  
  108. # Should we send titles when players enter Factions?
  109. # This is the same as finfo.titles and can be shown in conjunction with scoreboard and chat if necessary.
  110. # If you only want to show titles when entering territory,
  111. # leave this true and set scoreboard.finfo.titles and scoreboard.alsosendchat to false.
  112. enter-titles:
  113.   enabled: true
  114.   fade-in: 10
  115.   stay: 70
  116.   fade-out: 20
  117.   also-show-chat: false
  118.  
  119. # /f seechunk options
  120. # Get a list of particle effects here:
  121. # https://github.com/DarkBlade12/ParticleEffect/blob/master/src/main/java/com/darkblade12/particleeffect/ParticleEffect.java
  122. see-chunk:
  123.  # If disabled, it will use fake blocks like before (can cause client side lag)
  124.   particles: true
  125.   particle: "REDSTONE"
  126.   # If the above particle is compatible with coloring we will color
  127.   # it based on the current chunk's faction
  128.   relational-color: true
  129.   # How often should we update the particles to the current player's location?
  130.   particle-update-time: 0.75
  131.  
  132. # ToolTips
  133. # This section is to configure tooltips for things like /f list
  134. tooltips:
  135.   # List
  136.   # This shows up when someone does /f list for the top factions.
  137.   # It will not sure up for factionless of course, just actual factions.
  138.   # You can use color codes here.
  139.   list:
  140.     - "&6Leader: &f{leader}"
  141.     - "&6Claimed: &f{chunks}"
  142.     - "&6Raidable: &f{raidable}"
  143.     - "&6Warps: &f{warps}"
  144.     - "&6Power: &f{power}/{maxPower}"
  145.     - "&6Members: &f{online}/{members}"
  146.  
  147.   # Show
  148.   # This shows up when someone does /f show.
  149.   # It adds tooltips to each player in the list here, nothing else.
  150.   # {group} will show the players primary group if you have vault installed.
  151.   # {balance} will show their balance if you have vault installed.
  152.   # {lastSeen} will show human readable info on when the player was last seen, or online.
  153.   show:
  154.     - "&6Last Seen: &f{lastSeen}"
  155.     - "&6Power: &f{power}"
  156.     - "&6Rank: &f{group}"
  157.     - "&6Balance: &a${balance}"
  158.  
  159. # Configuration section for Scoreboards
  160. # This will allow you to completely customize how your scoreboards look.
  161. # Make sure that no lines are duplicates of each other otherwise only the first will display.
  162. # Use &0-9a-f for colors and include messages in "quotes"
  163. scoreboard:
  164. # send faction change message as well when scoreboard is up?
  165.   also-send-chat: true
  166. # How long do we want scoreboards to stay if set temporarily.
  167.   expiration: 7
  168.  
  169. # FInfo scoreboard is displayed when a player walks into a new Faction's territory.
  170. # Scoreboard disappears after <expiration> seconds.
  171. # Things to be replaced in this:
  172. # {power} - faction's power. {chunks} - total claimed chunks. {members} - total members.
  173. # {online} - online members. {leader} - faction's leader. {open} - shows either true or false if open.
  174. # {raidable} - true if the faction can be claimed over, otherwise false.
  175. # {warps} - the number of warps that a faction has set.
  176. # The title of the scoreboard will be the Faction's tag and colored according to the relation with the player's Faction.
  177. # Commenting this section out will cause the info to appear in chat as the plugin originally did.
  178.   finfo-enabled: true # Default to false to keep original functionality.
  179.  
  180.   # SUPPORTS PLACEHOLDERS
  181.   finfo:
  182.     - "&6Pow: {power}"
  183.    - "&3Mem: {online}/{members}"
  184.    - "&4Ldr: {leader}"
  185.    - "&bTer: {chunks}"
  186.    - "&bRai: {raidable}"
  187.  
  188. # Default board that will always show up if a player wants it to.
  189. # This can show any arbitrary text or you can use a lot of variables to replace things.
  190. # Replace {name} - player's name. {faction} - player's faction title, factionless if none.
  191. # {totalOnline} - total players on the server. {balance} - player's balance.
  192. # {maxPower} - player's max power.
  193. # {powerBoost} - player's powerboost.
  194.  
  195.  default-enabled: true # Default to false to keep original functionality.
  196.  default-title: "Faction" # Can use any of the values from above but this won't update once it's set (so don't set {balance}).
  197.  default-update-interval: 2 # in seconds.
  198.  
  199.  # This will show faction prefixes colored based on relation on nametags and in the tab.
  200.  #   The scoreboard needs to be enabled for this to work.
  201.  default-prefixes: true
  202.  
  203. # SUPPORTS PLACEHOLDERS
  204.  default:
  205.    - "&6F {faction}"
  206.    - "&3P {power}"
  207.    - "&aB ${balance}"
  208.  
  209.  factionless-enabled: true
  210.  factionless:
  211.    - "Make a new Faction"
  212.    - "Use /f create"
  213.  
  214. # Configration section for warmups.
  215. # Warmup times are in seconds - if a value of 0 is set, there is no warmup.
  216. warmups:
  217.  # Delay for /f home
  218.  f-home: 10
  219.  # Delay for /f warp
  220.  f-warp: 10
  221.  # Delay for /f fly
  222.  f-fly: 2
  223.  
  224. ######################################################
  225. #################### HCF Features ####################
  226. ######################################################
  227. # These features were requested as part of Hardcore Factions or something.
  228. # All of them are disabled by default.
  229.  
  230. # Max Relation Types
  231. # Limits factions to having a max number of each relation.
  232. # Setting to 0 means none allowed. -1 for disabled.
  233. # This will have no effect on default or existing relations, only when relations are changed.
  234. # It is advised that you set the default relation to -1 so they can always go back to that.
  235. # Otherwise Factions could be stuck with not being able to unenemy other Factions.
  236. max-relations:
  237.  enabled: false
  238.  ally: 10
  239.  truce: 10
  240.  neutral: -1
  241.  enemy: 10
  242.  
  243. # WorldBorder support
  244. # This is for Minecraft's built-in command. To get your current border: /minecraft:worldborder get
  245. # A buffer of 0 means faction claims can go right up to the border of the world.
  246. # The buffer is in chunks, so 1 as a buffer means an entire chunk of buffer between
  247. # the border of the world and what can be claimed to factions
  248. world-border:
  249.  buffer: 2
  250.  
  251. # Raids
  252. # Allow a faction to be raided if they have more land than power.
  253. # This will make claimed territory lose all protections
  254. #   allowing factions to open chests, break blocks, etc. if they
  255. #   have claimed chunks >= power.
  256. hcf:
  257.  raidable: true
  258.  
  259.  # DTR (death til raidable) will be in /f show with [raidable] if enabled. Configure the message in the lang.yml
  260.  dtr: true
  261.  
  262.  # Should we allow Factions to over claim if they are raidable (above has no effect on this)?
  263.  # This has always been true, allowing factions to over claim others.
  264.  allow-overclaim: true
  265.  
  266.  # Power Freeze
  267.  # After a player dies, how long should the faction not be able to regen power?
  268.  # This resets on each death but does not accumulate.
  269.  # Set to 0 for no freeze. Time is in seconds.
  270.  powerfreeze: 0
  271.  
  272.  # Buffer Zone
  273.  # Buffer Zone is an chunk area required between claims of different Factions.
  274.  # This is default to 0 and has always been that way. Meaning Factions can have
  275.  #   claims that border each other.
  276.  # If this is set to 3, then Factions need to have 3 chunks between their claim
  277.  #   and another Faction's claim.
  278.  # It's recommended to keep this pretty low as the radius check could be a
  279.  #   heavy operation if set to a large number.
  280.  # If this is set to 0, we won't even bother checking which is how Factions has
  281.  #   always been.
  282.  buffer-zone: 2
  283.  
  284.  stuck:
  285.    delay: 30
  286.    radius: 10
  287.  
  288. ############################################################
  289. # +------------------------------------------------------+ #
  290. # |                Configurable /f show                  | #
  291. # +------------------------------------------------------+ #
  292. ############################################################
  293.  
  294. # You can use any variable here, including fancy messages. Color codes and or tags work fine.
  295. # Lines that aren't defined wont be sent (home not set, faction not peaceful / permanent, dtr freeze)
  296.  
  297. # SUPPORTS PLACEHOLDERS
  298. show:
  299.  # First line can be {header} for default header, or any string (we recommend &m for smooth lines ;p)
  300.  - '{header}'
  301.  - '<a>Description: <i>{description}'
  302.  - '<a>Joining: <i>{joining}    {peaceful}'
  303.  - '<a>Land / Power / Maxpower: <i> {chunks}/{power}/{maxPower}'
  304.  - '<a>Raidable: {raidable}'
  305.  - '<a>Founded: <i>{create-date}'
  306.  - '<a>This faction is permanent, remaining even with no members.' # only shows if faction is permanent
  307.  - '<a>Land value: <i>{land-value} {land-refund}'
  308.  - '<a>Balance: <i>{faction-balance}'
  309.  - '<a>Bans: <i>{faction-bancount}'
  310.  - '<a>Kills: <i>{faction-kills}'
  311.  - '<a>Deaths: <i>{faction-deaths}'
  312.  - '<a>Allies(<i>{allies}<a>/<i>{max-allies}<a>): {allies-list} '
  313.  - '<a>Enemies(<i>{enemies}<a>/<i>{max-enemies}<a>): {enemies-list} '
  314.  - '<a>Online: (<i>{online}<a>/<i>{members}<a>): {online-list}'
  315.  - '<a>Offline: (<i>{offline}<a>/<i>{members}<a>): {offline-list}'
  316.  
  317. # For a /f show that does not display fancy messages that are essentially empty, use minimal-show
  318. minimal-show: false
  319.  
  320. # Factions that should be exempt from /f show, case sensitive, useful for a
  321. # serverteam faction, since the command shows vanished players otherwise
  322. show-exempt:
  323.  - Put_faction_tag_here
  324.  
  325.  
  326. # THIS IS FOR /f map tool tips.
  327.  
  328. # You can use any variable here, including fancy messages. Color codes and or tags work fine.
  329. # Lines that arent defined wont be sent (home not set, faction not peaceful / permanent, dtr freeze)
  330. map:
  331.  # First line can be {header} for default header, or any string (we recommend &m for smooth lines ;p)
  332.  - '{header}'
  333.  - '<a>Description: <i>{description}'
  334.  - '<a>Joining: <i>{joining}    {peaceful}'
  335.  - '<a>Land / Power / Maxpower: <i> {chunks}/{power}/{maxPower}'
  336.  - '<a>Founded: <i>{create-date}'
  337.  - '<a>This faction is permanent, remaining even with no members.' # only shows if faction is permanent
  338.  - '<a>Land value: <i>{land-value} {land-refund}'
  339.  - '<a>Balance: <i>{balance}'
  340.  - '<a>Allies(<i>{allies}<a>/<i>{max-allies}<a>): {allies-list} '
  341.  - '<a>Online: (<i>{online}<a>/<i>{members}<a>): {online-list}'
  342.  - '<a>Offline: (<i>{offline}<a>/<i>{members}<a>): {offline-list}'
  343.  
  344. ############################################################
  345. # +------------------------------------------------------+ #
  346. # |                Configurable /f list                  | #
  347. # +------------------------------------------------------+ #
  348. ############################################################
  349.  
  350. list:
  351.  # You can only use {pagenumber} and {pagecount} in the header
  352.  header: '&e&m----------&r&e[ &2Faction List &9{pagenumber}&e/&9{pagecount} &e]&m----------'
  353.  # You can use any variables here
  354.  factionless: '<a>Factionless <i>{factionless} online'
  355.  # You can use any variable here
  356.  entry: '<a>{faction-relation-color}{faction} <i>{online} / {members} online, <a>Land / Power / Maxpower: <i>{chunks}/{power}/{maxPower} <a>Raidable: <i>{raidable}'
  357.  
  358.  
  359. ############################################################
  360. # +------------------------------------------------------+ #
  361. # |                Configurable /f help                  | #
  362. # +------------------------------------------------------+ #
  363. ############################################################
  364.  
  365. # set to true to use legacy factions help
  366. use-old-help: true
  367.  
  368. help:
  369.  # You can change the page name to whatever you like
  370.  # We use '1' to preserve default functionality of /f help 1
  371.  '1':
  372.    - '&e&m----------------------------------------------'
  373.    - '                  &c&lFactions Help               '
  374.    - '&e&m----------------------------------------------'
  375.    - '&3/f create  &e>>  &7Create your own faction'
  376.    - '&3/f who      &e>>  &7Show factions info'
  377.    - '&3/f tag      &e>>  &7Change faction tag'
  378.    - '&3/f join     &e>>  &7Join faction'
  379.    - '&3/f list      &e>>  &7List all factions'
  380.    - '&e&m--------------&r &2/f help 2 for more &e&m--------------'
  381.  '2':
  382.    - '&e&m------------------&r&c&l Page 2 &e&m--------------------'
  383.    - '&3/f home     &e>>  &7Teleport to faction home'
  384.    - '&3/f sethome &e>>  &7Set your faction home'
  385.    - '&3/f leave    &e>>  &7Leave your faction'
  386.    - '&3/f invite    &e>>  &7Invite a player to your faction'
  387.    - '&3/f deinvite &e>>  &7Revoke invitation to player'
  388.    - '&e&m--------------&r &2/f help 3 for more &e&m--------------'
  389.  '3':
  390.    - '&e&m------------------&r&c&l Page 3 &e&m--------------------'
  391.    - '&3/f claim     &e>>  &7Claim land'
  392.    - '&3/f unclaim  &e>>  &7Unclaim land'
  393.    - '&3/f kick      &e>>  &7Kick player from your faction'
  394.    - '&3/f mod      &e>>  &7Set player role in faction'
  395.    - '&3/f chat     &e>>  &7Switch to faction chat'
  396.    - '&e&m--------------&r &2/f help 4 for more &e&m--------------'
  397.  '4':
  398.    - '&e&m------------------&r&c&l Page 4 &e&m--------------------'
  399.    - '&3/f version &e>>  &7Display version information'
  400.    - '&e&m--------------&r&2 End of /f help &e&m-----------------'
  401.  
  402. ############################################################
  403. # +------------------------------------------------------+ #
  404. # |                   LWC Integration                    | #
  405. # +------------------------------------------------------+ #
  406. ############################################################
  407. lwc:
  408.  integration: false
  409.  reset-locks-unclaim: false
  410.  reset-locks-capture: false
  411.  
  412. ############################################################
  413. # +------------------------------------------------------+ #
  414. # |                Big List of variables                 | #
  415. # +------------------------------------------------------+ #
  416. ############################################################
  417. # Fancy variables. Can only be used in /f show
  418. #  - {allies-list}  : Lists each faction ally with tooltips
  419. #  - {enemies-list} : Lists each faction enemy with tooltips
  420. #  - {online-list}  : Lists all online members with tooltips
  421. #  - {offline-list} : Lists all offline members with tooltips
  422. # Player variables. Can be used in tooltips.show, scoreboards, or /f show
  423. #  - {group}     : Players group (/f show only)
  424. #  - {name}      : Players name
  425. #  - {lastSeen}  : Last time player was seen (if offline), or just 'Online'
  426. #  - {balance} : Players balance
  427. #  - {player-kills} : # of kills the player has
  428. #  - {player-deaths}: # of deaths the player has
  429. #  - {total-online-visible}: # of players online from the perspective of the current player
  430. # Faction variables. Can be used in tooltips.list, scoreboards, or /f show
  431. #  - {header}    : Default factions header (ex. /f show)
  432. #  - {faction}   : Factions tag (if none, uses lang.yml for factionless name)
  433. #  - {faction-relation-color} : Factions color relative to the viewer
  434. #  - {joining}   : How to join this faction
  435. #  - {power}     : Factions deaths until raidable value
  436. #  - {power-boost}  : DTR Symbol based on current DTR (max, regen, frozen, raidable)
  437. #  - {maxPower}  : Factions max deaths until raidable value
  438. #  - {chunks}    : # of claims faction has (in chunks)
  439. #  - {warps}     : # of warps faction has
  440. #  - {description} : Factions description
  441. #  - {create-date} : Date faction was created
  442. #  - {leader}    : Faction leader
  443. #  - {land-value}  : Value of all claims
  444. #  - {land-refund} : Calculated refund value
  445. #  - {allies}    : # of allies faction has
  446. #  - {enemies}   : # of enemies faction has
  447. #  - {online}    : # of faction members online
  448. #  - {offline}   : # of faction members offline
  449. #  - {members}   : # of faction members (includes offline)
  450. #  - {faction-balance}      : Faction bank balance
  451. #  - {world}, {x}, {y}, {z} : Faction home variables. You don't need to use them all.
  452. #  - {faction-kills} : # of kills the faction has
  453. #  - {faction-deaths}: # of deaths the faction has
  454. #  - {faction-bancount} : # of bans the faction has
  455. # Faction Permissions GUI variables. Can only be used in GUI
  456. # - {relation}            : Shows relation name (Can be used in action and relation)
  457. # - {relation-color}      : Relation color
  458. # - {action}              : Shows action name (Can only be used in action)
  459. # - {action-access}       : Shows the action's access with current relation
  460. # - {action-access-color} : Access color
  461. # General variables. Can be used anywhere.
  462. # - {total-online}  : Total # of players on the server
  463. # - {max-warps}     : Max # of warps a faction can set
  464. # - {max-allies}    : Max # of allies a faction can have
  465. # - {max-enemies}   : Max # of enemies a faction can have
  466. # - {factionless}   : Count of all factionless players online
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement