WooMCX icon

WooMCX -----

A Minecraft Donations Plugin which leverages WordPress and WooCommerce




another rest api bug fix
----------, May 1, 2024

Restapi bugs are dead..... for now, re worked /woo ping some
----------, Apr 30, 2024

more restapi bug fixes, should hopefully fix it
----------, Apr 30, 2024

more restapibugs found
----------, Apr 30, 2024

should still be 1.20.5+ compat, had a issue with restapi,

Mysql support is still being worked on
----------, Apr 30, 2024

this was tested on spigot/paper 1.8.8-1.20.4 and had no issues

fixed some logic with the offlinemode toggle, details are listed in the same file to enable it

still need the version of wordpress/woocommerce listed in the discord
----------, Feb 17, 2024

this is a patch dealing with a couple bugs that popped up due to the config getting changed around, this should patch and fix the issues from that
----------, Nov 17, 2023

fixes playerinventory free space checks
also fixes a typo in the config "url:" needs to be "Url:"
----------, Nov 9, 2023

small bug fix, fixes the first start error that appeared
----------, Oct 13, 2023

this is a important update that should fix all of the issues, from the previous versions

you will have to regenerate your config, ive finally decided on layout that works and keeps settings grouped together with eachother also anything else added will automatically be added to your existing config from this point forward

ingame order management if in development, also a sortable list of donators
----------, Oct 12, 2023

this should still work for MC1.20.2,
i recommend using version 1.0.3,

version 1.0.4 - has issues on boot up
version 1.0.5 - has issues when you update to it without fully regenerating your config file, and a possible other issue aswell

currently all versions have a bug where you can only have 1 server added to a item at a time in your shop,
example: someone buys a item that has commands for your survival and creative server, it will only run commands for the server they are on, skipping the other one
----------, Sep 29, 2023

some bug fixes to the auto check system
also added a update checker
----------, Sep 16, 2023

this should address a couple issues and add in more of the planned features
  1. Basic Gui (while its currently basic, it will get some major updates over the next few patches)
  2. RestApi is enabled again (Only use it for a backup, most new features wont work with it)
  3. FreeSpace (the plugin now checks if the player has enough free space in their inventory before giving items)
  4. Bugfixes (there was a lot of the code reworked, please let me know if you come across a bug
  5. Config updates (the config file had to have stuff added, please reset your config file)
here is the default
Code (YAML):

ConfigVersion
: 1.0.1

#enable or disable the update checker
UpdateCheck
: true
Disable-if-not-updated
: true
# Set this to the desired language file you wish to load.
# If your l10n is not available but one is that you know how to speak,consider
# contributing to this plugin at https://github.com/WooMinecraft/WooMinecraft/
lang
: "en"

# This is how often, in seconds, the server will contact your WordPress installation
# to see if there are donations that need made.
update_interval
: 1500

# You must set this to your WordPress site URL.  If you installed WordPress in a
# subdirectory, it should point there.
url
: "http://playground.dev"

# If you are having issues with REST, or have disabled pretty permalinks. Set this to false.
# Doing so will use the old /index.php?rest_route=/wmc/v1/server/ base
# Setting this to false will also allow you to set the restBasePath value if you have altered your
# installation in any way.
prettyPermalinks
: true

# If your REST API has a custom path base, input it here.
# NOTE: This is only loaded if prettyPermalinks is set to false.
# Known good URL bases.
# - /wp-json/wmc/v1/server/
# - /index.php?rest_route=/wmc/v1/server/
restBasePath
: ""

# This must match the WordPress key in your admin panel for WooMinecraft
# This is a key that YOU set, both needing to be identical in the admin panel
# and in this config file
# For security purposes, you MUST NOT leave this empty even if you are using MySQL
key
: ""

# Allowed worlds the player needs to be in to run the commands.
# Disabled by default!
whitelist-worlds
:
#  - world

# Set to true in order to toggle debug information
debug
: false

#this can be in a single string or list format, and will run these commands once per order(chargeback)
#it uses the same user variable as the Website
#example: "ban %s" will ban the user who chargedback
#this dosent work for RestAPI Mode
Chargeback-commands
: ""

SQL
:
#Types: MYSQL, RESTAPI
  Type
: "MYSQL"
  #The rest of these details need to be the same as your wordpress DB setup
  #if you run into a issue of it not being able to connect to your WP database, and your details are correct, use another DB host for your wordpress site
  #all public MC hosting normally comes with a free mysql DB, use that one for testing
  TablePrefix
: "wp_"
  MySQL
:
    Host
: "localhost"
    Port
: '3306'
    Database
: "database"
    Username
: "username"
    Password
: "password"

#Future GUI support for MYSQL mode
GUI
:
  #Set to true to enable GUI
  Enabled
: true
  #Gui Title
  Title
: "&c&lTest"
  #Gui Size
  #Gui sizes: 9, 18, 27, 36, 45, 54
  Size
: 9
  items
: #you can add more items
    1
:
      #Item ID
      id
: "STONE"
      #Item Name
      name
: "&c&lTest"
      #Item Lore
      lore
: #add your item description here
        - "&c&lTest"
        - "&c&lTest"
      #Item Amount
      amount
: 1
      #Item Slot
      slot
: 1
      #Item Link
      #this is a direct link to the item on your website
      link
: "https://google.com1"
      #Item Enchantments
      enchantment
:
        enabled
: true
    2
:
      id
: "STONE"
      name
: "&c&lTest"
      lore
:
       - "&c&lTest"
        - "&c&lTest"
      amount
: 1
      slot
: 2
      link
: "https://google.com2"
      enchantment
:
        enabled
: true
    3
:
      id
: "STONE"
      name
: "&c&lTest"
      lore
:
       - "&c&lTest"
        - "&c&lTest"
      amount
: 1
      slot
: 3
      link
: "https://google.com3"
      enchantment
:
        enabled
: true
 

Like you should do with all plugin updates, TEST IT BEFORE PUTTING IT ON A LIVE SERVER
----------, Sep 15, 2023

fixed some bugs and logic in the plugin,

also re enabled "/woo ping"

seems there is a caching issue with newer versions of WP/Woo, change your server keys a couple times before checking them via a test order and phpmyadmin,
they are stored under "wp_postmeta" in the DB, look for a "meta_key" containing "_wmc_commands_YourKeyHere"
----------, Jul 28, 2023

spigot is fully supported atm, paperspigot will work but not velocity, it still needs some work
----------, Jul 2, 2023

as the title says, just fixing a small bug fix in the startup section of the plugin
----------, Jul 2, 2023

Resource Information
Author:
----------
Total Downloads: 27
First Release: Jul 2, 2023
Last Update: May 1, 2024
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings