
Commands
- votemaster <info/reload> - View plugin options/data or reload everything. You cannot reload database information, will require a server restart. Aliases: vm/voteadmin
- vote - Get a specified message containing voting links. You can disable this, and opt to/opt not to utilize a permission for this command.
Permissions:
- votemaster.command.* - Grants the user all permissions relating to commands within this plugin.
- votemaster.command.votemaster.* - Grants the user /votemaster [info/reload]
- votemaster.command.votemaster.info - Enables the user to execute /votemaster info.
- votemaster.command.votemaster.reload- Used to allow people to do /votemaster reload and reload the plugin.
- votemaster.command.vote - Optionally enabled; Allows user to use /vote.
- More permissions may be utilized depending on user configuration. Suggested permission formatting for voting rewards is
- votemaster.reward.<reward_name>
Default config.yml:
Code (YAML):
Options
:
# Leaving this enabled allows me to collect anonymous statistics and data about the servers running this plugin and how it is used.
Metrics-Enabled
: true
# Would you like to be able to utilize RGB color coding in your messages, only works 1.16+
RGB-Enabled
: true
# If you have PlaceholderAPI you can enable this to register plugin specific placeholders, and use all placeholderapi plaeholders.
Placeholders-Enabled
: false
# If you enable this Vault and a valid economy plugin is required to give economy rewards.
Vault-Enabled
: false
# Do you want to enable voting reminders? Further configuration will be required.
Reminders-Enabled
: true
# The ability to disable this is included if you choose to utilize another plugin for this command (DeluxeMenus for a GUI for example)
Vote-Command-Enabled
: true
# Do you want to require players to have permission to use /vote?
Require-Vote-Command-Permission
: true
Data
:
#Available storage methods: MYSQL
Storage-Method
:
"MYSQL"
# URL utilized to connected to your specified database.
Database-URL
:
"jdbc:mysql://127.0.0.1:3306/database"
# Database Username
Database-Username
:
"username"
# Database Password
Database-Password
:
"password"
Reminders
:
# Global / Personal are recognized.
Type
:
"PERSONAL"
# Options: CHAT, ACTIONBAR, TITLE
Method
: TITLE
# In seconds, how long should the plugin wait to begin reminding the player to vote?
# If the method is global, this delay will begin after the specified amount of time after server startup.
# If the method is personal, this delay will begin after a player logs in.
Delay
: 5
# In seconds, how often should players be reminded to vote?
Frequency
: 30
# Chat message
Chat-Message
:
""
# Actionbar Message
Actionbar-Message
:
""
# Title Message
Title-Message
:
""
# Subtitle Message
Subtitle-Message
:
""
# In seconds, how long will it take for the message to fully appear
Title-FadeIn
: 1
# In seconds, how long will the title remain on the screen
Title-Stay
: 5
# In seconds, how long it take for the title to disappear from the screen.
Title-FadeOut
: 1
Lang:
No-Permission
:
"&c&lYou do not have permission to execute this command!"
# The message that will be relayed when players have permision, and execute /vote
Vote-Sites
:
-
""
Plugin-Reloaded
:
"&e&lThe VoteMaster plugin has been reloaded!"
Rewards
:
- 'example.yml'
Example rewards file:
Code (YAML):
Rewards:
Default
:
# A reward must have a permission assigned to it, if you want a default one utilize the default permission and give it to the default group.
Permission
:
"votemaster.reward.default"
# The highest priority that an individual has permission to is the reward set they will be given.
Priority
: 1
Options:
Particle:
Enabled
: true
# Use values from https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
# Failure to use a value from the above link will cause the plugin to completely fail to load.
Type
: 'CLOUD'
# How many of this particle affect should be spawned in?
Amount
: 5
Sound:
Enabled
: true
# Use values from https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
# Failure to use a value from the above link will cause the plugin to completely fail to load.
Type
: 'BLOCK_BAMBOO_FALL'
Volume
: 1
Actions
:
-
"MessagePlayer"
Actions:
MessagePlayer:
Type
:
"MESSAGE_PLAYER"
Value
:
"%player_name%, thank you for your vote on the server!"