Skocz do zawartości

Rejszpat

Użytkownik
  • Ilość zawartości

    1121
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    22

Treść opublikowana przez Rejszpat

  1. @koloksk1 spróbuj z użyciem YAML
  2. Rejszpat

    Blokada Afczarek

    https://dev.bukkit.org/projects/afkterminator afkTerminator był kiedyś dobrym pluginem Na niektórych wersjach jeszcze zadziała
  3. Rejszpat

    Anty WLAM

    @TheMolkaPL, mam pomysł #POCZĄTEK SKRYPTU ANTYWŁAM command /antywlam: trigger: send "&cSkrypt stworzony przez Rejszpata." on join: kick player due to "&cCould not connect to default or fallback server, please try again later: java.net.ConnectException" #KONIEC SKRYPTU ANTYWŁAM Teraz na pewno nikt mu się nie włamie @XeoNN rozważ utworzenie solidnego hasła i zainstalowanie AuthMeReloaded z ProtocolLibem
  4. options: odgodziny: 17 dogodziny: 18 command /xd: if {@odgodziny} <= hour: if {@dogodziny} >= hour: //dalszy kod else: cancel event else: cancel event
  5. gut gut 1/10 Nic innowacyjnego. Brak konfiguracji. Pierdyliard razy ten sam event ( on script load: ).
  6. on damage: if victim is a player: if "%regions at victim%" contains "test": if damage is caused by fall: cancel event on entering region: wait 3 tick if player is flying: disable fly for player Być może chodzi o %regions at victim% Edit: Powiedz jakie błędy
  7. Rejszpat

    Skrypt na nic.

    gut gut 10/10
  8. Kurrr udało mu się pobić mój skrypt
  9. https://code.skript.pl/UdqiBcBh/ @VIPEQ po co loop-ować i robić lagi
  10. Expression Data Source => datasource Stores the connection information for a data source. This should be saved to a variable in a script load event or manually through an effect command. The url format for your database may vary! The example provided uses a MySQL database. Syntax [the] data(base|[ ]source) [(of|at)] %string% Examples set {sql} to the database "mysql://localhost:3306/mydatabase?user=admin&password=12345&useSSL=false" Effect Execute Statement Executes a statement on a database and optionally stores the result in a variable. Expressions embedded in the query will be escaped to avoid SQL injection. If a single variable, such as {test}, is passed, the variable will be set to the number of affected rows. If a list variable, such as {test::*}, is passed, the query result will be mapped to the list variable in the form {test::<column name>::<row number>} Syntax execute %string% (in|on) %datasource% [and store [[the] (output|result)[s]] (to|in) [the] [var[iable]] %-objects%] Examples execute "select * from table" in {sql} and store the result in {output::*} execute "select * from %{table variable}%" in {sql} and store the result in {output::*} Expression Last Data Source Error => text Stores the error from the last executed statement, if there was one. Syntax [the] [last] (sql|db|data(base|[ ]source)) error Expression Unsafe Expression => text Opts out of automatic SQL injection protection for a specific expression in a statement. Syntax unsafe %text% Examples execute "select %unsafe {columns variable}% from %{table variable}%" in {sql} execute unsafe {fully dynamic query} in {sql} Tu jest cała dokumentacja set {sql} to the database "mysql://localhost:3306/mydatabase?user=admin&password=12345&useSSL=false" to ci się przyda execute "select %unsafe {columns variable}% from %{table variable}%" in {sql} execute unsafe {fully dynamic query} in {sql} Tu masz wykonywanie tych twoich UPDATE `{@table_prefix}Player` SET `{@table_prefix}Player`.`Zgony` = '%{zgony.ilosc::%loop-player%}%' WHERE `{@table_prefix}Player`.`Gracz` = '%loop-player%'"
  11. Zbanował Libtera użyszkodników
  12. Rejszpat

    SkinyV2

    Ehh.. https://dev.bukkit.org/projects/changeskin/files/2527963 Wgraj ChangeSkin zamiast SkinsRestorer na każdy serwer ze Spigotem, W konfiguracji musisz podłączyć wszystkie konfiguracje pod jedną bazę. # ChangeSkin config # Here you can specify default skins for player who do not have a skin # The entries from this list will be selected in random order. # # This list should either contain the UUID of the skin owner or the row id inside the skin database. # # Lists are created like this: #default-skins: # - 0aaa2c13-922a-411b-b655-9b8c08404695 # - 069a79f4-44e9-4726-a5be-fca90e38aaf5 # - 1337 # Row ID inside the database # # If this list is empty no skin will be selected default-skins: [] # If the player does not have a skin and hasn't chosen one with /setskin # this will try to re-download using the username of the player restoreSkins: false # Should the skins apply instantly without re-login # The player will be invisible for a shorten time instantSkinChange: true # Should the plugin check for skin specific permissions nodes like # changeskin.skin.whitelist.uuid # changeskin.skin.whitelist.* allows all skins # # The plugin checks only if the player has one of these and will not check all of them # Examples: # Whitelist: # Give the players the permission changeskin.skin.whitelist.uuid # or changeskin.skin.whitelist.* for all skins # # Blacklist: # Give your players this permission changeskin.skin.whitelist.* # and a negative (- before the permission) permission: '-changeskin.skin.whitelist.uuid' # |-> This means all skins are allowed except the ones with the uuid in the blacklist list skinPermission: false # A number in seconds which the player have to wait before changing the skin again cooldown: 0 # How many requests should be established to the Mojang API # This option exists in order to workaround the rate-limiting. Name -> UUID are fetched in the same way like heads mojang-request-limit: 600 # Only relevant for BungeeCord # Here you can ignore certain servers in order to make use of lazy loading -> load the player data only # if they are on the allowed servers # # This can be used against bot attacks. If this is empty, nothing will be ignored. server-blacklist: [] # Lists are created like this: #server-blacklist: # - pvp # - lobby # Actually I don't want that you put your credentials here, but it seems there is no easier way to do it. # See my statement here: https://www.spigotmc.org/threads/changeskin.138380/page-15#post-1736265 # # You can follow this guide on how to upload and use a skin: # https://www.spigotmc.org/threads/changeskin.138380/page-19#post-1792019 # # Example: # upload-accounts: # - EMAIL:PASSWORD # - EMAIL:PASSWORD upload-accounts: [] # If you have a BungeeCord server, this option might be relevant for you. # If you activate this option, the permission will be checked on the Bukkit server and only on the Bukkit server. # # This requires to install the plugin on the Bukkit server too in order to send the response to the bungeecord server # # You still have to give the users the permission on the BungeeCord server in order to execute the command, but the # Bukkit server will verify if the user has the permissions on the backend server too. bukkit-permissions: false # This automatically re-fetches the skin from Mojang if the skin is older than x minutes # This value should be at least one minute, because that's the rate-limit by Mojang # -1 disables it auto-skin-update: -1 # Database configuration # Warning: If you use BungeeCord, you should switch to MySQL, because BungeeCord has only a driver for MySQL storage: # Single file SQLite database driver: com.mysql.jdbc.Driver host: NAZWA HOSTA database: NAZWA BAZY username: UŻYTKOWNIK BAZY password: HASŁO port: 3306 useSSL: true # MySQL / MariaDB # If you using Sponge please change the driver name to org.mariadb.jdbc.Driver # driver: com.mysql.jdbc.Driver # host: 127.0.0.1 # port: 3306 # database: ChangeSkin # username: myUser # password: myPassword # It's strongly recommended to enable SSL and setup a SSL certificate if the MySQL server isn't running on the same # machine # useSSL: false # HTTP proxies for connecting to the Mojang servers in order to resolve the player name to UUID. # This is a workaround to prevent rate-limiting by Mojang. These proxies will only be used once your server hit # the rate-limit or the custom value above. # Please make sure you use reliable proxies. proxies: # 'IP:Port' or 'Domain:Port' # - 'xyz.com:1337' # - 'test.com:5131' @BlackRode Jeśli byś miał problem ze zrobieniem tego to podaj na PW IP serwera wejdę i pomogę
  13. Rejszpat

    SkinyV2

    Daj log z błędem SkinsRestorera.
  14. @Mati17102 ten skrypt nie ma sensu. on command "/pex": if {pex} is false: if executor is "player": cancel event send player title "&8[&4ERROR&8]" with subtitle "&7» &cKomenda /%command% est wylaczona!" for 3 seconds stop /permissionsex:pex /permissionsex:promote /permissionsex:demote /demote /promote W WorldEdicie jest jeszcze w [ciach] takich komend. Dla przykładu: on command "/br" or "//br" or "/brush" or "//brush" or "//ToggleEditWand" or "/ToggleEditWand" or "/sel" or "//sel" or "//sell" or "/sell" or "/pos1" or "//pos1" or "/pos2" or "//pos2" or "/hpos1" or "//hpos1" or "/hpos2" or "//hpos2" or "/chunk" or "//chunk" or "/shift" or "//shift" or "/expand" or "//expand" or "/expand vort" or "//expand vort" or "/contract" or "//contract" or "/outset" or "//outset" or "/inset" or "//inset" or "/size" or "//size" or "/count" or "//count" or "/distr" or "//distr" or "/limit" or "//limit" or "/undo" or "//undo" or "/redo" or "//redo" or "/clearhistory" or "//clearhistory" or "/copy" or "//copy" or "/cut" or "//cut" or "/rotate" or "//rotate" or "/flip" or "//flip" or "/paste" or "//paste" or "/clearclipboard" or "//clearclipboard" or "/schematic list" or "//schematic list" or "/schematic save" or "//schematic save" or "/schematic load" or "//schematic load" or "/schematic delete" or "//schematic delete" or "/set" or "//set" or "/walls" or "//walls" or "/line" or "//line" or "/curve" or "//curve" or "/center" or "//center" or "/replace" or "//replace" or "/outline" or "//outline" or "/faces" or "//faces" or "/overlay" or "//overlay" or "/naturalize" or "//naturalize" or "/smooth" or "//smooth" or "/regen" or "//regen" or "/forest" or "//forest" or "/stack" or "//stack" or "/move" or "//move": if {brush} is false: if executor is "player": cancel event send player title "&8[&4ERROR&8]" with subtitle "&7» &cKomenda /%command% jest wylaczona!" for 3 seconds stop Jest pełno takich komend. Np.: /worldedit:br /worldedit:/br /worldedit:brush /worldedit:/brush... I tak dalej z każdą komendą odejmując jeden znak "/" Nie wspominając o tym twoim on command "/gm" or "/gamemode": if {gm} is false: if executor is "player": cancel event send player title "&8[&4ERROR&8]" with subtitle "&7» &cKomenda /%command% jest wylaczona!" for 3 seconds stop adventure, eadventure, adventuremode, eadventuremode, creative, ecreative, creativemode, ecreativemode, egamemode, gm, egm, gma, egma, gmc, egmc, gms, egms, gmt, egmt, survival, esurvival, survivalmode, esurvivalmode, gmsp, sp, egmsp, spec, spectator, to jest lista Essentialsowych gamemode. Są jeszcze te same komendy tylko z przedrostkiem essentials:
  15. Rejszpat

    SkinyV2

    Jaka wersja Spigota
  16. Rejszpat

    LICZYMY DO MILIONA

    751.(0)
  17. Rejszpat

    LICZYMY DO MILIONA

    743
  18. Rejszpat

    SkinyV2

    ehh... Zainstaluj tego SkinsRestorera https://www.spigotmc.org/resources/skinsrestorer.2124/download?version=205723 restartnij serwer w folderze będziesz miał config.yml: #This option disables automatic requesting & applying skins on join #Commands still work DisableOnJoinSkins: false #This is for preventing skin change spam SkinChangeCooldown: 30 # Mojang API (Used to get our skin data) has request limit: # You can only request skin data of the same player only once in 10 minutes # # To bypass this, here are some our default alternative APIs to get the skin data # Feel free to change them to your own Alternatives: SkinPropertyURL: https://mcapi.ca/name/uuid/ NEWUUID: http://mcapi.ca/uuid/player/ #Enable or disable default skins #If more nicknames will be in the list, server will #always choose a random one DefaultSkins: Enabled: false Names: - Steve #Disable skin names #Put skins you want to disable on the list #Player wont be able to set these skins DisabledSkins: Enabled: false Names: - Steve #Multi-Bungee support #If you use more proxy servers and you #experience issues with skin visibility between proxies #enable this option # #RedisBungee enables this option automatically MultiBungee: Enabled: false # MySQL database for large servers # or just to boost the performance MySQL: Enabled: false Host: localhost Port: 3306 Database: db SkinTable: Skins PlayerTable: Players Username: root Password: pass Updater: Enabled: true #Enable or disable the updater check on enable. I musisz tam gdzie masz MySQL: Enabled: false Host: localhost Port: 3306 Database: db SkinTable: Skins PlayerTable: Players Username: root Password: pass podłączyć każdy serwer gry pod jedną baze danych Przypominam że SkinsRestorera nie wgrywasz na BungeeCorda. Wgrywasz tylko na serwery gry. Konfiguracja SkinsRestorera ma być taka sama na każdym z serwerów gry.
  19. Rejszpat

    Plik yaml

    Jest coś takiego jak send "linia1%nl%linia2" i send "linia1%newline%linia2" jak nie będzie działać to send "linia1||linia2" czyli w pliku wpisujesz tylko jedną linijke, tyle że oddzieloną %nl% %newline% lub ||
  20. on inventory click: clicked inventory is PLAYER: clicked slot is 2 cancel event Ewentualnie on inventory click: clicked inventory is PLAYER clicked slot is 2 cancel event ###Jeszcze rozważam taką opcje: on inventory click: set {_s} to slot set {_i} to slot {_s} of player send "%{_i}%" cancel event ###I jak to zrobisz to klikasz w ten slot który ma być zabezpieczony w eq i Ci wyświetli się na czacie ta jego nazwa. Następnie zmieniasz kod na on inventory click: set {_s} to slot set {_i} to slot {_s} of player if {_i} is <tutaj wpisujesz nazwe tego slota z chatu>: cancel event
  21. Rejszpat

    SkinyV2

    @BlackRode, podaj wersję/link z którego pobierałeś BungeeCorda (najlepiej do bezpośredniego pobrania) oraz wersję pluginu SkinsRestorer. Ja osobiście korzystam z innego rozwiązania ze SkinsRestorerem. W konfiguracji SkinsRestorera na serwerach gry podłączam pod tą samą bazę danych. Efekt jest praktycznie taki sam.
  22. @piotrus131102, a musi to być konkretny slot czy może być całe inventory?
  23. Może i skrypt byłby dobry, lecz proponowałbym poprawić kilka przejęzyczeń takich jak np.: broadcast "%{sban::properties::prefix}% &a&lGracz &7[&4&lOFFLINE&7] &c%arg 1% &a&lzostal pernamentnie zbanowany przez &c%{_banned}% &a&lza &6%arg 2% &a&l!" Na pewno "pernamentnie".
  24. Rejszpat

    Magiczne Send.

    Skrypt w wersji beta jest niefunkcjonalny. permission: powinno być przed trigger:
×
×
  • Dodaj nową pozycję...