GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Fresh-Donate/plugin

BranchesTags
Open more actions menu

Latest commit

 

History

25 Commits
25 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
gradle/wrapper
gradle/wrapper
 
 
src/main
src/main
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README.ru.md
README.ru.md
 
 
build.gradle.kts
build.gradle.kts
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

FreshDonate - Minecraft Plugin

Paper/Spigot plugin that delivers purchases to players in‑game.

Part of the FreshDonate open‑source donation platform for Minecraft servers. See also: Backend · Shop · Admin Panel · Russian README


About FreshDonate

FreshDonate is a self‑hosted donation system for Minecraft servers. It lets you sell ranks, items, currency and any other in‑game goods through your own storefront, accept payments via multiple providers, and deliver purchases to players automatically the next time they are online - without any third‑party commission or lock‑in.

The platform is split into four repositories:

Repository Role
fresh-donate-backend Fastify API, payments, webhooks, delivery queue
fresh-donate-shop Public storefront for players (Nuxt)
fresh-donate-panel Admin panel for owners (Nuxt)
fresh-donate-plugin (this repo) Minecraft plugin that delivers purchases in‑game

Role of this repository

The plugin is the in‑game side of FreshDonate. When a player joins the server, the plugin asks the backend whether there are pending deliveries for that nickname, and if so, runs the configured commands for each one (giving an item, promoting the player, running any console command). The backend then marks the purchase as delivered.

This lets players get their donations without restarts, without the owner running commands manually, and without the backend needing to hold an open connection to the server.

If you don't want to install the plugin, the backend can fall back to RCON for delivery - see the backend README.

Tech stack

  • Kotlin 2.0 (JVM target 8)
  • Paper API 1.16.5 at compile time, uses only Bukkit API so it runs on Spigot/Paper 1.13.2+ (tested against 1.21)
  • Gson for JSON
  • Gradle with shadow plugin (fat JAR, shaded Kotlin stdlib and Gson)

Requirements

  • A Paper or Spigot server (1.13.2+)
  • Java 8+ on the server
  • A reachable fresh-donate-backend instance

Build

./gradlew shadowJar

The fat JAR will appear in build/libs/. Drop it into your server's plugins/ folder and restart the server.

Run a dev server

The run-paper plugin is configured, so you can boot a local test server:

./gradlew runServer

Configuration

After the first launch, a config file appears in plugins/FreshDonatePlugin/. You will need at least:

  • the backend base URL;
  • a shared secret / API key issued by the admin panel, so the plugin can authenticate to the backend.

See the generated config file in the plugin folder for the full list of options.

Project structure

src/main/
  kotlin/         plugin source (listeners, HTTP client, delivery handler)
  resources/      plugin.yml, default config
build.gradle.kts  Gradle build (Kotlin DSL, shadow plugin)

Related repositories

  • fresh-donate-backend - REST API this plugin polls for deliveries
  • fresh-donate-shop - public storefront
  • fresh-donate-panel - admin panel

License

See LICENSE.

About

No description, website, or topics provided.

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

4 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.