A tool to transform your game-server donations into a self-service experience for your donators.
MIT License
Bot releases are visible (Hide)
Changes:
Full Changelog: https://github.com/FlorianSW/server-donation-tool/compare/v2.0.0-alpha1...v2.0.0-alpha2
Published by FlorianSW 5 months ago
This release contains some major changes. The update should work without any issues and changes needed, if you do not plan on using the new Nitrado Console serverr priority queue perk. However, as there are some changes to how the donation tool works, this will be a major version.
Changes:
nitrado
to be able to configure the nitrado authentication settingsNITRADO_PRIORITY_QUEUE
perkFull Changelog: https://github.com/FlorianSW/server-donation-tool/compare/v1.7.0...v2.0.0-alpha1
Published by FlorianSW over 1 year ago
I'm pleased to announce the availability of the following new functionality within the server donation tool:
auditor
role is added to allow users with special rights to get insights into donations; the membership to that role is based on Discord roles and can be configured with a new configuration option/statistics
). The UI is not perfect, yet, and will be improved in future releases. The main focus is to get you an overview of VAT you collected and need to pay to your tax authority./donate
command/donate
command and where not logged in to the website alreadyconfig.yml
auditor
role was addedIn order to update to this release, follow these steps (additionally to any steps mentioned in the official documentation):
node -v
in your command line window. If it is not a supported version, first upgrade NodeJS before continuing to upgrade the Donation tool. If you do not update NodeJS first, the donation tool will not start and bring your donation website offline!git pull
to the tag or by downloading the zip file from this page)npm ci
to update the required dependenciesPublished by FlorianSW about 2 years ago
I'm pleased to announce the availability of the following new functionality within the server donation tool:
SUCCESSFUL_REFUND
and REFUND_ERROR
. If you want to get these notifications as well, add these types to your discord.notifications.types
array in the config.yml
config.yml
discord
config object to support the new Discord Slash Commands feature. The options are within the commands
key.In order to update to this release, follow these steps (additionally to any steps mentioned in the official documentation):
node -v
in your command line window. If it is not a supported version, first upgrade NodeJS before continuing to upgrade the Donation tool. If you do not update NodeJS first, the donation tool will not start and bring your donation website offline!git pull
to the tag or by downloading the zip file from this page)npm ci
to update the required dependenciesPublished by FlorianSW almost 3 years ago
I'm pleased to announce the availability of the following new functionality within the server donation tool:
DONATED
, SUBSCRIPTION_EXECUTED
, SUCCESSFUL_REDEEM
and REDEEM_ERROR
now contain the perks of the package to better distinguish packages with the same name (#51)config.yml
paypal
key is now optional (conditionally, either stripe
or paypal
, or any future payment provider must be configured)stripe
configuration key to configure the Stripe.com payment providerIn order to update to this release, follow these steps (additionally to any steps mentioned in the official documentation):
node -v
in your command line window. If it is not a supported version, first upgrade NodeJS before continuing to upgrade the Donation tool. If you do not update NodeJS first, the donation tool will not start and bring your donation website offline!git pull
to the tag or by downloading the zip file from this page)npm ci
to update the required dependenciesPublished by FlorianSW almost 3 years ago
I'm pleased to announce the availability of the following new functionality within the server donation tool:
DONATED_PUBLIC
), which can be used to send a notification to a public Discord channel. It does not contain sensitive information by default (except the Discord username of the donator). The message can be adjusted by server owners with the message key NOTIFICATIONS_PAYMENT_SUCCESSFUL_PUBLIC_DESCRIPTION
. See the documentation for message overrides for more information regarding this. (#42)No changes made to perks.
config.yml
discord.notifications.types
a new type is allowed: DONATED_PUBLIC
In order to update to this release, follow these steps (additionally to any steps mentioned in the official documentation):
node -v
in your command line window. If it is not a supported version, first upgrade NodeJS before continuing to upgrade the Donation tool. If you do not update NodeJS first, the donation tool will not start and bring your donation website offline!git pull
to the tag or by downloading the zip file from this page)npm ci
to update the required dependenciesPublished by FlorianSW about 3 years ago
⚠️ This release requires at least NodeJS 16.6 or higher to work properly! ⚠️
I'm pleased to announce the availability of the following new functionality within the server donation tool:
config.yml
battlemetrics
on the root of the configuration, which contains a key for the access_token
issues by BattleMetrics to use the new BattleMetrics Reserved Slot perkIn order to update to this release, follow these steps (additionally to any steps mentioned in the official documentation):
node -v
in your command line window. If it is not a supported version, first upgrade NodeJS before continuing to upgrade the Donation tool. If you do not update NodeJS first, the donation tool will not start and bring your donation website offline!git pull
to the tag or by downloading the zip file from this pagenpm ci
to update the required dependenciesWhen starting the new version the first time, you may see error messages like:
(node:13568) UnhandledPromiseRejectionWarning: Error: alter table `<table-name>` [...] `<column-name>` [...] - SQLITE_ERROR: duplicate column name: [...]
(Use `node --trace-warnings ...` to show where the warning was created)
(node:13568) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
If this is the case, stop the app and start it again. If this error persists, please get in contact with us.
This error is related to the way of how the tool does database migrations. Generally, this should not impact the data integrity or functionality of the tool (except for the first start, where the error message occurs). We're investigating better ways to handle database migration paths in order to avoid this inconvenience.
Published by FlorianSW about 3 years ago
I'm pleased to announce the availability of the following new functionality within the server donation tool:
DONATED
discord notification type, for now, only. If you did not setup this notification, yet, you will not see these messages for now (feedback is welcome where this message could be displayed at additionally).There were no changes made to existing perks.
config.yml
The following changes were made to the structure of the config.yml
file:
WHITELIST
is a new perk type for the packages.perks
configuration option.In order to update to this release, follow these steps (additionally to any steps mentioned in the official documentation):
git pull
to the tag or by downloading the zip file from this pagenpm ci
to update the required dependenciesPublished by FlorianSW about 3 years ago
I'm pleased to announce the availability of the following new functionality within the server donation tool:
app.privacyPolicy.partials
configuration options).The following Perk integrations where changed:
amountInDays
, was added in order to enable expiring discord rolesconfig.yml
The following changes were made to the structure of the config.yml
file:
donationTarget
, it has the following structure (parent keys are included for better orientation):app:
community:
donationTarget:
monthly: 100.00
See the config.full.yml
for a full description and documentation about the new configuration options. See the corresponding donation targets documentation as well.
app:
googleAnalytics:
trackingId: GA-ABC123
disabled
option to disable a package for new donations (see the Packages and Perks documentation for more information)In order to update to this release, follow these steps (additionally to any steps mentioned in the official documentation):
git pull
to the tag or by downloading the zip file from this pagenpm ci
to update the required dependenciesPublished by FlorianSW about 3 years ago
This is the initial release of the Server Donation Tool. It includes, among others, the following major features and improvements:
The following Perk integrations where added:
config.yml
As this is the initial release, the configuration YAML file is identical to the example config file and no changes where made. In future releases, you'll find relevant changes of the configuration here.
In order to update to this release, follow these steps (additionally to any steps mentioned in the official documentation):
git pull
to the tag or by downloading the zip file from this pagenpm ci
to update the required dependencies