Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[problem]skrypty


Rekomendowane odpowiedzi

Opublikowano

Mam lagi na swoim serwerze , i chce je ograniczyć a ponieważ mam "troche" skryptów to jest pytanie czy da się je złączyć w jednen , i czy to ograniczy lagi.

 

 

 

Druga sprawa to że jest 15 osób na serwie (srv jest 45 slotowy na 1 slot 100ram) jest obciążenie 45% da się to ograniczyć ?

 

 

 

Te skrypty chce mieć złączone w jeden:

options:
    ilosc: 98
 
command /cc:
    trigger:
        if player has permissions "c.c":
            loop {@ilosc} times:
                broadcast ""
            broadcast "&6Wyczyszczono Chat"
        else:
            send "&cBrak uprawnień"
on join:
	set join message to "&6%player% dolaczyl do gry!"
on quit:
	set leave message to "&6%player% opuscil gre."
on login:
	wait 20 second
	chance of 100%:
		give a cake to the player
		send "&6Otrzymałeś ciasto za kolejną wizytę na serwerze!"
on death of player:
    strike lightning effect at the player
command /plugins:
    aliases: pl, ?
    trigger:
        message "&6NASZE PLUGINY link + ich download &4http://www.youtube.com/watch?v=l12Csc_lW0Q"
========================================================================================================#
#                                                LICENCJA                                                #
#========================================================================================================#
#                                                 ZAKAZ:                                                 #
#                                     * Modyfikowania treści skryptu                                     #
#                                * Przywłaszczania sobie autorstwa skryptu                               #
#                                        * Zarabiania na skrypcie                                        #
#                           * Udostepniania skryptu w swoich paczkach serwerowych                        #
#                            * Usuwania tresci zawierajacych informacje o autorze                        #
#                                      * Podszywania sie pod autora                                      #
#                           * Udostepniania skryptu w paczkach plikow serwerowch itp                     #
#                                     * Usuwania tresci zawierajacych autora                             #
#                               * Dopisywania wszelkich dodatków typu strona www                         #
#========================================================================================================#
#                                              POZWOLENIA:                                               #
#                         * Modyfikowanie wiadomości skryptu na wlasne potrzeby                          #
#                              * Dopisywanie fragmentow na wlasne potrzeby                               #
#========================================================================================================#
#                       Mylnie odczytana licencja nie zwalnia z przestrzegania jej.                      #
#========================================================================================================#
 
#========================================================================================================#
#                                  Skrypt stworzony przez HugoZvPlayZ                                    #
#                                           Nazwa: RankingZ                                              #
#                                            Wersja: 0.2                                                 #
#                                           Skript: 2.0.2                                                #
#========================================================================================================#
 
#--------------------------------------------------------------------------------------------------------#
#                                              WYMAGANIA                                                 #
#--------------------------------------------------------------------------------------------------------#
#   Pluginy:                                                                                             #
#   ● Skript                                                                                             #
#--------------------------------------------------------------------------------------------------------#
#--------------------------------------------------------------------------------------------------------#
#                                              USTAWIENIA                                                #
#--------------------------------------------------------------------------------------------------------#
options:
        # Tag Skryptu
        RankingZ.tag: &4&lRanking&0&lZ
        RankingZ.|: &7&l|
       
        # Info | Wiadomosc po smierci gracza zabitego przez gracza | Zmienne: %victim% - ofiara | %attacker% - atakujacy | %{punkty}% - punkty
        RankingZ.msg.death.player.yes: &6Gracz &4%victim% &4(-%{punkty}%) &6zostal zabity przez gracza &4%attacker% &4(+%{punkty}%)
       
        # Info | Wiadomosc po smierci gracza zabitego potwora | Zmienne: %victim% - ofiara | %attacker% - atakujacy | 50 - punkty
        RankingZ.msg.death.player.no: &6Gracz &4%victim% &6umarl. &4(-50) 
       
        # Info | Ranking gracza zostal zresetowany Zmienne: %argument 2% - gracz resetu
        RankingZ.msg.reset: &6Punkty, fragi i zgony gracza &4%argument 2% &6zostaly zresetowane!
       
        # Info | Nie podales nazwy gracza
        RankingZ.msg.error.player: &4Nie podales nazwy gracza
       
        # Info | Brak uprawnien
        RankingZ.msg.permission: &4Nie masz uprawnien
       
        # Info | Reload skryptu
        RankingZ.msg.reload: &aSkrypt przeladowany pomyslnie
       
#--------------------------------------------------------------------------------------------------------#
#                                              UPRAWNIEIA                                                #
#--------------------------------------------------------------------------------------------------------#
#       /RankingZ pomoc              ● Pomoc                          ● RankingZ.gracz | RankingZ.admin      #
#       /RankingZ ranking [<player>] ● Ranking                        ● RankingZ.gracz | RankingZ.admin      #
#       /RankingZ reset <player>     ● Reset punktow, fragow i zgonow ● RankingZ.admin                       #
#       /RankingZ info               ● Informacje                     ● RankingZ.gracz | RankingZ.admin      #
#       /RankingZ reload             ● Reload                         ● RankingZ.admin                       #
#   [] - opcjonalnie | <> - wymagane                                                                     #
#--------------------------------------------------------------------------------------------------------#
#--------------------------------------------------------------------------------------------------------#
#                                              KOD                                                       #
#--------------------------------------------------------------------------------------------------------#
on first join:
        set {RankingZ.punkty.%player%} to 0
        set {RankingZ.fragi.%player%} to 0
        set {RankingZ.zgony.%player%} to 0
        set {RankingZ.save.%player%} to true
       
on join:
        if {RankingZ.save.%player%} is false:
                set {RankingZ.punkty.%player%} to 0
                set {RankingZ.fragi.%player%} to 0
                set {RankingZ.zgony.%player%} to 0
                set {RankingZ.save.%player%} to true
        if {RankingZ.save.%player%} is not set:
                set {RankingZ.punkty.%player%} to 0
                set {RankingZ.fragi.%player%} to 0
                set {RankingZ.zgony.%player%} to 0
                set {RankingZ.save.%player%} to true
       
on death:
        if victim is player:
                if attacker is a player:
                        add {RankingZ.punkty.%victim%}*0.30 to {RankingZ.punkty.%attacker%}
                        remove {RankingZ.punkty.%victim%}*0.30 from {RankingZ.punkty.%victim%}
                        add {RankingZ.punkty.%victim%}*0.30 to {punkty}
                        broadcast "{@RankingZ.msg.death.player.yes}"
                        set {punkty} to 0
                        add 1 to {RankingZ.fragi.%attacker%}
                        add 1 to {RankingZ.zgony.%victim%}
                        message "&6Brawo wlasnie zabiles jakiegos &4idiote&6! &4+1 Zabic" to attacker
                        message "&6Ehhh... zginoles &4+1 Zgon" to victim
                else:
                        remove 50 from {RankingZ.punkty.%victim%}
                        add 1 to {RankingZ.zgony.%victim%}
                        broadcast "{@RankingZ.msg.death.player.no}"
                        message "&7Zgon: &2+1" to victim
               
on rightclick on player with sword:
        execute player command "RankingZ ranking %clicked player%"
       
command /RankingZ [<text>] [<text>]:
        aliases: staty, statystyki, ranking ,
        trigger:
                if argument 1 is not set:
                        execute player command "RankingZ pomoc"
                if argument 1 is "pomoc":
                        if player has permission "RankingZ.gracz" or "RankingZ.admin":
                                message "&6---------------------------------------------------------------"
                                message "&6Pomoc &4/statystyki pomoc
                                message "&6Staty &4/statystyki ranking [nick]"
                                message "&6PPM NA GRACZA WYSWIETLA JEGO STATYSTYKI!"
                                message "&6---------------------------------------------------------------"
                        else:
                                message "{@RankingZ.tag} {@RankingZ.|} {@RankingZ.msg.permission}"
                if argument 1 is "ranking":
                        if player has permission "RankingZ.gracz" or "RankingZ.admin":
                                if argument 2 is set:
                                        message "&6---------------------------------------------------------------"
                                        message "&6Punktow: &4%{RankingZ.punkty.%argument 2%}%"
                                        message "&6Zabil:   &4%{RankingZ.fragi.%argument 2%}%"
                                        message "&6Zginol   &4%{RankingZ.zgony.%argument 2%}%"
                                        message "&6---------------------------------------------------------------"
                                else:
                                        message "&6---------------------------------------------------------------"
                                        message "&6Punktow: &4%{RankingZ.punkty.%argument 2%}%"
                                        message "&6Zabil:   &4%{RankingZ.fragi.%argument 2%}%"
                                        message "&6Zginol   &4%{RankingZ.zgony.%argument 2%}%"
                                        message "&6---------------------------------------------------------------"
                        else:
                                message "{@RankingZ.tag} {@RankingZ.|} {@RankingZ.msg.permission}"
                if argument 1 is "reset":
                        if player has permission "RankingZ.admin":
                                if argument 2 is set:
                                        set {RankingZ.punkty.%argument 2%} to 0
                                        set {RankingZ.fragi.%argument 2%} to 0
                                        set {RankingZ.zgony.%argument 2%} to 0
                                        message "{@RankingZ.tag} {@RankingZ.|} {@RankingZ.msg.reset}"
                                else:
                                        message ""
                        else:
                                message "{@RankingZ.tag} {@RankingZ.|} {@RankingZ.msg.permission}"
                if argument 1 is "info":
                        if player has permission "RankingZ.gracz" or "RankingZ.admin":
                                message "&6Plugin powstal na potrzeby serwera , lecz &4nie &6jest autorski."
                        else:
                                message ""
                if argument 1 is "reload" or "rl":
                        if player has permission "RankingZ.admin":
                                execute console command "skript reload RankingZ"
                                message "&6Plugin odpowiedzialny za ranking graczy , zostal pomyslnie zesetowany."
                        else:
                                message ""
#-------------------------------------------- Koniec skryptu --------------------------------------------#
#------------------------------- © by HugoZvPlayZ - Strona: www.HvZ.ugu.pl ------------------------------#

Za pomoc daje like

Opublikowano

Wszystko można złączyć normalnie, po prostu wszystko wklejasz do 1 skryptu, jeśli w każdym masz np spacje albo taby a nie tak że w 1 taby a w drugim spacje to będzie działać bez błędów :)

Pomogłem?👍

Daj Like! :D

Opublikowano

A może mi ktoś złączyć te skrypty bo tak próbowałem wrzucić do jednego "formatu" i nic nie działa!

 

To są logi z konsoli :

12:27:50 [INFO] [Skript] Enabling Skript v2.0.2
12:27:50 [INFO] [Skript] Loaded a total of 10567 english aliases
12:27:50 [INFO] [Skript]  ~ created by & Š Peter Gßttinger aka Njol ~
12:27:50 [INFO] [VipSms] Enabling VipSms v1.08
12:27:50 [INFO] [VipSms] developed by minecraft-elite.pl
12:27:50 [INFO] [ClearLag] Enabling ClearLag v2.6.2
12:27:51 [WARNING] [ClearLag] --=[This build was made for CraftBukkit 1.7.2 <]=---
12:27:51 [WARNING] [ClearLag] The following features have been disabled: mob-range
12:27:51 [INFO] [ClearLag] No config updates found...
12:27:51 [INFO] [ClearLag] Searching for updates..
12:27:51 [INFO] [ClearLag] Clearlag has been enabled!
12:27:51 [INFO] [PermissionsEx] Enabling PermissionsEx v1.19.6
12:27:51 [INFO] [PermissionsEx] Superperms support enabled.
12:27:51 [INFO] [PermissionsEx] v1.19.6 enabled
12:27:51 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions.
12:27:51 [INFO] [Vault][Permission] PermissionsEx hooked.
12:27:51 [INFO] [Vault][Chat] PermissionsEx_Chat hooked.
12:27:51 [INFO] [WorldGuard] Enabling WorldGuard v5.7.1
12:27:51 [INFO] [WorldGuard] (world) TNT ignition is PERMITTED.
12:27:51 [INFO] [WorldGuard] (world) Lighters are PERMITTED.
12:27:51 [INFO] [WorldGuard] (world) Lava fire is blocked.
12:27:51 [INFO] [WorldGuard] (world) Fire spread is UNRESTRICTED.
12:27:51 [INFO] [WorldGuard] Loaded configuration for world 'world'
12:27:51 [INFO] [WorldGuard] (world_nether) TNT ignition is PERMITTED.
12:27:51 [INFO] [WorldGuard] (world_nether) Lighters are PERMITTED.
12:27:51 [INFO] [WorldGuard] (world_nether) Lava fire is blocked.
12:27:51 [INFO] [WorldGuard] (world_nether) Fire spread is UNRESTRICTED.
12:27:51 [INFO] [WorldGuard] Loaded configuration for world 'world_nether'
12:27:51 [INFO] [WorldGuard] (world_the_end) TNT ignition is PERMITTED.
12:27:51 [INFO] [WorldGuard] (world_the_end) Lighters are PERMITTED.
12:27:51 [INFO] [WorldGuard] (world_the_end) Lava fire is blocked.
12:27:51 [INFO] [WorldGuard] (world_the_end) Fire spread is UNRESTRICTED.
12:27:51 [INFO] [WorldGuard] Loaded configuration for world 'world_the_end'
12:27:51 [INFO] [WorldGuard] 3 regions loaded for 'world'
12:27:51 [INFO] [WorldGuard] 0 regions loaded for 'world_nether'
12:27:51 [INFO] [WorldGuard] 0 regions loaded for 'world_the_end'
12:27:51 [INFO] [Essentials] Enabling Essentials v2.11.1
12:27:51 [INFO] Using locale pl_PL
12:27:51 [INFO] Using locale pl_PL
12:27:51 [INFO] [Vault][Economy] Essentials Economy hooked.
12:27:51 [INFO] Essentials: Using PermissionsEx based permissions.
12:27:51 [INFO] [EssentialsSpawn] Enabling EssentialsSpawn v2.11.1
12:27:51 [INFO] [OtherDrops] Enabling OtherDrops v2.7.1
12:27:51 [INFO] [OtherDrops:2.7.1] Loading file: otherdrops-drops.yml
12:27:51 [INFO] [OtherDrops:2.7.1] Error: unknown material (redstoneoreglowing).
12:27:51 [WARNING] [OtherDrops:2.7.1] Unrecognized target (skipping): REDSTONE_ORE_GLOWING
12:27:51 [INFO] [OtherDrops:2.7.1] Using Bukkit superperms.
12:27:51 [INFO] [OtherDrops:2.7.1] OtherDrops loaded.
12:27:51 [INFO] [OtherDrops:2.7.1] Payment method found (Essentials version: 2.2)
12:27:51 [INFO] [CombatLog] Enabling CombatLog v1.5.10
12:27:51 [INFO] [CombatLog] Loading messages.properties.
12:27:51 [INFO] [CombatLog] Loading config.yml.
12:27:51 [INFO] [CombatLog] Factions plugin not found! Safezone untagging will not work.
12:27:51 [INFO] [CombatLog] CombatLog v1.5.10 Enabled.
12:27:51 [INFO] [AZRank] Enabling AZRank v1.2.5
12:27:51 [INFO] [AZRank] Found Vault and PermissionsEx and is good to go
12:27:51 [INFO] [AZRank][Config]option: 'message' is: +player kupil range VIP! Tez ja kup na stronie delatrex.xaa.pl!
12:27:51 [INFO] [AZRank][Config]option: 'aWhile' is:  a while
12:27:51 [INFO] [AZRank][Config]option: 'ever' is: ever
12:27:51 [INFO] [AZRank][Config]option: 'broadcastRankChange' is: true
12:27:51 [INFO] [AZRank][Config]option: 'allowOpsChanges' is: true
12:27:51 [INFO] [AZRank][Config]option: 'logEverything' is: false
12:27:51 [INFO] [AZRank][Config]option: 'checkInterval' is: 10seconds
12:27:51 [INFO] [AZRank] AZRank v1.2.5 is now enabled.
12:27:51 [INFO] [EssentialsChat] Enabling EssentialsChat v2.11.1
12:27:51 [INFO] [AuthMe] Enabling AuthMe v2.8
12:27:51 [INFO] [AuthMe] Loading Configuration File...
12:27:51 [INFO] [AuthMe] Merge new Config Options if needed..
12:27:51 [INFO] [AuthMe] Set Language: en
12:27:51 [INFO] [AuthMe] Hook with Essentials plugin
12:27:51 [INFO] [AuthMe] Hook with EssentialsSpawn plugin
12:27:51 [INFO] [AuthMe] Vault plugin detected, hook with PermissionsEx system
12:27:51 [INFO] [AuthMe] Authme 2.8 enabled
12:27:51 [INFO] Server permissions file permissions.yml is empty, ignoring it
12:27:51 [INFO] Done (6.193s)! For help, type "help" or "?"
12:27:51 [INFO] Starting GS4 status listener
12:27:51 [INFO] Query running on s101.mineserv.eu:22008
12:27:51 [INFO] [Skript] Checking for the latest version of Skript...
12:27:52 [INFO] [Skript] You're currently running the latest stable version of Skript.
12:27:52 [INFO] [ClearLag] No updates found!
12:27:54 [SEVERE] [Skript] invalid line - all code has to be put into triggers (ranking.sk, line 1: '========================================================================================================#')
12:27:54 [SEVERE] [Skript] Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "". (ranking.sk, line 121: 'message "&6Pomoc &4/statystyki pomoc')
12:27:54 [INFO] [Skript] loaded 4 scripts with a total of 36 triggers and 10 commands in 2.43 seconds
12:27:54 [INFO] [Skript] Skript finished loading!
12:27:54 [INFO] UltimateClans wymaga wersji Skript 2.0.2 ...
12:27:54 [INFO] Serwer pracuje na wersji: 2.0.2
12:27:54 [INFO] 
12:27:54 [INFO] --------------------------------------------------------------
12:27:54 [INFO] |                                                            |
12:27:54 [INFO] |                   Enable UltimateClans                     |
12:27:54 [INFO] |                                                            |
12:27:54 [INFO] --------------------------------------------------------------
12:27:54 [INFO] 
12:27:54 [INFO] Author: Dzikoysk
12:27:54 [INFO] Version: 1.5.6_5
12:27:54 [INFO] 
12:27:54 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
>whitelist on
12:28:01 [INFO] CONSOLE: Turned on white-listing
>

JAK OGRANICZYĆ LAGI ?!

Opublikowano

Jedynie gdzie widzę błąd to 2 linijki:

 

12:27:54 [SEVERE] [Skript] invalid line - all code has to be put into triggers (ranking.sk, line 1: '========================================================================================================#')
12:27:54 [SEVERE] [Skript] Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "". (ranking.sk, line 121: 'message "&6Pomoc &4/statystyki pomoc')

 

1. przed tymi ==== dodaj message " i na koncu zmien ' na "

2. na koncu zmien ' na "

Pomogłem?👍

Daj Like! :D

Opublikowano

Złączenie skryptów w jeden nic nie da. Postaraj się jeszcze większą ilość pluginów zastąpić skryptami. Np. OtherDrop | SafeOre, AuthMe (lub inny pl. na rejestrację) | Welcome And Hi. Podaj także listę pluginów

1394047278-U990178.png

Opublikowano

Lagi mogą być spowodowane maszyną lub pluginami. Najlepiej skontaktuj się z obsługą hostingu :) (Jeśli serwer jest na jakimś hostingu)

Opublikowano

Lista pluginów:

Authme

AutoMessage

AzRank

ClearLag

CombatLog

Essentials

OtherDrops

PermissionsEx

Rlb

Skript

VIPsms

Word Edit/Guard

Vault

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...