How to Configure ElectionsPlus
ElectionsPlus can be configured through the main configuration file. Below are the available options:Database
The database is where the plugin stores all information about elections, parties, and votes.Type
The type of database to use. You can choose between:SQLITE- Local file-based database (default, easiest to set up)MYSQL- MySQL database serverREDIS- Redis database
Join Notification
Enable or disable notifications for players when they join the server and an election is open. You can customize the notification message inmessages.yml using the join key.
Escape Word
When creating an election or a party, the plugin will ask for information via chat. If you want to cancel the current prompt, you can type the escape word in chat. Configure this word in the config file to match your preference.Cache Duration
The cache duration controls how often the plugin refreshes its cached data from the database. For example, if set to5, every 5 minutes the plugin will clear and recreate the cache with all database values.
The cache doesn’t significantly affect server performance, so you can adjust it based on your needs.