Ever wanted to display your topvoters? Then this is for you.
NOTE : This is a WebAddon , not a plugin.
Note #1 : to users wanting to use this with NamelessMC. I made a different add-on for NamelessMC which can be found here .
Note #2 : For servers using VotingPlugin you have to change the ADVANCED part to the part pasted below.
Spoiler: VotingPlugin - Advanced
Code (Text):
// ------------------------------ ADVANCED ------------------------------ //
// This section is only ment for people with a intermediate knowledge of MySQL
// You can change the table and column names overhere, this give you the
// ability to use your own Custom vote plugin, or use another vote depency
// This sets the tablename. Also sets the column on which
// the stats should order.
$table_name = "VotingPlugin_Users";
$order_by = "MonthTotal";
// The 3 column-names in your MySQL
$column_uuid = "uuid";
$column_1 = "MonthTotal";
$column_2 = "WeeklyTotal";
$column_3 = "AllTimeTotal";
// Sets the names of the table head (header)
$table_head_name = "Name";
$table_head_column_1 = "Montly Votes";
$table_head_column_2 = "Weekly Votes";
$table_head_column_3 = "Total Votes";
?>
// This section is only ment for people with a intermediate knowledge of MySQL
// You can change the table and column names overhere, this give you the
// ability to use your own Custom vote plugin, or use another vote depency
// This sets the tablename. Also sets the column on which
// the stats should order.
$table_name = "VotingPlugin_Users";
$order_by = "MonthTotal";
// The 3 column-names in your MySQL
$column_uuid = "uuid";
$column_1 = "MonthTotal";
$column_2 = "WeeklyTotal";
$column_3 = "AllTimeTotal";
// Sets the names of the table head (header)
$table_head_name = "Name";
$table_head_column_1 = "Montly Votes";
$table_head_column_2 = "Weekly Votes";
$table_head_column_3 = "Total Votes";
?>
Note #3 : For servers using GAListener you have to change the ADVANCED part to the part pasted below.
Spoiler: GAListener - Advanced
Code (Text):
// ------------------------------ ADVANCED ------------------------------ //
// This section is only ment for people with a intermediate knowledge of MySQL
// You can change the table and column names overhere, this give you the
// ability to use your own Custom vote plugin, or use another vote depency
// This sets the tablename. Also sets the column on which
// the stats should order.
$table_name = "GALTotals";
$order_by = "votes";
// The 3 column-names in your MySQL
$column_uuid = "UUID";
$column_1 = "votes";
$column_2 = "lastvoted";
$column_3 = "";
// Sets the names of the table head (header)
$table_head_name = "Name";
$table_head_column_1 = "Total Votes";
$table_head_column_2 = "Last voted";
$table_head_column_3 = "";
?>
// This section is only ment for people with a intermediate knowledge of MySQL
// You can change the table and column names overhere, this give you the
// ability to use your own Custom vote plugin, or use another vote depency
// This sets the tablename. Also sets the column on which
// the stats should order.
$table_name = "GALTotals";
$order_by = "votes";
// The 3 column-names in your MySQL
$column_uuid = "UUID";
$column_1 = "votes";
$column_2 = "lastvoted";
$column_3 = "";
// Sets the names of the table head (header)
$table_head_name = "Name";
$table_head_column_1 = "Total Votes";
$table_head_column_2 = "Last voted";
$table_head_column_3 = "";
?>
- Display your topvoters.
- Usable in combination with:
- XenForo (pages)
- Enjin
- Any site allowing iFrames
- Toggleable logo (for iFrame usage)
- Easily configurable
- Fast & easy setup
Spoiler: Easy setup
Spoiler: If installation is not working
If my installation system is not working for you please follow these steps.
- Head to your installation, you'll get the license agreement
- If you can't get passed the license agreement just go to your url and change step=1 to step=2
- Same for system check. Fill in your database settings and your done
- If that doesnt work, then you should add this to your database.php
<?php
define('DATABASE_HOST', ' localhost ');
define('DATABASE_NAME', ' DATABASE ');
define('DATABASE_USERNAME', ' USERNAME ');
define('DATABASE_PASSWORD', ' PASSWORD ');
?>Click to expand... - Change the BOLDED pieces to your MySQL information
Warning: Cannot modify header information - headers already sent by (output started at /home/site/public_html/VT/install.php:8) in /home/site/public_html/VT/install.php on line 39Click to expand...
DEPENCIES :
- ProVotes (required) [MySQL setup]
- MySQL Player Data Bridge (only required for cracked servers due to provotes saving data using UUID's) [Working on my own server-side add-on]
Default config optionsClick to expand...
In combination with XenForoClick to expand...
- Default page (official demo)
- In combination with XenForo (Cold Network)
REGULAR INSTALLATION:
- Download .zip file
- Open zip file, you'll find a folder in it called: 'VT'
- Open FTP browser, paste the 'VT' folder in a place to your wishing.
- Head to the webadress (fe. www.myserver.net/VT/ )
- Complete the installation instructions
- Edit your config.php to your wishing
- And your done
- Download .zip file
- Open zip file, you'll find a folder in it called: 'VT'
- Open FTP browser, paste the 'VT' folder in a place to your wishing.
- Head to the webadress (fe. www.myserver.net/VT/ )
- Complete the installation instructions
- Edit your config.php to your wishing
- Change "Containered_page" to false
- Change "Enable_logo" to false
- Open your XenForo Admin panel and go to 'node tree'
- Click on 'Create new node' and choose 'page'
- Edit the title and description etc to your wishing.
- Go to 'page options' (on the same page)
- Paste this in your 'HTML template':
Code (Text):<iframe src="http://yourserver.net/custompath/VT/" width="100%" height="3000px" frameborder="0" scrolling="no"> </iframe> - Change the src link to your VoteTop destination
- Save the page and your done!
Extra options: - To add the page to your navigation use an add-on like this:
NodesAsTabs - To remove the pagetitle add this above the iframe:
Code (Text):<xen:h1></xen:h1>
Spoiler: General Config
// If your network is cracked (non-premium) this add-on requires:
// MySQL Player Data Bridge (MPDB) in the lobbys. (https://www.spigotmc.org/resources/mysql-player-data-bridge.8117/)
// This is cause of the fact that ProVotes saves playerdata with UUID's
// And UUID's can not be linked to an account on non-premium networks
// MPDB saves both name and UUID which fixes this problem.
// I will make my own add-on for this later (so the depency for MPDB drops)
$non_premium = "false";
$db_extra = "extra_database";
// This sets the width of the page
// If you want have a containered page use true
// If you want full width use false
// If your using VoteTop-webaddon in an iFrame I recommend to set this on false
$containered_page = "true";
// Name of unknown user (mostly for cracked networks)
$no_username_name = "Unknown";
// Enable a logo ontop of the table
$enable_logo = "true";
// This sets a custom logo
$custom_logo = "false";
$custom_logo_link = "http://myserver.net/logo.png";
// If you want to time your site, set this on true
$timings = "false";
// ------------------------------ ADVANCED ------------------------------ //
// This section is only ment for people with a intermediate knowledge of MySQL
// You can change the table and column names overhere, this give you the
// ability to use your own Custom vote plugin, or use another vote depency
// This sets the tablename. Also sets the column on which
// the stats should order.
$table_name = "ProVotes";
$order_by = "MonthVotes";
// The 3 column-names in your MySQL
$column_uuid = "UUID";
$column_1 = "MonthVotes";
$column_2 = "WeeklyVotes";
$column_3 = "TotalVotes";
// Sets the names of the table head (header)
$table_head_name = "Name";
$table_head_column_1 = "Montly Votes";
$table_head_column_2 = "Weekly Votes";
$table_head_column_3 = "Total Votes";
Code (Text):
// If your network is cracked (non-premium) this add-on requires:
// MySQL Player Data Bridge (MPDB) in the lobbys. (https://www.spigotmc.org/resources/mysql-player-data-bridge.8117/)
// This is cause of the fact that ProVotes saves playerdata with UUID's
// And UUID's can not be linked to an account on non-premium networks
// MPDB saves both name and UUID which fixes this problem.
// I will make my own add-on for this later (so the depency for MPDB drops)
$non_premium = "false";
$db_extra = "extra_database";
// This sets the width of the page
// If you want have a containered page use true
// If you want full width use false
// If your using VoteTop-webaddon in an iFrame I recommend to set this on false
$containered_page = "true";
// Name of unknown user (mostly for cracked networks)
$no_username_name = "Unknown";
// Enable a logo ontop of the table
$enable_logo = "true";
// This sets a custom logo
$custom_logo = "false";
$custom_logo_link = "http://myserver.net/logo.png";
// If you want to time your site, set this on true
$timings = "false";
// ------------------------------ ADVANCED ------------------------------ //
// This section is only ment for people with a intermediate knowledge of MySQL
// You can change the table and column names overhere, this give you the
// ability to use your own Custom vote plugin, or use another vote depency
// This sets the tablename. Also sets the column on which
// the stats should order.
$table_name = "ProVotes";
$order_by = "MonthVotes";
// The 3 column-names in your MySQL
$column_uuid = "UUID";
$column_1 = "MonthVotes";
$column_2 = "WeeklyVotes";
$column_3 = "TotalVotes";
// Sets the names of the table head (header)
$table_head_name = "Name";
$table_head_column_1 = "Montly Votes";
$table_head_column_2 = "Weekly Votes";
$table_head_column_3 = "Total Votes";
- Adding styles
- More config options
- play.coldnetwork.net
------------------------------------------------------- ---------------- --------------- ---------------- ------- ---------------- --- ----------------
Suggestions or bugs? Post them in the forum section
and NOT IN THE REVIEWS.
------------------------------------------------------- ---------------- --------------- ---------------- ------- ---------------- -------------------
Suggestions or bugs? Post them in the forum section
and NOT IN THE REVIEWS.
------------------------------------------------------- ---------------- --------------- ---------------- ------- ---------------- -------------------
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
VoteTop | Provotes addon is a free Minecraft Java mod. Downloaded 1,175 times (via Spigot). Download it and open it directly in the game.