-
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"