XaiJu
dkplugins
dkplugins

patreon


New publicly plugin! Send Error v1.0.0

English:

Plugin description: Allows you to send a POST request when an error is received to the specified URL.

Instruction:

The plugin allows you to send a POST request when an error is received to the specified URL.
If the standard URL is used (https://dk-plugins.ru/notify.php),
then you need to specify your email address in the "Data" setting,
to which the message will be sent, and emailTitle - the title of the message.
Attention! The standard URL (https://dk-plugins.ru/notify.php) is configured to
to send error data to your mailbox. If you don't trust my customized script,
then you will have to implement your own.

Also you can add any data you need to the message, for example:
1. Information about the error itself (setting "Include error info")
2. Additional information about the error (setting "Include reference info").
This setting adds the following information: scene, map id, event id,
event page, last command executed and its index.
3. Add your information using Javascript.
Examples of data you can add.
1. Game version:
data.gameVersion = '1.0.0';

2. Changed variables:
data.variables = $gameVariables._data.reduce((acc, value, index) => {
if (value) {
 acc[index] = value;
}
 return acc;
}, {});

3. Enabled switches:
data.enabledSwitches = $gameSwitches._data.reduce((acc, value, index) => {
if (value) {
 acc.push(index);
}
 return acc;
}, []);

Plugin page: https://dk-plugins.ru/send-error/


Russian:

Описание плагина: Позволяет отправить POST запрос при получении ошибки на указанный URL.

Инструкция:

Плагин позволяет отправить POST запрос при получении ошибки на указанный URL.
Если в качестве URL используется стандартный (https://dk-plugins.ru/notify.php),
то вам необходимо в настройке "Данные" указать свой email адрес,
на который будет отправлено сообщение, и emailTitle - заголовок сообщения.
Внимание! Стандартный URL (https://dk-plugins.ru/notify.php) настроен на то,
чтобы отправлять данные об ошибке на ваш почтовый ящик. Если вы не доверяете
моему настроенному скрипту, то вам придется реализовать свой собственный.

Также вы можете добавить любые необходимые вам данные в сообщение, например:
1. Информация о самой ошибке (настройка "Добавить данные об ошибке")
2. Дополнительная информация об ошибке (настройка "Добавить дополнительную информацию").
Данная настройка добавляет следующую информацию: сцена, номер карты, события,
страница события, последняя выполненная команда и ее индекс.
3. Добавить свою информацию с помощью Javascript.
Примеры данных, которые вы можете добавить.
1. Версия игры:
data.gameVersion = '1.0.0';

2. Измененные переменные:
data.changedVariables = $gameVariables._data.reduce((acc, value, index) => {
if (value) {
 acc[index] = value;
}
 return acc;
}, {});

3. Включенные переключатели:
data.enabledSwitches = $gameSwitches._data.reduce((acc, value, index) => {
if (value) {
 acc.push(index);
}
 return acc;
}, []);

Страница плагина: https://dk-plugins.ru/send-error/ 


More Creators