This repository has been archived by the owner on Jan 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
7,381 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,121 +1,125 @@ | ||
# WooMinecraft - WordPress Plugin | ||
|
||
[](https://twitter.com/plugish)    | ||
|
||
**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 | ||
|
||
 | ||
_( General Product Commands )_ | ||
|
||
 | ||
_( Variable Product Commands )_ | ||
|
||
 | ||
_( 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 | ||
|
||
[](https://twitter.com/plugish)    | ||
|
||
**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 | ||
|
||
 | ||
_( General Product Commands )_ | ||
|
||
 | ||
_( Variable Product Commands )_ | ||
|
||
 | ||
_( 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | ||
} | ||
} | ||
} |
Oops, something went wrong.