Skocz do zawartości

hyhy123455

Użytkownik
  • Ilość zawartości

    139
  • Rejestracja

  • Ostatnia wizyta

Treść opublikowana przez hyhy123455

  1. cześć ktoś by napisał mi skrypt na kod który kazdy gracz moze wpisać tylko 1 raz i dostanie itemy gdy ućyje kodu np gracz wpisuje /kod event i dostaje 1 dirta
  2. Cześć napisał by ktoś mi skrypt ze gdy ktos kogos zabije to jest jakiś tam procent na to ze uruchomi sie jakaś komenda
  3. Mógl ktoś mi napisać taki skrypt gdy gracz zabije np 3 graczy to wykona sie jakaś komenda albo jeszcze lepiej zeby było na 30% szans na wykonanie tej komendy
  4. znalazłem juz wildscript nie działał
  5. Render distance jest zablokowany na 3 a jest ustawiony na 8 i sie nie chce zmienić w configu też patrzałem i było na 8 w mc mam na 15
  6. co ci kurde człowieku titanaxe zrobiło
  7. a bo mam serwer na titanaxe i czy mysql moze byc innego servera?
  8. jeszcze to znalazłem [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 1 tab (config.sk, line 201: database 1:') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 218: file: ./plugins/Skript/variables.db') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 227: backup interval: 2 hours') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 248: monitor changes: true') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 249: monitor interval: 20 seconds') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 1 tab (config.sk, line 251: SQLite example:') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 254: type: disabled# change to line below to enable this database') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 257: pattern: db_.*# this pattern will save all variables that start with 'db_' in this SQLite database.') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 259: file: ./plugins/Skript/variables.db') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 264: backup interval: 0# 0 = don't create backups') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 265: monitor changes: false') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 266: monitor interval: 20 seconds') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 1 tab (config.sk, line 268: default:') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 273: type: CSV') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 275: pattern: .*') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 277: file: ./plugins/Skript/variables.csv') [11:43:28 ERROR]: [Skript] indentation error: expected 0 tabs, but found 2 tabs (config.sk, line 279: backup interval: 2 hours') [11:43:28 ERROR]: [Skript] Checking for updates failed. Do you have Internet connection?
  9. jednak znalazłem błędy [11:25:15 ERROR]: [Skript][MySQL] Could not establish a MySQL connection, SQLException: Access denied for user 'srv141303'@'%' to database 'skript' [11:25:15 ERROR]: #!#! [11:25:15 ERROR]: #!#! ===!!!=== Skript variable load error ===!!!=== [11:25:15 ERROR]: #!#! Unable to load (all) variables: [11:25:15 ERROR]: #!#! Cannot connect to the database 'database 1'! Please make sure that all settings are correct and that the database software is running.
  10. zakceptuj na dc to wysle configi XD
  11. no wez pomóż to zrobić XD bo ja jakiś ułomny i nie potrafe
  12. database 1: # An example database to describe all possible options. type: MySQL # The type of this database. Allowed values are 'CSV', 'SQLite', 'MySQL' and 'disabled'. # CSV uses a text file to store the variables, while SQLite and MySQL use databases, and 'disabled' makes Skript ignore the database as if it wasn't defined at all. pattern: tokeny_.* # Defines which variables to save in this database. # This pattern uses Regex syntax, e.g. use 'db_.*' (without the quotes) to store all variables prefixed with 'db_' in this database, # or use '.*' (the default value) to store all variables here (recommended for the last database in this list, as otherwise some variables might not be saved). # Please note that variables are only stored in one database, and databases are checked from top to bottom, # e.g. if a variable matches the topmost database's pattern it will be saved there and nowhere else. # BTW: Patterns are checked in a separate thread, i.e. your server likely won't run slower when using complicated patterns. monitor changes: true monitor interval: 15 seconds # If 'monitor changes' is set to true, variables will repeatedly be checked for updates in the database (in intervals set in 'monitor interval'). # ! Please note that you should set 'pattern', 'monitor changes' and 'monitor interval' to the same values on all servers that access the same database! # == MySQL configuration == host: mysql.titanaxe.com# Where the database server is located at, e.g. 'example.com', 'localhost', or '192.168.1.100' port: 3306 # 3306 is MySQL's default port, i.e. you likely won't need to change this value user: srv141303 password: tutaj haslo database: skript # The database to use, the table will be created in this database. table: variables21# The name of the table to create. 'variables21' is the default name, if this was to be omitted. # (If the table exists but is defined differently that how Skript expects it to be you'll get errors and no variables will be saved and/or loaded) # == SQLite/CSV configuration == file: ./plugins/Skript/variables.db # Where to save the variables to. For a CSV file, the file extension '.csv' is recommended, but not required, but SQLite database files must end in '.db' (SQLibrary forces this). # The file path can either be absolute (e.g. 'C:\whatever\...' [Windows] or '/usr/whatever/...' [Unix]), or relative to the server directory (e.g. './plugins/Skript/...'). #table: variables21 # The name of the table to create. 'variables21' is the default name, if this was to be omitted. # (If the table exists but is defined differently that how Skript expects it to be you'll get errors and no variables will be saved and/or loaded) # This is generally not required as the the .db file will only be used by Skript, unless you want to split different variables into different tables backup interval: 2 hours # Creates a backup of the file every so often. This can be useful if you ever want to revert variables to an older state. # Variables are saved constantly no matter what is set here, thus a server crash will never make you loose any variables. # Set this to 0 to disable this feature. 10 razy to robiłem i nie działa
  13. tylko ze w MySQL nic sie nie tworzy
  14. no ok to jak teraz zmienną zapisać w MySQL i jak ją wczytać gdy gracz wejdzie na server
  15. no i jak załadować zmienną
  16. a gdy jest monitor changes: true monitor interval: 20 seconds to co tyle bedzie sie zapisywać
  17. np pattern: tokeny_.* ?
  18. plugin wgrany , config chyba dobrze zrobiony co teraz
  19. czyli musze mieć ten plugin SQLibrary aby działało?
  20. znalazłem ale nwm jak to sie zapisuje czy to samo sie zapisuje
  21. pomożesz?
  22. dało by połączyć ten skrypt z mysql tak zeby co jakiś czas lub zmianę zmiennej tokeny sie zapisywało a gdy gracz wejdzie to wczytywały
  23. pomoże ktoś naprawić wszystko jest git ale gdy klikam ze nie kopie na afk to mnie i tak wywala on mine: if event-block is not stone: stop chance of 99%: stop set {_gui} to chest inventory with 3 rows named "&cAnti-AFK" set slot (integers between 0 and 26) of {_gui} to red concrete "&cKopię na afku" set slot (random integer between 0 and 26) of {_gui} to light green concrete named "&aNie kopię na afku" open {_gui} to player on inventory click: if type of event-inventory is not chest inventory: stop if name of event-inventory is not "&cAnti-AFK": stop cancel event if clicked slot is light green concrete named "&aNie kopię na afku": close player's inventory stop kick player due to "&cKliknąłeś na zły przycisk!" on inventory close: if name of event-inventory is "&cAnti-AFK": kick player due to "&cNie możesz wyjść z tego gui!"
×
×
  • Dodaj nową pozycję...