天灵基哥
1.14服务器
虽然加了自动钓鱼插件,但是挂机钓鱼钓着钓着就会停下来,好像是被扫地插件扫掉了浮标的原因。。
求一个解决方法

Ch_Eng6k
浮标??? 钓鱼竿上面那个东西? 应该不算实体吧

Ch_Eng6k
Ch_Eng6k 发表于 2019-7-29 11:48
浮标??? 钓鱼竿上面那个东西? 应该不算实体吧

是我无知了

天灵基哥
浮标有id吗?该怎么把浮标加进不让clearlag清理的白名单

xmdhs
天灵基哥 发表于 2019-7-29 12:08
浮标有id吗?该怎么把浮标加进不让clearlag清理的白名单

默认不会移除的样子。

把你的配置文件发上来看一下

  remove-entities:
  # - cow <- This mob-type will be REMOVED during removal!
  # - MINECART_MOB_SPAWNER
  # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name

天灵基哥
本帖最后由 天灵基哥 于 2019-7-31 18:58 编辑
  1. settings:
  2.   # 是否启用自动更新
  3.   auto-update: false
  4.   # 配置版本 (不要随意修改)
  5.   config-version: 11
  6.   # 是否启用 ClearLag API
  7.   enable-api: true

  8. #Limits the amount of item transfers for all the hoppers in a single chunk
  9. # 限制在一个区块中所有漏斗一次传输物品的数量
  10. # -- 'transfer-limit' How many transfers per check interval until the hopper should be disabled
  11. # -- 'transfer-limit'
  12. # -- 'check-interval' In seconds, on what interval should the transfer limit be reset
  13. hopper-limiter:
  14.   transfer-limit: 5
  15.   check-interval: 1

  16. #检测您的内存使用量, if it goes above 'limit', run 'commands:'
  17. # -- 'ram-limit' is in MB, do not set it exactly to your max allocated ram amount
  18. # -- 'interval' is how often clearlag will check your ram usage
  19. # -- 'commands' lists the commands that will be ran upon hitting your ram-limit
  20. ram-meter:
  21.   enabled: false
  22.   interval: 20
  23.   ram-limit: 5000
  24.   commands:
  25.     - 'lagg killmobs'
  26.     - 'lagg clear'
  27.     - 'lagg gc'

  28. #This limits how fast a user can move by walking or flying in a single tick (20 ticks a second)
  29. #I HIGHLY recommend you use this on servers with increased player-speed/fly to prevent chunk overload
  30. # -- 'move-max-speed' Max speed on foot
  31. # -- 'fly-max-speed'  Max speed while flying
  32. player-speed-limiter:
  33.   enabled: false
  34.   move-max-speed: 0.7
  35.   fly-max-speed: 0.8

  36. #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
  37. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  38. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  39. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  40. mob-breeding-limiter:
  41.   enabled: false
  42.   max-mobs: 6
  43.   check-radius: 15

  44. #Should clearlag purge logs under /logs when the server starts?
  45. # -- 'days-old' means how many days old can the log be to be deleted
  46. log-purger:
  47.   enabled: false
  48.   days-old: 3

  49. #What type of entities SHOULD NOT be removed while doing /lagg area?
  50. area-filter:
  51.     - Itemframe
  52.     - Minecart
  53.     - Wolf
  54.     - Villager
  55.     - Horse
  56.     - ARMOR_STAND

  57. #Should clearlag reset the config, or attempt to update your config on updates
  58. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  59. # -- settings this to false will make clearlag update your config rather then resetting
  60. config-updater:
  61.   force-update: false

  62. #This limits the mob egg spawners so players cannot "overload" the server with them
  63. # -- 'check-radius' is the radius clearlag will check for nearby entities
  64. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  65. mobegg-limiter:
  66.   enabled: false
  67.   check-radius: 8
  68.   max-mobs: 5

  69. #Disable new chunk generation, or just put a cap on how many can load at once.
  70. #May cause many bugs with Spigot 1.8+, not recommended!
  71. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  72. # -- !UNSTABLE ON SPIGOT BUILDS!
  73. chunk-limiter:
  74.   enabled: false
  75.   limit: 6000
  76.   create-new-chunks: true

  77. #This modifies the view range of entities
  78. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  79. # -- If it's too high, expect bugs / lots of lag
  80. mob-range:
  81.   enabled: false
  82.   zombie: 30
  83.   skeleton: 30
  84.   creeper: 20

  85. #How long should items/Mobs be left on the ground
  86. # -- live-time's go by ticks (20 ticks a second)
  87. live-time:
  88.   enabled: false
  89.   interval: 10
  90.   mobtimer: true
  91.   itemtimer: true
  92.   arrowtimer: true
  93.   arrowkilltime: 15
  94.   moblivetime: 600
  95.   itemlivetime: 240

  96. #This option disallows the placement of too many tnt-minecarts
  97. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  98. tnt-minecart:
  99.   enabled: false
  100.   max: 2
  101.   radius: 6

  102. #This option reduces global dispenser fire rate
  103. # -- 'time' is in milliseconds
  104. dispenser-reducer:
  105.   enabled: false
  106.   time: 100

  107. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  108. # -- 'check-radius' is the radius clearlag will check for primed TNT
  109. # -- 'max-primed' is the max primed TNT within the radius allowed before clearlag begins to remove
  110. tnt-reducer:
  111.   enabled: false
  112.   check-radius: 5
  113.   max-primed: 3

  114. #This option reduces fire spread rate
  115. # -- 'time' is in milliseconds
  116. firespread-reducer:
  117.   enabled: false
  118.   time: 2000

  119. #How many entities should one chunk be allowed to hold?
  120. # -- 'entities' lists all the entities that will be counted
  121. #     and possibly removed.
  122. chunk-entity-limiter:
  123.   enabled: false
  124.   limit: 10
  125.   entities:
  126.     - Squid
  127.     - Zombie
  128.     - Skeleton
  129.     - Creeper
  130.     - Chicken
  131.     - Pig
  132.     - Sheep
  133.     - Cow
  134.     - Horse
  135.   # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)

  136. #How many mobs should be allowed to spawn globally
  137. # -- 'interval' is the check interval check the current spawn amounts
  138. spawn-limiter:
  139.   enabled: false
  140.   interval: 15
  141.   mobs: 300
  142.   animals: 300

  143. #Meters your TPS, if it goes to low, run the commands you wrote below!
  144. # -- 'interval' is how often tps-meter will check the TPS
  145. # -- 'tps-trigger' is at what TPS the commands will be ran at
  146. # -- 'tps-recover' is at what TPS should the TPS be considered stable after 'tps-trigger' is executed
  147. # -- 'commands' lists what commands will be executed when tps-tigger is reached
  148. # -- 'recover-commands' lists what commands will be executed when tps-recover is reached
  149. # -- 'trigger-broadcast-message' specifies which message should be broadcasted when tps-trigger runs
  150. # -- 'recover-broadcast-message' specifies which message should be broadcasted when TPS recovers
  151. # -- 'broadcast-enabled' defines whether or not tps-meter should broadcast
  152. tps-meter:
  153.   enabled: false
  154.   trigger-broadcast-message: '&6[ClearLag] &cThe server is overloaded, executing lag-perventing measures'
  155.   recover-broadcast-message: '&6[ClearLag] &aThe server is no longer overloaded!'
  156.   broadcast-enabled: false
  157.   interval: 15
  158.   tps-trigger: 14.0
  159.   tps-recover: 19.0
  160.   commands:
  161.     - 'lagg killmobs'
  162.     - 'lagg clear'
  163.     - 'lagg halt'
  164.   recover-commands:
  165.     - 'lagg halt'

  166. #This is /lagg killmobs, put what you DON'T want removed!
  167. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  168. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  169. kill-mobs:
  170.    remove-named: false
  171.    mob-filter:
  172.    - Villager
  173.    - Wolf
  174. #  - Pig !name="Test" <- This entity will filtered if the name does NOT equal "Test"
  175. #  - Zombie hasName <- This entity will be filtered if it HAS a name
  176.    - ARMOR_STAND
  177.    - Horse

  178. #This nerfs mob-spawners (Natural and player-made)
  179. #-------------------------------------------------
  180. #This goes by chunks rather then spawners. This is to prevent
  181. #a large buildup of mob-spawners within a small region to "bypass"
  182. #your set limit. It also allows for keys to be generated more easily
  183. #increasing the performance
  184. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  185. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  186. # --  the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  187. mobspawner:
  188.   enabled: false
  189.   max-spawn: 4
  190.   remove-mobs-on-chunk-unload: true

  191. #Dont use if you have CB++ or Spigot!
  192. item-merger:
  193.   enabled: false
  194.   radius: 6

  195. #Auto-removal options
  196. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  197. # -- NOTE: The below 'remove' section applies to this remover!
  198. # -- NOTE: Putting the interval to low will cause issues!
  199. # -- NOTE: To disable "warnings", set it to "warnings: []"
  200. # -- NOTE: bukkit.broadcast.user permission will allow users to see broadcasts (If not enabled by default)
  201. #
  202. #        !==[ All string values MUST be inside '']==!
  203. #
  204. # -- 'remove-entities' lists what entities should be REMOVED on removal
  205. # -- 'warnings' list warnings to be given out at specified times
  206. auto-removal:
  207.   enabled: true
  208.   broadcast-message: '&b[服务器娘]&a哎哟,这次清理了 &c+RemoveAmount 个 &a垃圾,我感觉自己萌萌哒~!'
  209.   broadcast-removal: true
  210.   autoremoval-interval: 900
  211.   world-filter:
  212.   # - this_world <-This world will be ignored during removal!
  213.   boat: false
  214.   falling-block: true
  215.   experience-orb: true
  216.   painting: false
  217.   projectile: true
  218.   item: true
  219.   itemframe: false
  220.   minecart: false
  221.   primed-tnt: true
  222.   item-filter:
  223.   # - 264
  224.   # - 444 <-This item-id will be ignored during removal!
  225.   remove-entities:
  226.   # - cow <- This mob-type will be REMOVED during removal!
  227.   # - MINECART_MOB_SPAWNER
  228.   # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  229.   # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  230.   # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  231.   warnings:
  232.         - 'time:810 msg:&b[服务器娘]&a地上的掉落物将在 &e+remaining秒 &a后清除!'
  233.         - 'time:870 msg:&b[服务器娘]&a地上的掉落物将在 &e+remaining秒 &a后清除!'
  234.         - 'time:890 msg:&b[服务器娘]&a地上的掉落物将在 &e+remaining秒 &a后清除!'

  235. #What should be removed during /lagg clear
  236. command-remove:
  237.   world-filter:
  238.   # - this_world <-This world will be ignored during removal!
  239.   broadcast-removal: false
  240.   boat: true
  241.   falling-block: true
  242.   experience-orb: true
  243.   painting: false
  244.   projectile: true
  245.   item: true
  246.   itemframe: false
  247.   minecart: false
  248.   primed-tnt: true
  249.   item-filter:
  250.   # - 222 <-This item-id will be ignored during removal!
  251.   # - 265
  252.   remove-entities:
  253.   # - cow <- This mob-type will be REMOVED during removal!
  254.   # - MINECART_MOB_SPAWNER
  255.   # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  256.   # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  257.   # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name

  258. # 是否在实体达到指定值时清理所有实体
  259. limit:
  260.   # 是否启用
  261.   enabled: false
  262.   # 实体的最大值
  263.   max: 1000
  264.   # 检查周期 (以秒为单位)
  265.   check-interval: 60
  266.   # 清理时的提示消息
  267.   broadcast-message: '&6[ClearLag] &a已达到实体上限, 成功清除了 +RemoveAmount 个实体!'
  268.   # 清理时忽略的世界
  269.   world-filter:
  270.   # - this_world <-此世界将在清理时被忽略!
  271.   
  272.   #在清理时广播
  273.   broadcast-removal: true
  274.   # 是否清理船实体
  275.   boat: true
  276.   # 是否清理正在掉落的方块 (例如沙子, 沙砾等)
  277.   falling-block: true
  278.   # 是否清理经验实体
  279.   experience-orb: true
  280.   # 是否清理画
  281.   painting: false
  282.   # 是否清理弹射物 (例如箭, 火球等)
  283.   projectile: true
  284.   # 是否清理物品
  285.   item: true
  286.   # 是否清理展示框
  287.   itemframe: false
  288.   # 是否清理矿车
  289.   minecart: true
  290.   # 是否清理爆炸的 TNT
  291.   primed-tnt: true
  292.   # 不清理的物品 ID
  293.   item-filter:
  294.   # - 264
  295.   # - 232 <-此物品ID将在清理时被忽略!
复制代码


天灵基哥
有大佬知道怎么解决吗