-
Notifications
You must be signed in to change notification settings - Fork 0
Administration
To install ChamoParty, download it from the following sources:
Modrinth
Github
Optionally download zMenu (Used in the vote menu) or PlaceholderAPI (Used for placeholders, used in menu)
Move/Upload them to the plugins folder
You have successfully installed ChamoParty!
A detailed guide can be found here: https://github.com/NuVotifier/NuVotifier/wiki/Setup-Guide#configuring-the-plugin
If the default (tcp) port (8192) is open, you wouldn't need to change it. The voting site of your preference, if they are using the legacy Votifier api, which most do, after creating a server to set up a Votifier, asks the following things: The public key, found in plugins/(Nu)Votifier/rsa/public.key, the port found in the NuVotifier config (default 8192), and the server IP, used to connect to the server.
After setting up your Votifier, to configure ChamoParty to your needs, such as a SQL database, go to the config.yml (found in plugins/ChamoParty/config.yml).
Set up the rewards when they vote (rewards.(reward number)) with the following syntax:
rewards:
1:
percent: 10 # The chance of winning reward 1
needToBeOnline: false # If player must be online to get rewarded
commands:
- "eco give %player% 100" # The commands to execute
# - "example command"
broadcast:
- "<white>%player% <gray>just won <green>$100" # A message to broadcast to the entire server
# - "More broadcasting, please!"The actual vote party. There isn't a lot to go through, and here is an example:
party:
# The amount of votes needed
votes_needed: 50
# The command that will be executed when the number of votes is reached for each online players
global_commands:
- "eco give %player% 100"
# This command will be executed in the console, you cannot specify a player here
commands:
- "eco give * 0.0000000009"
# Sound to be played after Vote Party is triggered.
# Sound: <SOUND>:<VOLUME>:<PITCH> - Name of the sound to play. A list of available sounds is found here: https://docs.andre601.ch/Spigot-Sounds/sounds/1.21.x/1.21.4/
Sound: UI_TOAST_CHALLENGE_COMPLETE:1:2
# Rewards that the player can get randomly
rewards:
1:
percent: 50
commands:
- "give %player% minecraft:diamond 1"
2:
percent: 50
commands:
- "cr give %player% test"- /vote - Open vote inventory (Requires zMenu)
- /chamoparty - Show needed votes for vote party (aliases: /vp, /voteparty)
- /chamoparty reload - Reload configuration
- /chamoparty config - Open ingame configuration
- /chamoparty version - Show plugin version
- /chamoparty help - Send commands description and syntax
- /chamoparty add - Add vote to player
- /chamoparty startparty - Force launch a Vote Party
- chamoparty.startparty - Permission for /chamoparty startparty
- chamoparty.add - Permission for /chamoparty add
- chamoparty.help - Permission for /chamoparty help
- chamoparty.version - Permission for /chamoparty version
- chamoparty.config - Permission for /chamoparty config
- chamoparty.reload - Permission for /chamoparty reload . chamoparty.use - Permission for /chamoparty
- chamoparty.vote Permission for /vote
- %chamoparty_votes_recorded% - Returns the current amount of votes in the Vote Party.
- %chamoparty_votes_required_party% - Returns the amount of votes left that are needed for a Vote Party to happen.
- %chamoparty_votes_required_total% - Returns the total amount of votes needed for a Vote Party to happen.
- %chamoparty_player_votes% - Returns the total amount of votes a player has.
- %chamoparty_votes_progressbar% - Return a progress bar for the vote party