NOTICE: It is suggested that before you get started that you have completed the Installation & Custom Vote Site Tutorials. Make sure that all of your vote sites have been appropriately set up and are distributing rewards/working appropriately. This is essential as this step will not function without the prior tutorials being done
Part 1: Setting Up Placeholders
Remember voter ID's? This is where they will come into play.
Step 1: Go to your VotingPlugin/Config.yml and look for the section labeled "CachedPlaceholder".
Step 2: Look for the lines of code for the default sites which look similar to this one
Step 3: Inside of this, you will notice the VotingID's are embedded - In the above example, the ID's would be Minecraft-MP_com. For custom websites, you will need to make your own version of the above two lines.
Step 4: To make the placeholders for your own websites, simply copy and paste the below two lines and replace "YOURIDHERE" with the VoteSite ID found in VotingPlugin/VoteSites.yml
This part is quite a bit more challenging and will require at least an intermediate understanding of DeluxeMenus or at the bear minimum, basic understanding of modifying a config. This tutorial will only cover importing a vote site into the GUI under the Free Vote Sites section - You are responsible for all other modifications.
Step 1: Go to your DeluxeMenus/gui_menus/VOTE/Menu/Link_Free.yml
Step 2: To start we'll edit the default setups. Find the line that says Planet MC | INFO
This will always be the start of a new menu in this configuration - keep this in mind.
Step 3: There are quite a few lines and formats to go through - this will briefly cover them
Section Text: In the isntance above, the section texts are "PLANET MC | INFO", "PLANET MC | YES", and "PLANET MC | NO". Notice how the name PLANETMC matches, the spacing matches, and the casing matches on each of these. This is important and must be done for each vote site added.
SmartCaps Text: If you see text that "ʟᴏᴏᴋѕ ʟɪᴋᴇ ᴛʜɪѕ" - that is smart caps. To replace said text with your own and have it come out as the same format, you can use a formatting site such as this
Display Name: This is the name people will see when they hover over either the book or the window pane for your server.
Lore: This is the information that will populate under the name of the item in the menu - replace said text with your appropriate text
NOTICE: You will see that this contains familiar placeholders, stay tuned for more information regarding that
[Message]: These are the messages that will be sent to the player when interacting with the voting website or attempting to vote.
Slot: This is where the clickable item will go on the menu that users will click/hover to interact. To determine what slot is what #, start from the top left of the GUI and count from 0 going left to right.
Step 4: With the above in mind, begin inputting the information that matches where you wish to place your voting site in the menu, the text you wish to be repalced in said menu, your voting website, etc.
Step 5: After you have finished editing the text options to your liking, it is time to move on to the placeholders - This will require a bit of effort.
Step 6: To add your custom placeholders, simply look for each line that has a placeholder on it, then copy and paste yours over the top. Its that easy!
For each voting site, you will have to repeat the above process and chose the best positions/layouts that fit your server best. The best course to doing this is to simply copy and paste finished, working configurations and modifying them to fit the next voting website.