VoteParty is a lightweight Fabric server-side mod that tracks player votes and triggers a server-wide Vote Party when a configurable goal is reached. It is designed to integrate cleanly with vote listeners, placeholders, and reward systems.
- 📊 Persistent vote tracking (saved to JSON)
- 🎯 Automatic Vote Party triggering
- 🛠 Manual admin controls
- 📈 Visual vote progress bars
- 🔁 Reloadable config (no restart required)
- 🧩 pb4 Placeholders API support
- ⚙️ Console-executed reward commands
-
Votes are added using a command (usually by a vote listener)
-
Vote progress is saved to disk
-
When the required vote amount is reached:
- A Vote Party is triggered
- Titles are shown to players
- Reward commands are executed
- Vote count is reset
-
Admins can manually trigger or reset at any time
- Permission level: 4
- Adds 1 vote
- Intended for vote listeners or admin use
- Displays current vote progress
- Includes a formatted progress bar
- Permission level: 4
- Manually triggers a Vote Party
- Executes reward commands
- Resets vote count
- Permission level: 4
- Resets the vote count without triggering rewards
- Reloads the config file without restarting the server
VoteParty includes built-in text-based progress bars that can be shown in:
- Chat
- Scoreboards
- Placeholder-based UIs
VoteParty integrates with pb4 Placeholders API, allowing vote data to be used across other mods.
Common placeholders include:
- Current votes
- Required votes
- Vote progress bar
These can be used in:
- Scoreboards
- MOTDs
- Chat formats
- UI mods
VoteParty is configured using a JSON file.
{
"requiredVotes": 50,
"title": "§6§lVOTE PARTY!",
"subtitle": "§e%current_votes% votes reached!",
"commands": [
"effect give @a cobblecuisine:shinyspawn 60 0 false"
]
}-
requiredVotesNumber of votes required to trigger a Vote Party. -
titleTitle shown to players when the Vote Party triggers. Supports Minecraft color codes (§). -
subtitleSubtitle shown under the title. Supports placeholders such as%current_votes%. -
commandsList of commands executed by the console when the Vote Party triggers. Commands may target all players (@a) or individual players ({player}).
- Vote progress is stored as a JSON file
- Automatically loads on server startup
- Automatically saves on vote changes
- Safely resets if the file is missing or invalid
-
Use a vote listener to run
/vpaddon each vote -
Display progress using placeholders in scoreboards or hubs
-
Configure rewards such as:
- Crate keys
- Economy money
- Items
- Permissions or ranks
- Fabric server-side mod
- Uses Fabric Command API v2
- Gson for JSON serialization
- Singleton-based vote manager
- No client installation required
- Created and maintained by FreeSpinner.
- Created and Primarily used on Cobblemon Vulkan.