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

Step 1: Server Plugin Installation

John Heikens edited this page Nov 14, 2022 · 22 revisions

Installation

For those who don't want to read everything.

  1. Upload plugin to Minecraft Server
  2. Start server so the default config is generated.
  3. Shutdown server
  4. Edit the key and url config options to match your setup ( see below for explanation )
  5. Start Server

Permissions

Node Name Description
woo.* Allows all current and future permissions
woo.admin Allows key generation/change (Admin only)

Commands

  • /woo check - Checks the server for pending deliveries.

Plugin Config

Ensure any strings such as the URL or lang setting are encased in quotes, on some servers this is required, but there's no way of telling.

# 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"

# This must match the WordPress key in your admin panel for WooMinecraft
# For security purposes, you MUST NOT leave this empty.
key: ""

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

Explanation

  • Lang: Set this to the desired language file you wish to load. See below the list of available languages.
  • Key: This is used in the WordPress installation. Don't give this key to anyone! (how to get a REST API key from WooCommerce)
  • Url: A URL to your WordPress installation. If you installed WordPress in a subdirectory, it should point there.
  • Time_delay: The amount of seconds between web checks, 1500 is recommended.

You can select a language from this list:

  • en (English)
  • nl (Dutch/Nederlands)
  • es (Spanish/Español)
  • de (German/Deutsch)

Common Issues

301 moved permanently

this means that your website is redirecting this url, for example redirecting http to https.
use https://example.com instead of http://example.com if your website has SSL!

##Next: Setting up the WordPress side