Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Commit

Permalink
Merge branch 'feature/dockerize'
Browse files Browse the repository at this point in the history
  • Loading branch information
JayWood committed Jun 8, 2018
2 parents 8cd4cfe + 63669eb commit a3facdb
Show file tree
Hide file tree
Showing 38 changed files with 7,381 additions and 305 deletions.
13 changes: 11 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
node_modules
.sass_cache
node_modules
.sass_cache
.idea
/vendor/
docker/minecraft/*
!docker/minecraft/Readme.md
docker/minecraft2/*
!docker/minecraft2/Readme.md
docker/mysql/*
!docker/mysql/.gitkeep
dist/*
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language: php
php:
- '5.6'
- '7.1'
- '7.2'
before_script:
- phpenv config-rm xdebug.ini
cache:
directories:
- vendor
- src/node_modules
before_install:
- npm install -g npm
- npm install -g gulp
- npm install -g gulp-cli
install:
- cd "src" && npm install
script:
- gulp
246 changes: 125 additions & 121 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,121 +1,125 @@
# WooMinecraft - WordPress Plugin

[![Twitter Follow](https://img.shields.io/twitter/follow/plugish.svg?style=for-the-badge&logo=twitter&label=Follow)](https://twitter.com/plugish) ![WordPress](https://img.shields.io/wordpress/v/woominecraft.svg?style=for-the-badge) ![WordPress plugin downloads](https://img.shields.io/wordpress/plugin/dt/woominecraft.svg?style=for-the-badge) ![WordPress plugin version](https://img.shields.io/wordpress/plugin/v/woominecraft.svg?style=for-the-badge)

**Contributors:** [JayWood](/~https://github.com/JayWood), [Ethan Smith](/~https://github.com/TekkitCommando)
**Tags:** minecraft, woocommerce, donations
**License:** GPLv2 or later
**Requires at least:** 4.4.2
**Tested up to:** 4.9.4
**Stable tag:** 1.1.1

A FREE Minecraft Donation plugin which works in conjunction with my WooMinecraft java plugin for Minecraft to provide a self-hosted donation platform.


## Support
If you enjoy this plugin and want to buy me a coffee sometime [feel free](https://www.paypal.me/jaywood) to tip your neighborly programmer.

## Description

Contribute to this plugin's development on [Github](/~https://github.com/WooMinecraft/woominecraft-wp) if you'd like.

This plugin works in conjunction with our [WooMinecraft JAVA Plugin](/~https://github.com/WooMinecraft/WooMinecraft) for Minecraft on GitHub
and is intended for Minecraft servers. This plugin allows you to add commands to your [WooCommerce](https://wordpress.org/plugins/woocommerce/) products to have
them executed on your server, once a user purchases that product.

We're providing this to you in full faith you'll follow the [Mojang Donation Guidelines](https://mojang.com/2014/06/lets-talk-server-monetisation-the-follow-up-qa/).

Supports the following:
* Multiple commands per product
* Multiple commands per product variation
* Multiple Servers
* MC Username verification ( we only support paid legit accounts via the Mojang API )
* Resend Donations per-order ( should you need to wipe your server ).
* More to come?!

## Frequently Asked Questions

### Does this support recurring payments?
* No, this only provides commands for products.

### Will you support offline servers?
* No, under no circumstances will we ever support offline servers.

### What payment gateways does this support?
* Anything? Well to be honest, this plugin does not mess with gateways at all. It relies solely on WooCommerce for the
payments - [check google](http://lmgtfy.com/?q###Woocommerce+payment+gateways)

### I just got a donation but it's not being sent!
* The order must be set to 'completed' in order for the order to be sent, that is the ONLY status that we're hooked into.

### This plugin sucks, BuyCraft is better
* Yea sure, we've all use to BuyCraft, but well, it doesn't have the flexibility of Woocommerce, and it's not free... and it's not open source... etc... need I say more?

## Screenshots

![Adding/removing multiple commands for general products.](https://raw.githubusercontent.com/WooMinecraft/woominecraft-wp/dev/screenshot-1.png)
_( General Product Commands )_

![Adding commands to single variations.](https://raw.githubusercontent.com/WooMinecraft/woominecraft-wp/dev/screenshot-2.png)
_( Variable Product Commands )_

![Adding Servers](https://raw.githubusercontent.com/WooMinecraft/woominecraft-wp/dev/screenshot-3.png)
_( Multi-server Support )_

## Changelog

### 1.1.1
* Update for WooCommerce 3.3.3
* Testing on WordPress 4.9.2
* Added tooltips to product panel.
* Restored previous placeholder of `give %s apple 1` in command slots.


### 1.1
* **Added** Multi-server support
* **Added** multiple error messages to send back to the client of any errors.
* **Added** username column in order listing, also makes it clickable/sortable
* **Added** delivery column in order listing
* Fixed command row bug with reindexing
* Moved server key settings to WooCommerce->Settings ( near the bottom )
* Resource updates for screenshots etc...
* **CHANGED** General command now no-longer run on-top of variation commands

### 1.0.8
* Hotfix for [#18](/~https://github.com/WooMinecraft/woominecraft-wp/issues/18) - Apparently WooCommerce uses the 'key' key as well...

### 1.0.7
* Better error handling for keys, instead of blindly killing over.

### 1.0.6
* Fixed [#96](/~https://github.com/WooMinecraft/WooMinecraft/issues/96) - Checking wrong post type for cache busting.

### 1.0.5
* Remove custom DB table requirements
* Update plugin to use order meta instead of DB table
* Code cleanup
* Auto-migrates old DB pending deliveries to order meta

### 1.0.4
* Update debugging information by not escaping $_REQUEST that is sent back to java.
* Fixed - Multiple players were getting re-sent donations, this was due to assumptions in posted data.

### 1.0.3
* Security fix - prevents sending back database stored key - Thanks to [FinlayDaG33k](/~https://github.com/FinlayDaG33k) [PR#15](/~https://github.com/WooMinecraft/woominecraft-wp/pull/15)

### 1.0.2
* Hotfix for meta data - fixed [#76](/~https://github.com/WooMinecraft/WooMinecraft/issues/76)

### 1.0.1
* Donations hotfix that was looping over donations infinitely

### 1.0.0
* First official release on .org
* First clean release on Github

## Installation

1. Login and navigate to Plugins → Add New
2. Type "WooMinecraft-WP" into the Search Input and click the "Search" button.
3. Find WooMinecraft-WP in the list and click "Install Now"
4. Activate the plugin.
# WooMinecraft - WordPress Plugin

[![Twitter Follow](https://img.shields.io/twitter/follow/plugish.svg?style=for-the-badge&logo=twitter&label=Follow)](https://twitter.com/plugish) ![WordPress](https://img.shields.io/wordpress/v/woominecraft.svg?style=for-the-badge) ![WordPress plugin downloads](https://img.shields.io/wordpress/plugin/dt/woominecraft.svg?style=for-the-badge) ![WordPress plugin version](https://img.shields.io/wordpress/plugin/v/woominecraft.svg?style=for-the-badge)

**Contributors:** [JayWood](/~https://github.com/JayWood), [Ethan Smith](/~https://github.com/TekkitCommando)
**Tags:** minecraft, woocommerce, donations
**License:** GPLv2 or later
**Requires at least:** 4.4.2
**Tested up to:** 4.9.6
**Stable tag:** 1.2

A FREE Minecraft Donation plugin which works in conjunction with my WooMinecraft java plugin for Minecraft to provide a self-hosted donation platform.


## Support
If you enjoy this plugin and want to buy me a coffee sometime [feel free](https://www.paypal.me/jaywood) to tip your neighborly programmer.

## Description

Contribute to this plugin's development on [Github](/~https://github.com/WooMinecraft/woominecraft-wp) if you'd like.

This plugin works in conjunction with our [WooMinecraft JAVA Plugin](/~https://github.com/WooMinecraft/WooMinecraft) for Minecraft on GitHub
and is intended for Minecraft servers. This plugin allows you to add commands to your [WooCommerce](https://wordpress.org/plugins/woocommerce/) products to have
them executed on your server, once a user purchases that product.

We're providing this to you in full faith you'll follow the [Mojang Donation Guidelines](https://mojang.com/2014/06/lets-talk-server-monetisation-the-follow-up-qa/).

Supports the following:
* Multiple commands per product
* Multiple commands per product variation
* Multiple Servers
* MC Username verification ( we only support paid legit accounts via the Mojang API )
* Resend Donations per-order ( should you need to wipe your server ).
* More to come?!

## Frequently Asked Questions

### Does this support recurring payments?
* No, this only provides commands for products.

### Will you support offline servers?
* No, under no circumstances will we ever support offline servers.

### What payment gateways does this support?
* Anything? Well to be honest, this plugin does not mess with gateways at all. It relies solely on WooCommerce for the
payments - [check google](http://lmgtfy.com/?q###Woocommerce+payment+gateways)

### I just got a donation but it's not being sent!
* The order must be set to 'completed' in order for the order to be sent, that is the ONLY status that we're hooked into.

### This plugin sucks, BuyCraft is better
* Yea sure, we've all use to BuyCraft, but well, it doesn't have the flexibility of Woocommerce, and it's not free... and it's not open source... etc... need I say more?

## Screenshots

![Adding/removing multiple commands for general products.](https://raw.githubusercontent.com/WooMinecraft/woominecraft-wp/dev/screenshot-1.png)
_( General Product Commands )_

![Adding commands to single variations.](https://raw.githubusercontent.com/WooMinecraft/woominecraft-wp/dev/screenshot-2.png)
_( Variable Product Commands )_

![Adding Servers](https://raw.githubusercontent.com/WooMinecraft/woominecraft-wp/dev/screenshot-3.png)
_( Multi-server Support )_

## Changelog

### 1.2
* Fix major bug in multiple-server setups with transient keys.
* Fix major vulnerability in build tools, updated gulp in package.json

### 1.1.1
* Update for WooCommerce 3.3.3
* Testing on WordPress 4.9.2
* Added tooltips to product panel.
* Restored previous placeholder of `give %s apple 1` in command slots.


### 1.1
* **Added** Multi-server support
* **Added** multiple error messages to send back to the client of any errors.
* **Added** username column in order listing, also makes it clickable/sortable
* **Added** delivery column in order listing
* Fixed command row bug with reindexing
* Moved server key settings to WooCommerce->Settings ( near the bottom )
* Resource updates for screenshots etc...
* **CHANGED** General command now no-longer run on-top of variation commands

### 1.0.8
* Hotfix for [#18](/~https://github.com/WooMinecraft/woominecraft-wp/issues/18) - Apparently WooCommerce uses the 'key' key as well...

### 1.0.7
* Better error handling for keys, instead of blindly killing over.

### 1.0.6
* Fixed [#96](/~https://github.com/WooMinecraft/WooMinecraft/issues/96) - Checking wrong post type for cache busting.

### 1.0.5
* Remove custom DB table requirements
* Update plugin to use order meta instead of DB table
* Code cleanup
* Auto-migrates old DB pending deliveries to order meta

### 1.0.4
* Update debugging information by not escaping $_REQUEST that is sent back to java.
* Fixed - Multiple players were getting re-sent donations, this was due to assumptions in posted data.

### 1.0.3
* Security fix - prevents sending back database stored key - Thanks to [FinlayDaG33k](/~https://github.com/FinlayDaG33k) [PR#15](/~https://github.com/WooMinecraft/woominecraft-wp/pull/15)

### 1.0.2
* Hotfix for meta data - fixed [#76](/~https://github.com/WooMinecraft/WooMinecraft/issues/76)

### 1.0.1
* Donations hotfix that was looping over donations infinitely

### 1.0.0
* First official release on .org
* First clean release on Github

## Installation

1. Login and navigate to Plugins → Add New
2. Type "WooMinecraft-WP" into the Search Input and click the "Search" button.
3. Find WooMinecraft-WP in the list and click "Install Now"
4. Activate the plugin.
29 changes: 29 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "jaywood/woominecraft-wp",
"description": "A minecraft donation plugin for WordPress",
"type": "project",
"license": "GPLv2",
"repositories": [
{
"type": "package",
"package": {
"name": "woominecraft/woominecraft",
"version": "1.1.2",
"dist": {
"type": "zip",
"url": "/~https://github.com/WooMinecraft/WooMinecraft/releases/download/1.1.2/WooMinecraft-1.1.2.zip"
}
}
}
],
"require-dev": {
"woocommerce/woocommerce": "^3.3",
"composer/installers": "^1.5",
"woominecraft/woominecraft": "1.1.2"
},
"extra": {
"installer-paths": {
"vendor/wp-plugins/{$name}/": ["type:wordpress-plugin"]
}
}
}
Loading

0 comments on commit a3facdb

Please sign in to comment.