- Баллы
- 76
Я бы хотел закончить к концу августа, но как пойдет, сказать точное не могу.уважаемый можно ли по интересоваться долго ли еще писаться 1.12 будет?
Следуйте инструкциям в видео ниже, чтобы узнать, как установить наш сайт как веб-приложение на главный экран вашего устройства.
Примечание: Эта функция может быть недоступна в некоторых браузерах.
Я бы хотел закончить к концу августа, но как пойдет, сказать точное не могу.уважаемый можно ли по интересоваться долго ли еще писаться 1.12 будет?
Возможно, нужно будет проверять.Моя проблема (краш при перезагрузке сервера) тоже будет решена?..
Отключить надпись или саму базу данных? Хотя в любом случае нельзя. В первом случае - это не предусмотрено, а второе - скажется на работает плагина, в базе данных хранятся данные блоков, из творчества которые. Отключив её, вы фактически создадите огромную брешь в защите.Возможно ли отключить это "[Craft Scheduler Thread - 279/INFO]: [ShareControl] Database have been background saved!" ? не скажется ли отключение базы на производительность?
я так и думал спс за ответОтключить надпись или саму базу данных? Хотя в любом случае нельзя. В первом случае - это не предусмотрено, а второе - скажется на работает плагина, в базе данных хранятся данные блоков, из творчества которые. Отключив её, вы фактически создадите огромную брешь в защите.
Почему это? ЖдатьЯ так понял, поддержки 1.12.1 не ждать?
Разработка ведётся, но крайне медленно, времени мало, к тому же сейчас я ещё и приболел. Если не хотите ждать - я Вас не заставляю, можете переходить на другие плагины, но в любом случае я постараюсь закончить плагин как только разгребу свои проблемы. Прошу прощения за задержки.> Я бы хотел закончить к концу августа, но как пойдет, сказать точное не могу.
Есть ли новости, уважаемый h1karo?
Хатико ждал и мы подождем)Разработка ведётся, но крайне медленно, времени мало, к тому же сейчас я ещё и приболел. Если не хотите ждать - я Вас не заставляю, можете переходить на другие плагины, но в любом случае я постараюсь закончить плагин как только разгребу свои проблемы. Прошу прощения за задержки.
Здоровье нормально, завал по учёбе ток, в общем, разгр****ь надо. По поводу плагина: работа идёт, сама основа плагина (фактически всё, кроме обработчиков событий) готова. Остаётся обработать события правильно, сравнить с старой версией с одинаковым количеством блоков, чтобы узнать, что лучше работает в итоге. Добавил некоторых важных моментов. В общем, я полностью переделал сохранение блоков. Ранее они каждый по очереди сохранялись, теперь же я формирую один общий запрос в базу данных, это должно быть более оптимизированных.Как здоровье, маэстро? Есть ли положительные новости? )
# +-----------------------------------------------+ #
# ShareControl's configuration file #
# +-----------------------------------------------+ #
# Plugin's author: h1karo
# BukkitDev: https://dev.bukkit.org/projects/sharecontrol
# SpigotMC: https://www.spigotmc.org/resources/sharecontrol.9225/
# Repository: https://github.com/h1karo/ShareControl/
# RuBukkit: http://rubukkit.org/threads/admn-sec-mech-sharecontrol-v2-6-4-kontrol-tvorcheskogo-rezhima-1-7-1-11.106125/
# Thanks for use my plugin!
# ****************** #
# GENERAL SETTINGS #
# ****************** #
general:
# Language of messages.
# Available by default: en, ru.
# You can add your localization file to the "languages" folder.
# Default: en
locale: en
updates:
# Activation check for updates.
# Default: true
check: true
# Current version of the plugin
version: 3.0
debug:
# Level of debug.
# File 'debug.log' and directory 'logs' with old files
# Possible values: NONE, LOW, MEDIUM, HIGH
# If 'NONE' the debug file don't create.
# If 'LOW' more information about errors is available in debug file.
# If 'MEDIUM' some important points in the actions of the plugin are written to the debug file.
# If 'HIGH' most of the plugin's actions are written to the debug file: events, database save. Warning: debug files can be large.
# Default: LOW
level: LOW
# Old logs purge on plugin loading.
# Supports time format with suffixes (ex: '10d' as 10 days). Default in seconds.
# Set 'none' to turn off. Set '0' to turn off save old logs (only debug.log).
# Default: 10d
purge: 10d
database:
# Type of database.
# Possible values: mysql or sqlite
# Default: sqlite
type: sqlite
saving:
# The interval between async saving the database while the server is running.
# Supports time format with suffixes (ex: '10d' as 10 days). Default in seconds.
# Set '0' to turn off saving.
# Default: 5m
interval: 5m
# If 'true' the data will be saved asynchronously, except for saving when server disable.
# If 'false' the data will be saved synchronously. Warning: lags.
# Default: true
isAsync: true
# Prefix for tables
# Default: sc_
prefix: sc_
# Settings for MySQL
mysql:
hostname: host
port: 3306
database: minecraft
username: root
password: ''
# *************** #
# CHAT SETTINGS #
# *************** #
chat:
# Prefix of the chat messages
prefix:
enabled: true
name: '&9Share&fControl'
format: '&e>> %name% &e>&7 '
# Possible values: NONE, NORMAL, ADVANCED
# If 'NONE' messages not be sended.
# If 'NORMAL' messages be sended.
# If 'ADVANCED' alternative messages be sended with name of blocks and other (see localization files, messages with keys 'alt').
# Default: ADVANCED
notify:
survival: ADVANCED
creative: ADVANCED
# ************** #
# RESTRICTIONS #
# ************** #
restrictions:
# Possible values: ALLOW, DENY
# If 'ALLOW' the block, which was broken by the player from the non-creative mode, will be destroyed, but will not fall out.
# If 'DENY' the block, which was broken by the player from the non-creative mode, will not be destroyed.
# Default: DENY
creativeBlockDestruction: DENY
# Possible values: ALLOW, DENY
# If 'ALLOW' players from the creative mode can interact with creatures: strike, interact, lead by leash, breed.
# If 'DENY' players from the creative mode can't interact with creatures.
# Default: DENY
creatureInteractions: DENY
# Possible values: ALLOW, DENY
# If 'ALLOW' players from the creative mode can interact with other players: hit.
# If 'DENY' players from the creative mode can't interact with other players.
# Default: DENY
playerInteractions: DENY
# Possible values: ALLOW, DENY
# If 'ALLOW' players from the creative mode can perform other interactions.
# If 'DENY' players from the creative mode can't this.
# Default: DENY
otherInteractions: DENY
# If 'true' the item will be cleared when player from the creative mode try to drop it of inventory.
# If 'false' the item will be restored when player from the creative mode try to drop it of inventory.
# Default: true
clearItemOnDrop: true
# List of worlds in which the creative mode will not work. Set 'none' or [] to turn off.
# Default:
# - world_nether
# - world_the_end
forbiddenWorlds:
- world_nether
- world_the_end
# Level of control permissions.
# Possible values: NONE, LOW, HIGH
# If 'NONE' players can use his gamemode even without permission to change gamemode (/gamemode <type>).
# If 'LOW' players can't use his gamemode without special permission.
# If 'HIGH' full control of permissions. Even administrator can't change gamemode of player without special permission.
# Note: when using this function, you must add to group of creative mode permissions:
# sharecontrol.gamemodescontrol.survival (required)
# sharecontrol.gamemodescontrol.creative (required)
# sharecontrol.gamemodescontrol.adventure (optional)
# sharecontrol.gamemodescontrol.spectator (optional)
# Default: NONE
gamemodesControl: NONE
# Level of inventories separation.
# Possible values: NONE, LOW, HIGH
# If 'NONE' the plugin does not process transition events from one mode to another.
# If 'LOW' when switching from one mode to another mode, the player's inventory will be cleared.
# If 'HIGH' full replacement and saving of inventory for each mode when switching from one mode to another mode.
# Default: HIGH
multiInventories: HIGH
скоро 1.13 выйдет будете переписывать? ведь там многое изменено будетЗдоровье нормально, завал по учёбе ток, в общем, разгр****ь надо. По поводу плагина: работа идёт, сама основа плагина (фактически всё, кроме обработчиков событий) готова. Остаётся обработать события правильно, сравнить с старой версией с одинаковым количеством блоков, чтобы узнать, что лучше работает в итоге. Добавил некоторых важных моментов. В общем, я полностью переделал сохранение блоков. Ранее они каждый по очереди сохранялись, теперь же я формирую один общий запрос в базу данных, это должно быть более оптимизированных.
К тому же я добавил дебаг-файл + настройка в конфиге о уровне записывания данных, чем выше уровень, тем больше данных будет записываться, конечно же, Вы сможете отключить это файл вовсе. Во время сохранения есть 2 проверки: быстрая - тупо пробежаться по возвращенным данным и глубокая - отправление запрос и сравнение отправленных (до этого) с полученными сейчас. Быстрая проверка работает всегда, а глубокая начиная с уровня дебага "medium". На счёт нашей проблемы с перезагрузкой - я не знаю, надо проверять будет у Вас.
Так же изменил файл конфигурации, полностью новый и все комментарии прямо внутри, да и вообще больше возможностей управления плагином. На всякий случай приложу новый вид файла конфигурации, если интересно, можно посмотреть, он будет дополняться и изменяться.
Это если кратко о самом важном.YAML:# +-----------------------------------------------+ # # ShareControl's configuration file # # +-----------------------------------------------+ # # Plugin's author: h1karo # BukkitDev: https://dev.bukkit.org/projects/sharecontrol # SpigotMC: https://www.spigotmc.org/resources/sharecontrol.9225/ # Repository: https://github.com/h1karo/ShareControl/ # RuBukkit: http://rubukkit.org/threads/admn-sec-mech-sharecontrol-v2-6-4-kontrol-tvorcheskogo-rezhima-1-7-1-11.106125/ # Thanks for use my plugin! # ****************** # # GENERAL SETTINGS # # ****************** # general: # Language of messages. # Available by default: en, ru. # You can add your localization file to the "languages" folder. # Default: en locale: en updates: # Activation check for updates. # Default: true check: true # Current version of the plugin version: 3.0 debug: # Level of debug. # File 'debug.log' and directory 'logs' with old files # Possible values: NONE, LOW, MEDIUM, HIGH # If 'NONE' the debug file don't create. # If 'LOW' more information about errors is available in debug file. # If 'MEDIUM' some important points in the actions of the plugin are written to the debug file. # If 'HIGH' most of the plugin's actions are written to the debug file: events, database save. Warning: debug files can be large. # Default: LOW level: LOW # Old logs purge on plugin loading. # Supports time format with suffixes (ex: '10d' as 10 days). Default in seconds. # Set 'none' to turn off. Set '0' to turn off save old logs (only debug.log). # Default: 10d purge: 10d database: # Type of database. # Possible values: mysql or sqlite # Default: sqlite type: sqlite saving: # The interval between async saving the database while the server is running. # Supports time format with suffixes (ex: '10d' as 10 days). Default in seconds. # Set '0' to turn off saving. # Default: 5m interval: 5m # If 'true' the data will be saved asynchronously, except for saving when server disable. # If 'false' the data will be saved synchronously. Warning: lags. # Default: true isAsync: true # Prefix for tables # Default: sc_ prefix: sc_ # Settings for MySQL mysql: hostname: host port: 3306 database: minecraft username: root password: '' # *************** # # CHAT SETTINGS # # *************** # chat: # Prefix of the chat messages prefix: enabled: true name: '&9Share&fControl' format: '&e>> %name% &e>&7 ' # Possible values: NONE, NORMAL, ADVANCED # If 'NONE' messages not be sended. # If 'NORMAL' messages be sended. # If 'ADVANCED' alternative messages be sended with name of blocks and other (see localization files, messages with keys 'alt'). # Default: ADVANCED notify: survival: ADVANCED creative: ADVANCED # ************** # # RESTRICTIONS # # ************** # restrictions: # Possible values: ALLOW, DENY # If 'ALLOW' the block, which was broken by the player from the non-creative mode, will be destroyed, but will not fall out. # If 'DENY' the block, which was broken by the player from the non-creative mode, will not be destroyed. # Default: DENY creativeBlockDestruction: DENY # Possible values: ALLOW, DENY # If 'ALLOW' players from the creative mode can interact with creatures: strike, interact, lead by leash, breed. # If 'DENY' players from the creative mode can't interact with creatures. # Default: DENY creatureInteractions: DENY # Possible values: ALLOW, DENY # If 'ALLOW' players from the creative mode can interact with other players: hit. # If 'DENY' players from the creative mode can't interact with other players. # Default: DENY playerInteractions: DENY # Possible values: ALLOW, DENY # If 'ALLOW' players from the creative mode can perform other interactions. # If 'DENY' players from the creative mode can't this. # Default: DENY otherInteractions: DENY # If 'true' the item will be cleared when player from the creative mode try to drop it of inventory. # If 'false' the item will be restored when player from the creative mode try to drop it of inventory. # Default: true clearItemOnDrop: true # List of worlds in which the creative mode will not work. Set 'none' or [] to turn off. # Default: # - world_nether # - world_the_end forbiddenWorlds: - world_nether - world_the_end # Level of control permissions. # Possible values: NONE, LOW, HIGH # If 'NONE' players can use his gamemode even without permission to change gamemode (/gamemode <type>). # If 'LOW' players can't use his gamemode without special permission. # If 'HIGH' full control of permissions. Even administrator can't change gamemode of player without special permission. # Note: when using this function, you must add to group of creative mode permissions: # sharecontrol.gamemodescontrol.survival (required) # sharecontrol.gamemodescontrol.creative (required) # sharecontrol.gamemodescontrol.adventure (optional) # sharecontrol.gamemodescontrol.spectator (optional) # Default: NONE gamemodesControl: NONE # Level of inventories separation. # Possible values: NONE, LOW, HIGH # If 'NONE' the plugin does not process transition events from one mode to another. # If 'LOW' when switching from one mode to another mode, the player's inventory will be cleared. # If 'HIGH' full replacement and saving of inventory for each mode when switching from one mode to another mode. # Default: HIGH multiInventories: HIGH
Поддержка версии не заключается в переписывании, так что нет. А что там изменено будет-то?скоро 1.13 выйдет будете переписывать? ведь там многое изменено будет
"Основное внимание будет уделено исправлениям ошибок и техническим изменениям" так написано в викиПоддержка версии не заключается в переписывании, так что нет. А что там изменено будет-то?
Сейчас внутри плагина есть поддержка версий 1.7-1.11 (в последней версии), в одном файле, я хочу добавить так же в один файл 1.12 и 1.13 поддержку. В 1.12, вроде, ничего такого, но если в 1.13 будет что-то прямо такое, что нельзя оптимизировать, соединить с остальными версиями, то либо плагин разобьётся на 2 ветки: 1.7-1.12 и 1.13+, либо после выхода 1.13 поддержки старых версий не будет. Посмотрим."Основное внимание будет уделено исправлениям ошибок и техническим изменениям" так написано в вики
https://minecraft-ru.gamepedia.com/1.13