Çözüldü gelişmiş clearlagg

  • Konuyu Başlatan Konuyu Başlatan SonCesurlar
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 1.733
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

SonCesurlar

Altın Benim Yeni Sevgilim
Katılım
15 Şubat 2017
Mesajlar
429
Elmaslar
31
Puan
13.670
Yaş
27
Minecraft
Hunrazy
s.a mctr ailesi ben spigota gezerken bir puligin görüdm hem itmeleri siliyordu hemde mobları aynı anda siliyordu ve neyazkai pulignin aıdnı kaybetim bilen varsa yazarsa sevinirim ilginiz için teşekür ederim ...
 
ClearLagg plugininide mevcut olması gerekli
chunk-entity-limiter bölümü true yaparsanız
Ram-meter bölümüde varda tam olarak emin değilim ondan lagg killmobs çekiyor
 
ClearLagg plugininide mevcut olması gerekli
chunk-entity-limiter bölümü true yaparsanız
Ram-meter bölümüde varda tam olarak emin değilim ondan lagg killmobs çekiyor
Normal clearlaggda maalesef yok ekstra skript yazmak gerek
 
Kod:
every 2 minute:
    execute console command "lagg clear"
    wait 2 second
    execute console command "lagg killmobs"
Gönderi otomatik olarak birleştirildi:

 
Kod:
every 2 minute:
    execute console command "lagg clear"
    wait 2 second
    execute console command "lagg killmobs"
Gönderi otomatik olarak birleştirildi:


every 2 minute:

yerine 20 minute yaparsanız yeterli olacaktır.
 
every 2 minute:

yerine 20 minute yaparsanız yeterli olacaktır.
aradıgım bud eğil kardşeim bu skripti yzamayı bendne biliyorum skripte gerek olmadan hem tiemnleri silen hemde mobları silen bir ekleti vardı onu arıyorum
 
Kod:
#--------------------------------------------------------------------#
#                   ClearLag Configuration File                      #
#--------------------------------------------------------------------#
# Configure to your liking, reload the config by tying: /lagg reload #
#                                -                                   #
#        Here is a helpful tutorial on this configuration setup!     #
#   http://dev.bukkit.org/server-mods/clearlagg/pages/config-setup/  #
#--------------------------------------------------------------------#
#                     All possible mob names                         #
# http://dev.bukkit.org/server-mods/clearlagg/pages/mob-types/nodes/ #
#--------------------------------------------------------------------#
settings:
  auto-update: false
  config-version: 8
  disable-waterlife: true
  keep-spawn-in-memory: true
  enable-api: true
 
#Meters your ram usage, if it goes above 'limit', run 'commands:'
# -- 'ram-limit' is in MB, do not set it exactly to your max allocated ram amount
# -- 'interval' is how often clearlag will check your ram usage
# -- 'commands' lists the commands that will be ran upon hitting your ram-limit
ram-meter:
  enabled: false
  interval: 20
  ram-limit: 5000
  commands:
    - 'lagg killmobs'
    - 'lagg clear'
    - 'lagg gc'
 
#This limits how fast a user can move from chunk-to-chunk and will prevent users from overloading your server
#I HIGHLY recommend you use this on servers with increased player-speeds/or fly enabled
# -- 'limit-only-fly' ONLY limit players who are currently flying
# -- 'chunk-to-chunk-time' is in milliseconds. It's the time users are allowed to move from one chunk
# -- to another.  Going faster over chunks then that number will cancel their movement
player-speed-limiter:
  enabled: false
  chunk-to-chunk-time: 600
  limit-only-fly: false
 
#Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
#When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
# -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
# -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
mob-breeding-limiter:
  enabled: false
  max-mobs: 6
  check-radius: 15
 
#Should clearlag purge logs under /logs when the server starts?
# -- 'days-old' means how many days old can the log be to be deleted
log-purger:
  enabled: false
  days-old: 3
 
#What type of entities SHOULD NOT be removed while doing /lagg area?
area-filter:
    - Itemframe
    - Painting
    - Wolf
    - Villager
    - Horse
    - ARMOR_STAND

#Should clearlag reset the config, or attempt to update your config on updates
# -- 'force-update' is whether or not clearlag will reset your config with a newer version
# -- settings this to false will make clearlag update your config rather then resetting
config-updater:
  force-update: false
 
#This limits the mob egg spawners so players cannot "overload" the server with them
# -- 'check-radius' is the radius clearlag will check for nearby entities
# -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
mobegg-limiter:
  enabled: false
  check-radius: 8
  max-mobs: 5
 
#Disable new chunk generation, or just put a cap on how many can load at once.
#May cause many bugs with Spigot 1.8+, not recommended!
# -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
# -- !UNSTABLE ON SPIGOT BUILDS!
chunk-limiter:
  enabled: false
  limit: 6000
  create-new-chunks: true
 
#This modifies the view range of entities
# -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
# -- If it's too high, expect bugs / lots of lag
mob-range:
  enabled: false
  zombie: 30
  skeleton: 30
  creeper: 20
 
#How long should items/Mobs be left on the ground
# -- live-time's go by ticks (20 ticks a second)
live-time:
  enabled: false
  interval: 10
  mobtimer: true
  itemtimer: true
  arrowtimer: true
  arrowkilltime: 15
  moblivetime: 600
  itemlivetime: 240
 
#This option disallows the placement of too many tnt-minecarts
# -- 'radius' is the radius clearlag will check for TNT-Minecarts
tnt-minecart:
  enabled: false
  max: 2
  radius: 6
 
#This option reduces global dispenser fire rate
# -- 'time' is in milliseconds
dispenser-reducer:
  enabled: false
  time: 100
 
#This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
tnt-reducer:
  enabled: false
 
#This option reduces fire spread rate
# -- 'time' is in milliseconds
firespread-reducer:
  enabled: false
  time: 2000
 
#How many entities should one chunk be allowed to hold?
# -- 'entities' lists all the entities that will be counted
#     and possibly removed.
chunk-entity-limiter:
  enabled: true
  limit: 10
  entities:
    - Squid
    - Zombie
    - Skeleton
    - Creeper
    - Chicken
    - Pig
    - Sheep
    - Cow
    - Horse
 
#How many mobs should be allowed to spawn globally
# -- 'interval' is the check interval check the current spawn amounts
spawn-limiter:
  enabled: false
  interval: 15
  mobs: 300
  animals: 300
 
#Meters your TPS, if it goes to low, run the commands you wrote below!
# -- 'interval' is how often tps-meter will check the TPS
# -- 'tps-trigger' is at what TPS the commands will be ran at
tps-meter:
  enabled: true
  interval: 15
  tps-trigger: 10.0
  commands:
    - 'lagg clear'
    - 'lagg killmobs'
 
#This is /lagg killmobs, put what you DON'T want removed!
# -- 'remove-named', when FALSE entities with custom names will NOT be removed
# -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
kill-mobs:
  remove-named: false
  mob-filter:
   - Villager
   - Wolf
   - Horse
 
#This nerfs mob-spawners (Natural and player-made)
#-------------------------------------------------
#This goes by chunks rather then spawners. This is to prevent
#a large buildup of mob-spawners within a small region to "bypass"
#your set limit. It also allows for keys to be generated more easily
#increasing the performance
# -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
# -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
# --  the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
mobspawner:
  enabled: false
  max-spawn: 4
  remove-mobs-on-chunk-unload: true
 
#Dont use if you have CB++ or Spigot!
item-merger:
  enabled: false
  radius: 6
 
#Auto-removal options
# -- warnings works like this; time = the time warning should be given, msg = warning message at that time
# -- NOTE: The below 'remove' section applies to this remover!
# -- NOTE: Putting the interval to low will cause issues!
#        ==[ All string values MUST be inside '']==
auto-removal:
  enabled: false
  broadcast-message: '&3LPX &8» &a+RemoveAmount &eeşya başarıyla temizlendi!'
  broadcast-removal: true
  autoremoval-interval: 460
  world-filter:
    - this_world
  # - this_world <-This world will be ignored during removal!
  boat: true
  falling-block: true
  experience-orb: true
  painting: true
  projectile: true
  item: true
  itemframe: false
  minecart: true
  primed-tnt: true
  item-filter:
  # - 264
  # - 265
  # - 444 <-This item-id will be ignored during removal!
  # - 312
  # - 266
  remove-mobs:
  # - cow <- This mob-type will be REMOVED during removal!
  warnings:
        - 'time:457 msg:&3SunucuAdı &8» &eYerdeki eÅŸyalar &c+remaining &esaniye sonra temizlenecek!'
        - 'time:458 msg:&3SunucuAdı &8» &eYerdeki eÅŸyalar &c+remaining &esaniye sonra temizlenecek!'
        - 'time:459 msg:&3SunucuAdı &8» &eYerdeki eÅŸyalar &c+remaining &esaniye sonra temizlenecek!'
        - 'time:430 msg:&3SunucuAdı &8» &eYerdeki eÅŸyalar &c+remaining &esaniye sonra temizlenecek!'
        - 'time:400 msg:&3SunucuAdı &8» &eYerdeki eÅŸyalar &c+remaining &esaniye sonra temizlenecek!'
 
#What should be removed during /lagg clear
command-remove:
  world-filter:
    - this_world
  # - this_world <-This world will be ignored during removal!
  broadcast-removal: false
  boat: true
  falling-block: true
  experience-orb: true
  painting: true
  projectile: true
  item: true
  itemframe: false
  minecart: true
  primed-tnt: true
  item-filter:
  # - 222 <-This item-id will be ignored during removal!
  # - 265
  remove-mobs:
  # - cow <- This mob-type will be REMOVED during removal!
  
limit:
  enabled: false
  max: 1000
  check-interval: 60
  broadcast-message: '&eSkyblock &8» &7Yerdeki gereksiz &a+RemoveAmount &7eşya silindi!'
  world-filter:
    - this_world
  # - this_world <-This world will be ignored during removal!
  broadcast-removal: true
  boat: true
  falling-block: true
  experience-orb: true
  painting: true
  projectile: true
  item: true
  itemframe: true
  minecart: true
  primed-tnt: true
  item-filter:
  # - 264
  # - 232 <-This item-id will be ignored during removal!
Gönderi otomatik olarak birleştirildi:

clearlag config kısmına bunu yapıstırın belirlenen saniyelerde lagg clear ve lagg killmobs ceker . moblar ve itemler silinir istediginiz gibi plugin şeklinde böyle olur
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst