Перейти к содержимому
Mineforgian

BetterDonate

Some items can only be given to a player when he is online? Forget about this problem

Загрузки
317
Подписчики
1
Обновлён
12 февраля 2024 г.
Лицензия
GPL-3.0-or-later

Опубликован 3 февраля 2024 г.

plugin logo

Archived

This plugin is archived and will not receive any updates, fixes, etc.

A little lyrical introduction

Sometimes it happens that a player buys an item on the site, but when he logs in to the server he doesn't get it, because, as it turns out, he should have been on the server at that time. Not very convenient, especially for servers with Bedrock support, where not all players can play and pay for products at the same time. What about some effects when giving out products?

This plugin is designed to solve this problem!

Description

This plugin adds a shopping cart where products are added after players purchase them on your site, then the player can pick them up with a one command! If the player suddenly forgets (which is unlikely, but also possible), he will see a notification when he logs into the server

Features

  • Support for multiple languages (already have Russian and English)
  • Support for different types of products with customization of commands to issue:
    • donate-group (e.g. LuckPerms)
    • money (e.g. Vault)
    • tokens (e.g. PlayerPoints)
    • custom commands
  • Notify the player of uncollected purchases in the cart when logging in to the server.
  • Hex colors support [ &#000000 ]
  • Full customization of all messages and commands to be issued
  • Placeholder support (1.0.1+, optional)
  • Open source

Commands

/betterdonate - the main command of the plugin

Permission: betterdonate.admin

Usage:

  • /betterdonate help - show list of commands
  • /betterdonate reload - reload plugin
  • /betterdonate give - give goods to player
    • Example of use: /betterdonate give Player123 donate vip

/cart - command for players

Permission: betterdonate.cart

Usage:

  • /cart help - show list of commands
  • /cart get - get purchased items

Placeholder

%betterdonate_purchases_count% - Returns count of player purchases

A little from myself

I am not a professional coder, so there may be bugs in the plugin, so feel free to post them in the discussion. (also this is my first plugin)

Ченджлог

1.1.1Релиз1.20.2, 1.20.3, 1.20.4 · 12 февраля 2024 г.

What's new:

  • Tokens and money summation on multiple givings
1.1Релиз1.20.2, 1.20.3, 1.20.4 · 6 февраля 2024 г.

What's new:

  • Finally ready the main idea of the plugin - Discord webhooks (customizable in webhooks.yml)
  • Added statistics for plugin on bStats
    • Sending data can be disabled in config.yml
  • Ability to clear player's cart - /betterdonate clear [player]

Delete config files (config.yml) and localization to load new strings (after which you will be able to set the previous values)

1.0.1.1Релиз1.20.2, 1.20.3, 1.20.4 · 4 февраля 2024 г.

Update checker "There is a new update available" fix

1.0.1Релиз1.20.2, 1.20.3, 1.20.4 · 3 февраля 2024 г.

What's new:

  • Revamped the code (now it looks normal)
  • Moved cart.yml file to /data/ folder
  • Placeholder with the number of purchases (Requires PlaceholderAPI, optional)
  • Update checker

Delete config files (config.yml) and localization to load new strings (after which you will be able to set the previous values)

1.0Релиз1.20.2, 1.20.3, 1.20.4 · 3 февраля 2024 г.

First release

What's already done:

  • Config support, saving cart to YAML file and several languages (currently RU/EN)
  • Reload with /betterdonate reload
  • Support for different types of products with customization of commands for issuing:
    • donate-group (e.g. LuckPerms)
    • money (e.g. Vault)
    • tokens (e.g. PlayerPoints)
    • own commands
  • Customize commands that executed on getting purchases by player.
  • Notification of the player about not picked up purchases when logging in to the server

TODO:

  • Discord webhook

Комментарии

Загружаем…