Home›Java›Mods›VoteTop | Provotes addon
VoteTop | Provotes addon
[​IMG]
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";
?>

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 = "";
?>

[​IMG]
Spoiler: Easy setup
[​IMG] [​IMG] [​IMG]
Spoiler: If installation is not working
If my installation system is not working for you please follow these steps.
  1. Head to your installation, you'll get the license agreement
  2. If you can't get passed the license agreement just go to your url and change step=1 to step=2
  3. Same for system check. Fill in your database settings and your done
  4. 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...
  5. Change the BOLDED pieces to your MySQL information
Do the same for if you get the error message:
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 39
Click to expand...

DEPENCIES :
[​IMG]

[​IMG]
Default config options
Click to expand...
[​IMG]
In combination with XenForo
Click to expand...
Or better yet, visit our demo(s):
[​IMG]

REGULAR INSTALLATION:
  1. Download .zip file
  2. Open zip file, you'll find a folder in it called: 'VT'
  3. Open FTP browser, paste the 'VT' folder in a place to your wishing.
  4. Head to the webadress (fe. www.myserver.net/VT/ )
  5. Complete the installation instructions
  6. Edit your config.php to your wishing
  7. And your done
XENFORO INSTALLATION:
  1. Download .zip file
  2. Open zip file, you'll find a folder in it called: 'VT'
  3. Open FTP browser, paste the 'VT' folder in a place to your wishing.
  4. Head to the webadress (fe. www.myserver.net/VT/ )
  5. Complete the installation instructions
  6. Edit your config.php to your wishing
  7. Change "Containered_page" to false
  8. Change "Enable_logo" to false
  9. Open your XenForo Admin panel and go to 'node tree'
  10. Click on 'Create new node' and choose 'page'
  11. Edit the title and description etc to your wishing.
  12. Go to 'page options' (on the same page)
  13. Paste this in your 'HTML template':
    Code (Text):
    <iframe src="http://yourserver.net/custompath/VT/" width="100%" height="3000px" frameborder="0" scrolling="no"> </iframe>
  14. Change the src link to your VoteTop destination
  15. Save the page and your done!

    Extra options:
  16. To add the page to your navigation use an add-on like this:
    NodesAsTabs
  17. To remove the pagetitle add this above the iframe:
    Code (Text):
    <xen:h1></xen:h1>
Spoiler: General Config
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";

 

[​IMG]
SERVERS USING THIS:
BUSINESS INQUIRIES:

------------------------------------------------------- ---------------- --------------- ---------------- ------- ---------------- --- ----------------

Suggestions or bugs? Post them in the forum section

and NOT IN THE REVIEWS.

------------------------------------------------------- ---------------- --------------- ---------------- ------- ---------------- -------------------
​
Quick facts

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.

Explore more