Advertisement
Guest User

Untitled

a guest
Jul 11th, 2022
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.18 KB | None | 0 0
  1. ConfigVersion: 10
  2.  
  3.  
  4.  
  5. #Should the plugin auto download and install new versions when they are available
  6.  
  7. UpdateDownload: true
  8.  
  9.  
  10.  
  11. #Leave a command blank if you don't wish to use one, the commands are run during the process of setting the player to AFK
  12.  
  13. #this may cause issues if you attempt to teleport or move the player etc.
  14.  
  15. #The action command must either make the player no longer AFK or remove them from the server
  16.  
  17. Commands:
  18.  
  19. Action: "kick [PLAYER] You were AFK for too long!"
  20.  
  21. AFKStart: ""
  22.  
  23. AFKStop: ""
  24.  
  25. Warn: ""
  26.  
  27.  
  28.  
  29. #The server must have this many player before the action command will be run
  30.  
  31. #When the server hits this limit the players who have been AFK longer than the normal action time will be kicked
  32.  
  33. #Its also recommended that you edit the warning message to tell players that they will be kicked when the server reaches x players
  34.  
  35. #Setting to 0 means that players will always be acted upon when they reach their time to action
  36.  
  37. ActionPlayerRequirement: 0
  38.  
  39.  
  40.  
  41. #The sound to be played when a player is warned
  42.  
  43. #Set to blank if you don't want a sound e.g. ""
  44.  
  45. #A list of sounds for the latest spigot version is available at
  46.  
  47. #https://github.com/CryptoMorin/XSeries/blob/master/src/main/java/com/cryptomorin/xseries/XSound.java#L64
  48.  
  49. WarningSound: "ENTITY_PLAYER_LEVELUP"
  50.  
  51.  
  52.  
  53. #The sound to be played to a player when they become AFK
  54.  
  55. #Set to blank if you don't want a sound
  56.  
  57. AFKStartSound: "BLOCK_ANVIL_HIT"
  58.  
  59.  
  60.  
  61. #A player will be set as AFK if they don't interact with the world
  62.  
  63. #What should be counted as an interaction?
  64.  
  65. #Set too false to ignore
  66.  
  67. EnabledDetections:
  68.  
  69. #Sending chat messages
  70.  
  71. Chat: true
  72.  
  73. #The players head/body rotating in place
  74.  
  75. Look: true
  76.  
  77. #Moving in the x,y,z directions
  78.  
  79. Move: true
  80.  
  81. #Attacking entities
  82.  
  83. Attack: true
  84.  
  85. #Running commands
  86.  
  87. Command: true
  88.  
  89. #Right-clicking blocks
  90.  
  91. Interact: true
  92.  
  93. #Placing blocks
  94.  
  95. BlockPlace: true
  96.  
  97. #Breaking blocks
  98.  
  99. BlockBreak: true
  100.  
  101.  
  102.  
  103. #Movement magnitude means that players need to move or look a certain distance before they will be marked as not AFK
  104.  
  105. MovementMagnitude:
  106.  
  107. #Should the movement magnitude system be enabled
  108.  
  109. Enabled: false
  110.  
  111. #How far does the player need to move every second to be counted as moving
  112.  
  113. PositionTrigger: 1.0
  114.  
  115. #What angle does the player need to look every second to be counted as looking
  116.  
  117. LookTrigger: 3.0
  118.  
  119.  
  120.  
  121. Protections:
  122.  
  123. #When enabled AFK players will not be able to move in the x and z directions while AFK.
  124.  
  125. #This stops them being pushed out of AFK by players bumping into them
  126.  
  127. #This is implemented better in AFKPlusPrefix, but that addon is not compatible with all servers
  128.  
  129. #so this is a different implementation of the fix
  130.  
  131. Bump: false
  132.  
  133. #When enabled AFK players will be invincible to attacks from other players
  134.  
  135. HurtByPlayer: false
  136.  
  137. #When enabled AFK players will be invincible to attacks from mobs
  138.  
  139. HurtByMob: true
  140.  
  141. #Same as HurtByPlayer but stops any non-player damage
  142.  
  143. HurtByOther: true
  144.  
  145. #When enabled, mobs will not spawn if the AFK player is the cause of the spawning
  146.  
  147. #This only applies to natural and spawner spawning
  148.  
  149. MobSpawning: true
  150.  
  151.  
  152.  
  153. #Who should receive messages when players AFK status changes
  154.  
  155. #Self = the player whose status has changed
  156.  
  157. #Vanish = if the player whose status has changed is vanished
  158.  
  159. Broadcast:
  160.  
  161. Console: true
  162.  
  163. OtherPlayers: true
  164.  
  165. Self: true
  166.  
  167. Vanish: false
  168.  
  169.  
  170.  
  171. #Enabling aggressive AFK detection will tighten tolerances on AFK machines but may slow down the reaction time of
  172.  
  173. #removing players from AFK and may also mark players as AFK when they are simply not moving much, this should only
  174.  
  175. #be enabled if you are having trouble with players using machines like AFK fishing farms
  176.  
  177. AggressiveAFKDetection: false
  178.  
  179.  
  180.  
  181. #Setting this to true will mean AFK players are ignored when calculating if night should be skipped
  182.  
  183. #See this page for info on how it works
  184.  
  185. #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Player.html#setSleepingIgnored(boolean)
  186.  
  187. IgnoreAFKPlayersForSleep: true
  188.  
  189.  
  190.  
  191. #Permissions can be true/false/value
  192.  
  193. #0 = false, 1 = true or any whole number for a value
  194.  
  195. #e.g. AFKSelf = 0 or 1 whereas TimeToAFK can be any number of seconds
  196.  
  197. #Action and warning times are how long the player has been AFK, not how long since the last interact
  198.  
  199.  
  200.  
  201. #You no longer need to list values that differ from the default values below
  202.  
  203. # Default=0, Priority=0, AFKSelf=1, AFKOthers=0, FakeAFK=0, TimeToAFK=30, TimeToWarning=90, TimeToAction=120 and CanUpdate=0
  204.  
  205. Permissions:
  206.  
  207. afkplus,player:
  208.  
  209. #Who should get this permission without it being given, 0 = no one, 1 = everyone, 2 = Ops
  210.  
  211. Default: 1
  212.  
  213. #If a player has more than 1 permission they will be given the one with the highest priority
  214.  
  215. Priority: 1
  216.  
  217. #Can the player set themselves as AFK with the /afk command
  218.  
  219. AFKSelf: 1
  220.  
  221. #Can the player set others as AFK with the /afk command
  222.  
  223. AFKOthers: 0
  224.  
  225. #How many seconds of inactivity are required before they will automatically be set as AFK
  226.  
  227. #Set to -1 if the player shouldn't be automatically placed in AFK
  228.  
  229. TimeToAFK: 30
  230.  
  231. #How many seconds of AFK are required before the player is warned about action being taken
  232.  
  233. #Set to -1 to disable warnings for this permission
  234.  
  235. TimeToWarning: 90
  236.  
  237. #How many seconds of AFK are required before the player is acted upon
  238.  
  239. #Set to -1 to disable actions for this permission
  240.  
  241. TimeToAction: 120
  242.  
  243. #Can this player use the update command to install new versions
  244.  
  245. CanUpdate: 0
  246.  
  247. afkplus,vip:
  248.  
  249. #If a player has more than 1 permission they will be given the one with the highest priority
  250.  
  251. Priority: 2
  252.  
  253. #How many seconds of inactivity are required before they will automatically be set as AFK
  254.  
  255. #Set to -1 if the player shouldn't be automatically placed in AFK
  256.  
  257. TimeToAFK: 60
  258.  
  259. #How many seconds of AFK are required before the player is warned about action being taken
  260.  
  261. #Set to -1 to disable warnings for this permission
  262.  
  263. TimeToWarning: 120
  264.  
  265. #How many seconds of AFK are required before the player is acted upon
  266.  
  267. #Set to -1 to disable actions for this permission
  268.  
  269. TimeToAction: 150
  270.  
  271. afkplus,admin:
  272.  
  273. #Who should get this permission without it being given, 0 = no one, 1 = everyone, 2 = Ops
  274.  
  275. Default: 2
  276.  
  277. #If a player has more than 1 permission they will be given the one with the highest priority
  278.  
  279. Priority: 3
  280.  
  281. #Can the player set others as AFK with the /afk command
  282.  
  283. AFKOthers: 1
  284.  
  285. #Can the player enable a FakeAFK state to hide from players by appearing as AFK
  286.  
  287. FakeAFK: 1
  288.  
  289. #How many seconds of inactivity are required before they will automatically be set as AFK
  290.  
  291. #Set to -1 if the player shouldn't be automatically placed in AFK
  292.  
  293. TimeToAFK: 90
  294.  
  295. #How many seconds of AFK are required before the player is warned about action being taken
  296.  
  297. #Set to -1 to disable warnings for this permission
  298.  
  299. TimeToWarning: -1
  300.  
  301. #How many seconds of AFK are required before the player is acted upon
  302.  
  303. #Set to -1 to disable actions for this permission
  304.  
  305. TimeToAction: -1
  306.  
  307. #Can this player use the update command to install new versions
  308.  
  309. CanUpdate: 1ConfigVersion: 10
  310.  
  311.  
  312.  
  313. #Should the plugin auto download and install new versions when they are available
  314.  
  315. UpdateDownload: true
  316.  
  317.  
  318.  
  319. #Leave a command blank if you don't wish to use one, the commands are run during the process of setting the player to AFK
  320.  
  321. #this may cause issues if you attempt to teleport or move the player etc.
  322.  
  323. #The action command must either make the player no longer AFK or remove them from the server
  324.  
  325. Commands:
  326.  
  327. Action: "kick [PLAYER] You were AFK for too long!"
  328.  
  329. AFKStart: ""
  330.  
  331. AFKStop: ""
  332.  
  333. Warn: ""
  334.  
  335.  
  336.  
  337. #The server must have this many player before the action command will be run
  338.  
  339. #When the server hits this limit the players who have been AFK longer than the normal action time will be kicked
  340.  
  341. #Its also recommended that you edit the warning message to tell players that they will be kicked when the server reaches x players
  342.  
  343. #Setting to 0 means that players will always be acted upon when they reach their time to action
  344.  
  345. ActionPlayerRequirement: 0
  346.  
  347.  
  348.  
  349. #The sound to be played when a player is warned
  350.  
  351. #Set to blank if you don't want a sound e.g. ""
  352.  
  353. #A list of sounds for the latest spigot version is available at
  354.  
  355. #https://github.com/CryptoMorin/XSeries/blob/master/src/main/java/com/cryptomorin/xseries/XSound.java#L64
  356.  
  357. WarningSound: "ENTITY_PLAYER_LEVELUP"
  358.  
  359.  
  360.  
  361. #The sound to be played to a player when they become AFK
  362.  
  363. #Set to blank if you don't want a sound
  364.  
  365. AFKStartSound: "BLOCK_ANVIL_HIT"
  366.  
  367.  
  368.  
  369. #A player will be set as AFK if they don't interact with the world
  370.  
  371. #What should be counted as an interaction?
  372.  
  373. #Set too false to ignore
  374.  
  375. EnabledDetections:
  376.  
  377. #Sending chat messages
  378.  
  379. Chat: true
  380.  
  381. #The players head/body rotating in place
  382.  
  383. Look: true
  384.  
  385. #Moving in the x,y,z directions
  386.  
  387. Move: true
  388.  
  389. #Attacking entities
  390.  
  391. Attack: true
  392.  
  393. #Running commands
  394.  
  395. Command: true
  396.  
  397. #Right-clicking blocks
  398.  
  399. Interact: true
  400.  
  401. #Placing blocks
  402.  
  403. BlockPlace: true
  404.  
  405. #Breaking blocks
  406.  
  407. BlockBreak: true
  408.  
  409.  
  410.  
  411. #Movement magnitude means that players need to move or look a certain distance before they will be marked as not AFK
  412.  
  413. MovementMagnitude:
  414.  
  415. #Should the movement magnitude system be enabled
  416.  
  417. Enabled: false
  418.  
  419. #How far does the player need to move every second to be counted as moving
  420.  
  421. PositionTrigger: 1.0
  422.  
  423. #What angle does the player need to look every second to be counted as looking
  424.  
  425. LookTrigger: 3.0
  426.  
  427.  
  428.  
  429. Protections:
  430.  
  431. #When enabled AFK players will not be able to move in the x and z directions while AFK.
  432.  
  433. #This stops them being pushed out of AFK by players bumping into them
  434.  
  435. #This is implemented better in AFKPlusPrefix, but that addon is not compatible with all servers
  436.  
  437. #so this is a different implementation of the fix
  438.  
  439. Bump: false
  440.  
  441. #When enabled AFK players will be invincible to attacks from other players
  442.  
  443. HurtByPlayer: false
  444.  
  445. #When enabled AFK players will be invincible to attacks from mobs
  446.  
  447. HurtByMob: true
  448.  
  449. #Same as HurtByPlayer but stops any non-player damage
  450.  
  451. HurtByOther: true
  452.  
  453. #When enabled, mobs will not spawn if the AFK player is the cause of the spawning
  454.  
  455. #This only applies to natural and spawner spawning
  456.  
  457. MobSpawning: true
  458.  
  459.  
  460.  
  461. #Who should receive messages when players AFK status changes
  462.  
  463. #Self = the player whose status has changed
  464.  
  465. #Vanish = if the player whose status has changed is vanished
  466.  
  467. Broadcast:
  468.  
  469. Console: true
  470.  
  471. OtherPlayers: true
  472.  
  473. Self: true
  474.  
  475. Vanish: false
  476.  
  477.  
  478.  
  479. #Enabling aggressive AFK detection will tighten tolerances on AFK machines but may slow down the reaction time of
  480.  
  481. #removing players from AFK and may also mark players as AFK when they are simply not moving much, this should only
  482.  
  483. #be enabled if you are having trouble with players using machines like AFK fishing farms
  484.  
  485. AggressiveAFKDetection: false
  486.  
  487.  
  488.  
  489. #Setting this to true will mean AFK players are ignored when calculating if night should be skipped
  490.  
  491. #See this page for info on how it works
  492.  
  493. #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Player.html#setSleepingIgnored(boolean)
  494.  
  495. IgnoreAFKPlayersForSleep: true
  496.  
  497.  
  498.  
  499. #Permissions can be true/false/value
  500.  
  501. #0 = false, 1 = true or any whole number for a value
  502.  
  503. #e.g. AFKSelf = 0 or 1 whereas TimeToAFK can be any number of seconds
  504.  
  505. #Action and warning times are how long the player has been AFK, not how long since the last interact
  506.  
  507.  
  508.  
  509. #You no longer need to list values that differ from the default values below
  510.  
  511. # Default=0, Priority=0, AFKSelf=1, AFKOthers=0, FakeAFK=0, TimeToAFK=30, TimeToWarning=90, TimeToAction=120 and CanUpdate=0
  512.  
  513. Permissions:
  514.  
  515. afkplus,player:
  516.  
  517. #Who should get this permission without it being given, 0 = no one, 1 = everyone, 2 = Ops
  518.  
  519. Default: 1
  520.  
  521. #If a player has more than 1 permission they will be given the one with the highest priority
  522.  
  523. Priority: 1
  524.  
  525. #Can the player set themselves as AFK with the /afk command
  526.  
  527. AFKSelf: 1
  528.  
  529. #Can the player set others as AFK with the /afk command
  530.  
  531. AFKOthers: 0
  532.  
  533. #How many seconds of inactivity are required before they will automatically be set as AFK
  534.  
  535. #Set to -1 if the player shouldn't be automatically placed in AFK
  536.  
  537. TimeToAFK: 300
  538.  
  539. #How many seconds of AFK are required before the player is warned about action being taken
  540.  
  541. #Set to -1 to disable warnings for this permission
  542.  
  543. TimeToWarning: 90
  544.  
  545. #How many seconds of AFK are required before the player is acted upon
  546.  
  547. #Set to -1 to disable actions for this permission
  548.  
  549. TimeToAction: 120
  550.  
  551. #Can this player use the update command to install new versions
  552.  
  553. CanUpdate: 0
  554.  
  555. afkplus,vip:
  556.  
  557. #If a player has more than 1 permission they will be given the one with the highest priority
  558.  
  559. Priority: 2
  560.  
  561. #How many seconds of inactivity are required before they will automatically be set as AFK
  562.  
  563. #Set to -1 if the player shouldn't be automatically placed in AFK
  564.  
  565. TimeToAFK: 60
  566.  
  567. #How many seconds of AFK are required before the player is warned about action being taken
  568.  
  569. #Set to -1 to disable warnings for this permission
  570.  
  571. TimeToWarning: 120
  572.  
  573. #How many seconds of AFK are required before the player is acted upon
  574.  
  575. #Set to -1 to disable actions for this permission
  576.  
  577. TimeToAction: 150
  578.  
  579. afkplus,admin:
  580.  
  581. #Who should get this permission without it being given, 0 = no one, 1 = everyone, 2 = Ops
  582.  
  583. Default: 2
  584.  
  585. #If a player has more than 1 permission they will be given the one with the highest priority
  586.  
  587. Priority: 3
  588.  
  589. #Can the player set others as AFK with the /afk command
  590.  
  591. AFKOthers: 1
  592.  
  593. #Can the player enable a FakeAFK state to hide from players by appearing as AFK
  594.  
  595. FakeAFK: 1
  596.  
  597. #How many seconds of inactivity are required before they will automatically be set as AFK
  598.  
  599. #Set to -1 if the player shouldn't be automatically placed in AFK
  600.  
  601. TimeToAFK: 90
  602.  
  603. #How many seconds of AFK are required before the player is warned about action being taken
  604.  
  605. #Set to -1 to disable warnings for this permission
  606.  
  607. TimeToWarning: -1
  608.  
  609. #How many seconds of AFK are required before the player is acted upon
  610.  
  611. #Set to -1 to disable actions for this permission
  612.  
  613. TimeToAction: -1
  614.  
  615. #Can this player use the update command to install new versions
  616.  
  617. CanUpdate: 1ConfigVersion: 10
  618.  
  619.  
  620.  
  621. #Should the plugin auto download and install new versions when they are available
  622.  
  623. UpdateDownload: true
  624.  
  625.  
  626.  
  627. #Leave a command blank if you don't wish to use one, the commands are run during the process of setting the player to AFK
  628.  
  629. #this may cause issues if you attempt to teleport or move the player etc.
  630.  
  631. #The action command must either make the player no longer AFK or remove them from the server
  632.  
  633. Commands:
  634.  
  635. Action: "kick [PLAYER] You were AFK for too long!"
  636.  
  637. AFKStart: ""
  638.  
  639. AFKStop: ""
  640.  
  641. Warn: ""
  642.  
  643.  
  644.  
  645. #The server must have this many player before the action command will be run
  646.  
  647. #When the server hits this limit the players who have been AFK longer than the normal action time will be kicked
  648.  
  649. #Its also recommended that you edit the warning message to tell players that they will be kicked when the server reaches x players
  650.  
  651. #Setting to 0 means that players will always be acted upon when they reach their time to action
  652.  
  653. ActionPlayerRequirement: 0
  654.  
  655.  
  656.  
  657. #The sound to be played when a player is warned
  658.  
  659. #Set to blank if you don't want a sound e.g. ""
  660.  
  661. #A list of sounds for the latest spigot version is available at
  662.  
  663. #https://github.com/CryptoMorin/XSeries/blob/master/src/main/java/com/cryptomorin/xseries/XSound.java#L64
  664.  
  665. WarningSound: "ENTITY_PLAYER_LEVELUP"
  666.  
  667.  
  668.  
  669. #The sound to be played to a player when they become AFK
  670.  
  671. #Set to blank if you don't want a sound
  672.  
  673. AFKStartSound: "BLOCK_ANVIL_HIT"
  674.  
  675.  
  676.  
  677. #A player will be set as AFK if they don't interact with the world
  678.  
  679. #What should be counted as an interaction?
  680.  
  681. #Set too false to ignore
  682.  
  683. EnabledDetections:
  684.  
  685. #Sending chat messages
  686.  
  687. Chat: true
  688.  
  689. #The players head/body rotating in place
  690.  
  691. Look: true
  692.  
  693. #Moving in the x,y,z directions
  694.  
  695. Move: true
  696.  
  697. #Attacking entities
  698.  
  699. Attack: true
  700.  
  701. #Running commands
  702.  
  703. Command: true
  704.  
  705. #Right-clicking blocks
  706.  
  707. Interact: true
  708.  
  709. #Placing blocks
  710.  
  711. BlockPlace: true
  712.  
  713. #Breaking blocks
  714.  
  715. BlockBreak: true
  716.  
  717.  
  718.  
  719. #Movement magnitude means that players need to move or look a certain distance before they will be marked as not AFK
  720.  
  721. MovementMagnitude:
  722.  
  723. #Should the movement magnitude system be enabled
  724.  
  725. Enabled: false
  726.  
  727. #How far does the player need to move every second to be counted as moving
  728.  
  729. PositionTrigger: 1.0
  730.  
  731. #What angle does the player need to look every second to be counted as looking
  732.  
  733. LookTrigger: 3.0
  734.  
  735.  
  736.  
  737. Protections:
  738.  
  739. #When enabled AFK players will not be able to move in the x and z directions while AFK.
  740.  
  741. #This stops them being pushed out of AFK by players bumping into them
  742.  
  743. #This is implemented better in AFKPlusPrefix, but that addon is not compatible with all servers
  744.  
  745. #so this is a different implementation of the fix
  746.  
  747. Bump: false
  748.  
  749. #When enabled AFK players will be invincible to attacks from other players
  750.  
  751. HurtByPlayer: false
  752.  
  753. #When enabled AFK players will be invincible to attacks from mobs
  754.  
  755. HurtByMob: true
  756.  
  757. #Same as HurtByPlayer but stops any non-player damage
  758.  
  759. HurtByOther: true
  760.  
  761. #When enabled, mobs will not spawn if the AFK player is the cause of the spawning
  762.  
  763. #This only applies to natural and spawner spawning
  764.  
  765. MobSpawning: true
  766.  
  767.  
  768.  
  769. #Who should receive messages when players AFK status changes
  770.  
  771. #Self = the player whose status has changed
  772.  
  773. #Vanish = if the player whose status has changed is vanished
  774.  
  775. Broadcast:
  776.  
  777. Console: true
  778.  
  779. OtherPlayers: false
  780.  
  781. Self: true
  782.  
  783. Vanish: false
  784.  
  785.  
  786.  
  787. #Enabling aggressive AFK detection will tighten tolerances on AFK machines but may slow down the reaction time of
  788.  
  789. #removing players from AFK and may also mark players as AFK when they are simply not moving much, this should only
  790.  
  791. #be enabled if you are having trouble with players using machines like AFK fishing farms
  792.  
  793. AggressiveAFKDetection: false
  794.  
  795.  
  796.  
  797. #Setting this to true will mean AFK players are ignored when calculating if night should be skipped
  798.  
  799. #See this page for info on how it works
  800.  
  801. #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Player.html#setSleepingIgnored(boolean)
  802.  
  803. IgnoreAFKPlayersForSleep: true
  804.  
  805.  
  806.  
  807. #Permissions can be true/false/value
  808.  
  809. #0 = false, 1 = true or any whole number for a value
  810.  
  811. #e.g. AFKSelf = 0 or 1 whereas TimeToAFK can be any number of seconds
  812.  
  813. #Action and warning times are how long the player has been AFK, not how long since the last interact
  814.  
  815.  
  816.  
  817. #You no longer need to list values that differ from the default values below
  818.  
  819. # Default=0, Priority=0, AFKSelf=1, AFKOthers=0, FakeAFK=0, TimeToAFK=30, TimeToWarning=90, TimeToAction=120 and CanUpdate=0
  820.  
  821. Permissions:
  822.  
  823. afkplus,player:
  824.  
  825. #Who should get this permission without it being given, 0 = no one, 1 = everyone, 2 = Ops
  826.  
  827. Default: 1
  828.  
  829. #If a player has more than 1 permission they will be given the one with the highest priority
  830.  
  831. Priority: 1
  832.  
  833. #Can the player set themselves as AFK with the /afk command
  834.  
  835. AFKSelf: 1
  836.  
  837. #Can the player set others as AFK with the /afk command
  838.  
  839. AFKOthers: 0
  840.  
  841. #How many seconds of inactivity are required before they will automatically be set as AFK
  842.  
  843. #Set to -1 if the player shouldn't be automatically placed in AFK
  844.  
  845. TimeToAFK: 600
  846.  
  847. #How many seconds of AFK are required before the player is warned about action being taken
  848.  
  849. #Set to -1 to disable warnings for this permission
  850.  
  851. TimeToWarning: 90
  852.  
  853. #How many seconds of AFK are required before the player is acted upon
  854.  
  855. #Set to -1 to disable actions for this permission
  856.  
  857. TimeToAction: 60
  858.  
  859. #Can this player use the update command to install new versions
  860.  
  861. CanUpdate: 0
  862.  
  863. afkplus,vip:
  864.  
  865. #If a player has more than 1 permission they will be given the one with the highest priority
  866.  
  867. Priority: 2
  868.  
  869. #How many seconds of inactivity are required before they will automatically be set as AFK
  870.  
  871. #Set to -1 if the player shouldn't be automatically placed in AFK
  872.  
  873. TimeToAFK: 60
  874.  
  875. #How many seconds of AFK are required before the player is warned about action being taken
  876.  
  877. #Set to -1 to disable warnings for this permission
  878.  
  879. TimeToWarning: 120
  880.  
  881. #How many seconds of AFK are required before the player is acted upon
  882.  
  883. #Set to -1 to disable actions for this permission
  884.  
  885. TimeToAction: 150
  886.  
  887. afkplus,admin:
  888.  
  889. #Who should get this permission without it being given, 0 = no one, 1 = everyone, 2 = Ops
  890.  
  891. Default: 2
  892.  
  893. #If a player has more than 1 permission they will be given the one with the highest priority
  894.  
  895. Priority: 3
  896.  
  897. #Can the player set others as AFK with the /afk command
  898.  
  899. AFKOthers: 1
  900.  
  901. #Can the player enable a FakeAFK state to hide from players by appearing as AFK
  902.  
  903. FakeAFK: 1
  904.  
  905. #How many seconds of inactivity are required before they will automatically be set as AFK
  906.  
  907. #Set to -1 if the player shouldn't be automatically placed in AFK
  908.  
  909. TimeToAFK: 90
  910.  
  911. #How many seconds of AFK are required before the player is warned about action being taken
  912.  
  913. #Set to -1 to disable warnings for this permission
  914.  
  915. TimeToWarning: -1
  916.  
  917. #How many seconds of AFK are required before the player is acted upon
  918.  
  919. #Set to -1 to disable actions for this permission
  920.  
  921. TimeToAction: -1
  922.  
  923. #Can this player use the update command to install new versions
  924.  
  925. CanUpdate: 1ConfigVersion: 10
  926.  
  927.  
  928.  
  929. #Should the plugin auto download and install new versions when they are available
  930.  
  931. UpdateDownload: true
  932.  
  933.  
  934.  
  935. #Leave a command blank if you don't wish to use one, the commands are run during the process of setting the player to AFK
  936.  
  937. #this may cause issues if you attempt to teleport or move the player etc.
  938.  
  939. #The action command must either make the player no longer AFK or remove them from the server
  940.  
  941. Commands:
  942.  
  943. Action: "kick [PLAYER] You were AFK for too long!"
  944.  
  945. AFKStart: ""
  946.  
  947. AFKStop: ""
  948.  
  949. Warn: ""
  950.  
  951.  
  952.  
  953. #The server must have this many player before the action command will be run
  954.  
  955. #When the server hits this limit the players who have been AFK longer than the normal action time will be kicked
  956.  
  957. #Its also recommended that you edit the warning message to tell players that they will be kicked when the server reaches x players
  958.  
  959. #Setting to 0 means that players will always be acted upon when they reach their time to action
  960.  
  961. ActionPlayerRequirement: 0
  962.  
  963.  
  964.  
  965. #The sound to be played when a player is warned
  966.  
  967. #Set to blank if you don't want a sound e.g. ""
  968.  
  969. #A list of sounds for the latest spigot version is available at
  970.  
  971. #https://github.com/CryptoMorin/XSeries/blob/master/src/main/java/com/cryptomorin/xseries/XSound.java#L64
  972.  
  973. WarningSound: "ENTITY_PLAYER_LEVELUP"
  974.  
  975.  
  976.  
  977. #The sound to be played to a player when they become AFK
  978.  
  979. #Set to blank if you don't want a sound
  980.  
  981. AFKStartSound: "BLOCK_ANVIL_HIT"
  982.  
  983.  
  984.  
  985. #A player will be set as AFK if they don't interact with the world
  986.  
  987. #What should be counted as an interaction?
  988.  
  989. #Set too false to ignore
  990.  
  991. EnabledDetections:
  992.  
  993. #Sending chat messages
  994.  
  995. Chat: true
  996.  
  997. #The players head/body rotating in place
  998.  
  999. Look: true
  1000.  
  1001. #Moving in the x,y,z directions
  1002.  
  1003. Move: true
  1004.  
  1005. #Attacking entities
  1006.  
  1007. Attack: true
  1008.  
  1009. #Running commands
  1010.  
  1011. Command: true
  1012.  
  1013. #Right-clicking blocks
  1014.  
  1015. Interact: true
  1016.  
  1017. #Placing blocks
  1018.  
  1019. BlockPlace: true
  1020.  
  1021. #Breaking blocks
  1022.  
  1023. BlockBreak: true
  1024.  
  1025.  
  1026.  
  1027. #Movement magnitude means that players need to move or look a certain distance before they will be marked as not AFK
  1028.  
  1029. MovementMagnitude:
  1030.  
  1031. #Should the movement magnitude system be enabled
  1032.  
  1033. Enabled: false
  1034.  
  1035. #How far does the player need to move every second to be counted as moving
  1036.  
  1037. PositionTrigger: 1.0
  1038.  
  1039. #What angle does the player need to look every second to be counted as looking
  1040.  
  1041. LookTrigger: 3.0
  1042.  
  1043.  
  1044.  
  1045. Protections:
  1046.  
  1047. #When enabled AFK players will not be able to move in the x and z directions while AFK.
  1048.  
  1049. #This stops them being pushed out of AFK by players bumping into them
  1050.  
  1051. #This is implemented better in AFKPlusPrefix, but that addon is not compatible with all servers
  1052.  
  1053. #so this is a different implementation of the fix
  1054.  
  1055. Bump: false
  1056.  
  1057. #When enabled AFK players will be invincible to attacks from other players
  1058.  
  1059. HurtByPlayer: false
  1060.  
  1061. #When enabled AFK players will be invincible to attacks from mobs
  1062.  
  1063. HurtByMob: true
  1064.  
  1065. #Same as HurtByPlayer but stops any non-player damage
  1066.  
  1067. HurtByOther: true
  1068.  
  1069. #When enabled, mobs will not spawn if the AFK player is the cause of the spawning
  1070.  
  1071. #This only applies to natural and spawner spawning
  1072.  
  1073. MobSpawning: true
  1074.  
  1075.  
  1076.  
  1077. #Who should receive messages when players AFK status changes
  1078.  
  1079. #Self = the player whose status has changed
  1080.  
  1081. #Vanish = if the player whose status has changed is vanished
  1082.  
  1083. Broadcast:
  1084.  
  1085. Console: true
  1086.  
  1087. OtherPlayers: false
  1088.  
  1089. Self: true
  1090.  
  1091. Vanish: false
  1092.  
  1093.  
  1094.  
  1095. #Enabling aggressive AFK detection will tighten tolerances on AFK machines but may slow down the reaction time of
  1096.  
  1097. #removing players from AFK and may also mark players as AFK when they are simply not moving much, this should only
  1098.  
  1099. #be enabled if you are having trouble with players using machines like AFK fishing farms
  1100.  
  1101. AggressiveAFKDetection: false
  1102.  
  1103.  
  1104.  
  1105. #Setting this to true will mean AFK players are ignored when calculating if night should be skipped
  1106.  
  1107. #See this page for info on how it works
  1108.  
  1109. #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Player.html#setSleepingIgnored(boolean)
  1110.  
  1111. IgnoreAFKPlayersForSleep: true
  1112.  
  1113.  
  1114.  
  1115. #Permissions can be true/false/value
  1116.  
  1117. #0 = false, 1 = true or any whole number for a value
  1118.  
  1119. #e.g. AFKSelf = 0 or 1 whereas TimeToAFK can be any number of seconds
  1120.  
  1121. #Action and warning times are how long the player has been AFK, not how long since the last interact
  1122.  
  1123.  
  1124.  
  1125. #You no longer need to list values that differ from the default values below
  1126.  
  1127. # Default=0, Priority=0, AFKSelf=1, AFKOthers=0, FakeAFK=0, TimeToAFK=30, TimeToWarning=90, TimeToAction=120 and CanUpdate=0
  1128.  
  1129. Permissions:
  1130.  
  1131. afkplus,player:
  1132.  
  1133. #Who should get this permission without it being given, 0 = no one, 1 = everyone, 2 = Ops
  1134.  
  1135. Default: 1
  1136.  
  1137. #If a player has more than 1 permission they will be given the one with the highest priority
  1138.  
  1139. Priority: 1
  1140.  
  1141. #Can the player set themselves as AFK with the /afk command
  1142.  
  1143. AFKSelf: 1
  1144.  
  1145. #Can the player set others as AFK with the /afk command
  1146.  
  1147. AFKOthers: 0
  1148.  
  1149. #How many seconds of inactivity are required before they will automatically be set as AFK
  1150.  
  1151. #Set to -1 if the player shouldn't be automatically placed in AFK
  1152.  
  1153. TimeToAFK: 300
  1154.  
  1155. #How many seconds of AFK are required before the player is warned about action being taken
  1156.  
  1157. #Set to -1 to disable warnings for this permission
  1158.  
  1159. TimeToWarning: 90
  1160.  
  1161. #How many seconds of AFK are required before the player is acted upon
  1162.  
  1163. #Set to -1 to disable actions for this permission
  1164.  
  1165. TimeToAction: 120
  1166.  
  1167. #Can this player use the update command to install new versions
  1168.  
  1169. CanUpdate: 0
  1170.  
  1171. afkplus,vip:
  1172.  
  1173. #If a player has more than 1 permission they will be given the one with the highest priority
  1174.  
  1175. Priority: 2
  1176.  
  1177. #How many seconds of inactivity are required before they will automatically be set as AFK
  1178.  
  1179. #Set to -1 if the player shouldn't be automatically placed in AFK
  1180.  
  1181. TimeToAFK: 60
  1182.  
  1183. #How many seconds of AFK are required before the player is warned about action being taken
  1184.  
  1185. #Set to -1 to disable warnings for this permission
  1186.  
  1187. TimeToWarning: 120
  1188.  
  1189. #How many seconds of AFK are required before the player is acted upon
  1190.  
  1191. #Set to -1 to disable actions for this permission
  1192.  
  1193. TimeToAction: 150
  1194.  
  1195. afkplus,admin:
  1196.  
  1197. #Who should get this permission without it being given, 0 = no one, 1 = everyone, 2 = Ops
  1198.  
  1199. Default: 2
  1200.  
  1201. #If a player has more than 1 permission they will be given the one with the highest priority
  1202.  
  1203. Priority: 3
  1204.  
  1205. #Can the player set others as AFK with the /afk command
  1206.  
  1207. AFKOthers: 1
  1208.  
  1209. #Can the player enable a FakeAFK state to hide from players by appearing as AFK
  1210.  
  1211. FakeAFK: 1
  1212.  
  1213. #How many seconds of inactivity are required before they will automatically be set as AFK
  1214.  
  1215. #Set to -1 if the player shouldn't be automatically placed in AFK
  1216.  
  1217. TimeToAFK: -1
  1218.  
  1219. #How many seconds of AFK are required before the player is warned about action being taken
  1220.  
  1221. #Set to -1 to disable warnings for this permission
  1222.  
  1223. TimeToWarning: -1
  1224.  
  1225. #How many seconds of AFK are required before the player is acted upon
  1226.  
  1227. #Set to -1 to disable actions for this permission
  1228.  
  1229. TimeToAction: -1
  1230.  
  1231. #Can this player use the update command to install new versions
  1232.  
  1233. CanUpdate: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement