ClearLag

Message
Autor
enalan
Příspěvky: 1552
Věk: 25
Registrován: 13 led 2013, 14:36
Reputation: 0

ClearLag

#1 Příspěvekod enalan » 28 bře 2013, 12:34

ClearLag

Funkce
Maže itemy,věci na zemi, aby se server nelagoval,nepřetižoval.

Instalace
1) Vypneme server.
2) Stáhneme plugin z odkazu.

3) Připojíme se na FTP.
4) Nahrajeme soubor "ClearLag" do složky "Plugins".
5) Spustíme server v Control panelu.
6) Otevřeme ve FTP 'Plugins/ClearLag/config.yml' a nastavíme. (Jak nastavit najdete níže.)

Permissions

Kód: Vybrat vše

lagg.clear
lagg.check
lagg.reload
lagg.killmobs
lagg.area
lagg.unloadchunks
lagg.chunk
lagg.tpchunk
lagg.help


Příkazy

/lagg clear
/lagg check
/lagg reload
/lagg killmobs
/lagg area <radius>
/lagg unloadchunks
/lagg chunk
/lagg tpchunk <x> <z> <world>
/lagg

Autor
bob7l

Config
Je tam i můj překlad, pokud máte zájem tak si ho přeložte.

Spoiler: zobrazit
#--------------------------------------------------------------------#
# 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/clear ... fig-setup/ #
#--------------------------------------------------------------------#
# All possible mob names #
# http://dev.bukkit.org/server-mods/clear ... pes/nodes/ #
#--------------------------------------------------------------------#
settings: //nastavení
auto-update: true
enable-signs: true
config-version: three
broadcast-message: '&6[Epicraft] &aSmazano +RemoveAmount Itemu!' //Co napíše ClearLag, když smaže itemy ?
enable-scheduler: true
enable-limit: true
autoremoval-interval: 86400 //Po kolikati sekundách bude plugin mazat itemy ?

warning:
autoremoval-warning: true
autoremoval-warningdelay: 20
broadcast-warning: true
autoremoval-warningmessage: '&4[Epicraft] &cZa 20 Sekund smazu vsechny itemy na zemi!' //Co napíše plugin než smaže itemy ?

#This is /lagg killmobs, put what you DON'T want removed!
kill-mobs: //Nastavení zabíjení mobů
disable-build-wither: false
mob-filter:
- Villager
- Wolf

#This takes care of mob spawners
mobspawner:
enabled: false
max-spawn: 4

remove: //Co všechno bude plugin mazat ?
world-filter:
- this_world
broadcast-removal: true
boat: true
falling-block: true
experienceOrb: true
painting: true
projectile: true
item: true
itemframe: false
minecart: false
primed-tnt: true
arrow: true
snowball: true
fireball: true
ender-signal: true
mobs:
- None
- None

command-remove:
world-filter:
- this_world
broadcast-removal: false
boat: true
falling-block: true
experienceOrb: true
painting: true
projectile: true
item: true
itemframe: false
minecart: true
primed-tnt: true
arrow: true
snowball: true
fireball: true
ender-signal: true
mobs:
- None
- None

check:
world-filter:
- this_world
boat: true
falling-block: true
experienceOrb: true
painting: true
projectile: true
item: true
itemframe: false
minecart: true
primed-tnt: true
arrow: true
snowball: true
fireball: true
ender-signal: true
mobs:
creature: true
animals: true
monster: true

limit:
max: 1000
check-interval: 60
world-filter:
- this_world
broadcast-removal: true
remove:
boat: true
falling-block: true
experienceOrb: true
painting: true
projectile: true
item: true
itemframe: false
minecart: true
primed-tnt: true
arrow: true
snowball: true
fireball: true
ender-signal: true

Odkaz na bukkit
http://dev.bukkit.org/server-mods/clearlagg/


Doufám že jsem pomohl, pokud jsem vám návod líbil/pomohl.Tak mi můžeš dát karmu, pokud se ti návod, nelíbil/nepomohl napiš mi co mám zlepšit.Děkuji ;)

Mé další návody:
Iconomy: viewtopic.php?f=85&t=13148 (Peníze)
Essentials: viewtopic.php?f=85&t=13146 (Zakladní plugin)
HeroicDeathPlus: viewtopic.php?f=85&t=13144 (Překlad hlášek po smrti)
JoinMessage: viewtopic.php?f=85&t=13232 (Překlad připojovacích hlášek)
Naposledy upravil(a) enalan dne 28 bře 2013, 17:30, celkem upraveno 2 x.
Ušetři na nákupech v eshopech se společností Plná Peněženka.
Web, který tě přiučím novým věcem - http://neobycejny-svet.cz/
Aktuální kontakt na mě - tom.cana@seznam.cz

Uživatelský avatar
nejento
Příspěvky: 9815
Registrován: 28 lis 2011, 14:09
Reputation: 55
Kontaktovat uživatele:

Re: ClearLag

#2 Příspěvekod nejento » 28 bře 2013, 17:21

Configy do Code. Znova a znova to tu opakujeme. Ztrácí se tím mezery a formátování.
Obrázek

Obrázek Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: http://discord.fakaheda.eu/

enalan
Příspěvky: 1552
Věk: 25
Registrován: 13 led 2013, 14:36
Reputation: 0

Re: ClearLag

#3 Příspěvekod enalan » 28 bře 2013, 17:23

Já vím, ale chtěl jsem za to dát // Text
EDIT: a když nedám barvičky tak potom nejde vidět kde se to nastavuje ;)
Ušetři na nákupech v eshopech se společností Plná Peněženka.
Web, který tě přiučím novým věcem - http://neobycejny-svet.cz/
Aktuální kontakt na mě - tom.cana@seznam.cz

Uživatelský avatar
nejento
Příspěvky: 9815
Registrován: 28 lis 2011, 14:09
Reputation: 55
Kontaktovat uživatele:

Re: ClearLag

#4 Příspěvekod nejento » 28 bře 2013, 21:53

To můžeš i bez barvy. Akorát tam nedělej TAB ale mezery. Pořád to bude správnější, než tohle.
A když to dáš o kousek dál, všimne si toho každej.
Obrázek

Obrázek Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: http://discord.fakaheda.eu/

enalan
Příspěvky: 1552
Věk: 25
Registrován: 13 led 2013, 14:36
Reputation: 0

Re: ClearLag

#5 Příspěvekod enalan » 29 bře 2013, 08:54

ok, chtěl jsem, aby si toho lidi všimly :) ok :P
Ušetři na nákupech v eshopech se společností Plná Peněženka.
Web, který tě přiučím novým věcem - http://neobycejny-svet.cz/
Aktuální kontakt na mě - tom.cana@seznam.cz

jeliman1
Příspěvky: 44
Registrován: 30 zář 2012, 19:26
Reputation: 0

Re: ClearLag

#6 Příspěvekod jeliman1 » 28 led 2014, 21:42

93.91.240.147:27505 - Neví někdo jak nastavit, aby mi to nemazalo určité věci ?

vojtamaniak
Příspěvky: 3512
Věk: 25
Registrován: 18 úno 2012, 21:02
Reputation: 11

Re: ClearLag

#7 Příspěvekod vojtamaniak » 29 led 2014, 08:41

jeliman1, v configu je

Kód: Vybrat vše

item-filter:
  enabled: false
  filter:
    - 264
    - 265
    - 311
    - 312
    - 266

Tak zde nastav enabled: true a místo těch čísel dávej id itemů, které chceš, aby ti to nemazalo :-)

DJ_Ironic
Příspěvky: 7
Věk: 24
Registrován: 12 lis 2013, 20:43
Reputation: 0
Bydliště: Morava
Kontaktovat uživatele:

Re: ClearLag

#8 Příspěvekod DJ_Ironic » 17 čer 2014, 20:11

Potřeboval bych poradit nějakou alternativu ClearLaggu na Tekkit Classic. Díky
LiFe-Games.cz Snažíme se o kvalitní servery dobrou komunitou, a zapáleným Admin Teamem. E-Mail: kontakt@life-games.cz TS3: ts.life-games.cz

ObrázekObrázek

JusticeLuke
Příspěvky: 50
Registrován: 23 čer 2014, 22:50
Reputation: 0

Re: ClearLag

#9 Příspěvekod JusticeLuke » 02 črc 2014, 21:10

Mám problém, nějak mi to nefunguje maže mi to také itemy které nastavuji aby to nemazalo
přikládám config.
Spoiler: zobrazit
#--------------------------------------------------------------------#
# 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/clear ... fig-setup/ #
#--------------------------------------------------------------------#
# All possible mob names #
# http://dev.bukkit.org/server-mods/clear ... pes/nodes/ #
#--------------------------------------------------------------------#
settings:
auto-update: true
enable-signs: true
config-version: 1
disable-waterlife: true
keep-spawn-in-memory: true
enable-api: true

#What type of entities SHOULD NOT be removed while doing /lagg area?
area-filter:
- Itemframe
- Painting
- Wolf
- Villager
- Horse

#Should clearlag reset the config (more stable), or attempt to add the new paths into your config?
# -- Puting this as false wont reset your config, but may cause bugs.. Still in testing!
config-updater:
force-update: false

#This limits the mob egg spawners so players cannot "overload" the server with them
# -- 'check-radius' stands for 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.
# -- THIS DOES NOT WORK WITH 1.6.4!
chunk-limiter:
enabled: false
limit: 6000
create-new-chunks: true

#This modifies not only the view of the mobs, but will also simplify how they spawn
# -- Lower it is, the better your entity tick will be
# -- 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
# -- Goes by seconds
live-time:
enabled: false
interval: 10
mobtimer: true
itemtimer: true
arrowtimer: true
arrowkilltime: 15
moblivetime: 600
itemlivetime: 240

#Let clearlag control the spawning in ALL worlds? (Supports all plugins!)
# -- This will also respect cancelations, unlike minecraft's native code
custom-mobspawner:
enabled: false
#How many times should clearlag attempt to find a safe location for the mob to spawn
max-tries: 50
#(In seconds) how often should clearlag try to spawn mobs?
interval: 30
#This is the radius around the player
radius: 30
#This is the radius FROM the player (in blocks!)
radius-from: 7
#How far should mobs spawn from eachother (NOT in blocks!!) (1,010 = around 10-20 blocks)
mob-radius: 1010
#Should we keep trying to spawn a mob if a clear location isn't found
forcespawn: false
#4 = nighttime, what light level should mobs spawn in
lightlevel: 4
#Chance mobs will have armor/sword, 1 being diamond every time
armor-chance: 30
mobs: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!)
- zombie 5
- skeleton 3
- creeper
- enderman
animals: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!)
- pig 4
- sheep 1
- cow 6
- chicken 2

#This option disallows the placement of too many tnt-minecarts
tnt-minecart:
enabled: false
max: 2
radius: 6

#This option reduces global dispenser rate
dispenser-reducer:
enabled: false
time: 100

#This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
tnt:
tnt-reducer: false

#This option reduces fire spread rate
firespread-reducer:
enabled: false
time: 2000

#How many entities should one chunk be allowed to hold?
chunk-entity-limiter:
enabled: false
limit: 40

spawn-limiter:
enabled: false
interval: 15
monsters: 300
animals: 300

#Meters your TPS, if it goes to low, run the commands you wrote below!
tps-meter:
enabled: false
interval: 15
tps-trigger: 14.0
commands:
- 'lagg killmobs'
- 'lagg clear'

#This is /lagg killmobs, put what you DON'T want removed!
kill-mobs:
disable-build-wither: false
mob-filter:
- Villager
- Wolf
- Horse

#This takes care of mob spawners
mobspawner:
enabled: false
max-spawn: 4

#No longer bugged! -- 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!
auto-removal:
broadcast-message: '&4[&6ClearLag&4] &aSmazano +RemoveAmount Entit!'
broadcast-warning: true
enable-scheduler: true
autoremoval-interval: 460
warnings:
- time:400 msg:&4[&8ClearLag&4] &cPozor! Ze zeme budou smazany entity za &7+remaining &csekund!
- time:450 msg:&4[&8ClearLag&4] &cPozor! Ze zeme budou smazany entity za &7+remaining &csekund!

#What should be removed during an auto-removal
remove:
world-filter:
- world
broadcast-removal: true
boat: true
falling-block: true
experienceOrb: true
painting: true
projectile: true
item: true
itemframe: false
minecart: true
primed-tnt: true
arrow: true
snowball: true
fireball: true
ender-signal: true
item-filter:
# - 14
# - 15
# - 16
# - 19
# - 41
# - 42
# - 47
# - 56
# - 57
# - 116
# - 117
# - 130
# - 138
# - 133
# - 262
# - 263
# - 264
# - 265
# - 266
# - 276
# - 277
# - 278
# - 279
# - 310
# - 311
# - 312
# - 313
# - 322:1
# - 341
# - 342
# - 343
# - 333
# - 368
# - 369
# - 370
# - 378
# - 382
# - 384
# - 388
# - 399
# - 417
# - 418
# - 419
mobs:
# - cow

#What should be removed during /lagg clear
command-remove:
world-filter:
- world
broadcast-removal: false
boat: true
falling-block: true
experienceOrb: true
painting: true
projectile: true
item: true
itemframe: false
minecart: true
primed-tnt: true
arrow: true
snowball: true
fireball: true
ender-signal: true
item-filter:
# - 14
# - 15
# - 16
# - 19
# - 41
# - 42
# - 47
# - 56
# - 57
# - 116
# - 117
# - 130
# - 138
# - 133
# - 262
# - 263
# - 264
# - 265
# - 266
# - 276
# - 277
# - 278
# - 279
# - 310
# - 311
# - 312
# - 313
# - 322:1
# - 341
# - 342
# - 343
# - 333
# - 368
# - 369
# - 370
# - 378
# - 382
# - 384
# - 388
# - 399
# - 417
# - 418
# - 419
mobs:
# - cow

check:
world-filter:
- world
boat: true
falling-block: true
experienceOrb: true
painting: true
projectile: true
item: true
itemframe: false
minecart: true
primed-tnt: true
arrow: true
snowball: true
fireball: true
ender-signal: true
item-filter:
# - 14
# - 15
# - 16
# - 19
# - 41
# - 42
# - 47
# - 56
# - 57
# - 116
# - 117
# - 130
# - 138
# - 133
# - 262
# - 263
# - 264
# - 265
# - 266
# - 276
# - 277
# - 278
# - 279
# - 310
# - 311
# - 312
# - 313
# - 322:1
# - 341
# - 342
# - 343
# - 333
# - 368
# - 369
# - 370
# - 378
# - 382
# - 384
# - 388
# - 399
# - 417
# - 418
# - 419
mobs:
creature: true
animals: true
monster: true

limit:
enable-limit: false
max: 1000
check-interval: 60
broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
world-filter:
- world
broadcast-removal: true
boat: true
falling-block: true
experienceOrb: true
painting: true
projectile: true
item: true
itemframe: false
minecart: true
primed-tnt: true
arrow: true
snowball: true
fireball: true
ender-signal: true
item-filter:
# - 14
# - 15
# - 16
# - 19
# - 41
# - 42
# - 47
# - 56
# - 57
# - 116
# - 117
# - 130
# - 138
# - 133
# - 262
# - 263
# - 264
# - 265
# - 266
# - 276
# - 277
# - 278
# - 279
# - 310
# - 311
# - 312
# - 313
# - 322:1
# - 341
# - 342
# - 343
# - 333
# - 368
# - 369
# - 370
# - 378
# - 382
# - 384
# - 388
# - 399
# - 417
# - 418
# - 419


První vada, když změním
world-filter:
- this_world
na - world "což teď mám nastavený viz. config, tak mi to nemaže na serveru vůbec nic, a pokud tam nechám - this_world tak to maže všechno. Nechápu. Díky za rady a pomoc.
Hledáš PvP minecraft server? Frakce, Ekonomika + Classy! a plno dalšího!
Obrázek

Tobacc
Příspěvky: 76
Věk: 26
Registrován: 26 čer 2014, 17:44
Reputation: 0
Bydliště: Praha
Kontaktovat uživatele:

Re: ClearLag

#10 Příspěvekod Tobacc » 03 črc 2014, 20:37

Nedávej před to tento znak: #. Server to automaticky bere tak, že mu to tímto znakem "zakazuješ", tudíž ti to takto nemůže nikdy fungovat :-) Před každým itemem, který chceš, aby se nemazal při automatickém ClearLagu, smaž znak #, následně ulož a restartuj server


Zpět na „Návody“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 42 hostů