Installation and Setup
1. Download the plugin.
2. Upload the plugin to the
3. Open your Discord server's settings.
5. Open your plugins folder and navigate to the plugin's folder, named
6. Open the "config.yml" file in the plugins folder and replace "PASTE_YOUR_WEBHOOK_URL_HERE" with the webhook url that you copied in step 3e.
7. Reload the plugin.
Minecraft Commands
Placeholders
Every option in the
Preview
1. Download the plugin.
2. Upload the plugin to the
plugins
folder.3. Open your Discord server's settings.
3a. Click on "Integrations"
3b. Click on "Webhooks" button
3c. Click on "New Webhook"
3d Click on the webhook you created, give it a name
3e Click "Copy Webhook URL" and keep it for step 6
4. Start your server.5. Open your plugins folder and navigate to the plugin's folder, named
DiscordRemoteCommands
.6. Open the "config.yml" file in the plugins folder and replace "PASTE_YOUR_WEBHOOK_URL_HERE" with the webhook url that you copied in step 3e.
7. Reload the plugin.
(METHOD 1) Reload the plugin using the command
/drc-reload
(METHOD 2) Restart the server.
Minecraft Commands
Command with Usage | Description | Permission |
---|---|---|
/dvl-reload | Reload the configuration file | discordvotelogger.reload |
/dvl-test <startup|vote> | Test a configuration | discordvotelogger.test |
Placeholders
Every option in the
config.yml
has some sort of placeholder support.Placeholder | Description | Example |
---|---|---|
%player% | The player's username who voted | DanPlayz |
%service_name% | The service/site which the user voted on. | MinecraftServers.org |
%ip_address% | The IP Address the user voted from. | 127.0.0.1 |
Preview
YAML:
# Discord Vote Logger
# Depends on Votifier
# Copy and paste your webhook url here
webhook: "PASTE_YOUR_WEBHOOK_URL_HERE"
# Should we send an embed when plugin starts?
sendOnStart: true
# Should we use text (raw) or embeds?
useEmbed: true
# Customise the messages
messages:
# Raw is only used if "useEmbed" is false
raw: "%player% has vote for us on %service_name%"
startRaw: "DiscordVoteLogger is now running and listening for votes."
# The embed that gets sent to discord.
embed:
color: "#ff0000"
authorText: "%player% has voted for us on %service_name%"
authorUrl: null
authorIcon: "http://cravatar.eu/head/%player%.png"
title: null
description: null
thumbnail: null
image: null
footer: "Discord Vote Logger by DanPlayz"
footerIcon: null
startEmbed:
color: "#00ff00"
authorText: null
authorUrl: null
authorIcon: null
title: "Discord Vote Logger"
description: "Started and listening for votes!"
thumbnail: null
image: null
footer: null
footerIcon: null