L2OFF & L2JAVA Web Vote

https://shop.denart-designs.com/product/l2off-l2java-vote-panel-v2/
Price €40.00

L2OFF & L2JAVA Vote Panel v2 for Hopzone, L2Network, iTopz, L2JBrasil, L2TopServers topsites with top 3 individual rewards and total top 10 individual rewards that resets every week and keep history of winners.

Simple steps
1) Players click on the 5 banners and vote for your server
2) Player write his name in the input
3) Player select the topsite he voted from the dropdown selection
4) Player will press - Reward - button and they get items ingame



Detailed Information
  • Weekly winners reset every monday 00:00:00
  • Top 1 player can be rewarded with individual item, top 1 icon, larger reward item icon, can be disabled or enabled.
  • Top 2 player can be rewarded with individual item, top 2 icon, medium reward item icon, can be disabled or enabled.
  • Top 3 player can be rewarded with individual item, top 3 icon, small reward item icon, can be disabled or enabled.
  • Top 4-10 players can can be rewarded with same items, smaller reward item icon, can be disabled or enabled.
  • The top player list will show the players name, their times voted for this week, and the reward they will receive on reset.
  • There is a historical log for the weekly winners showing their name and their total votes for the current weekly win and the week they win.
  • There is also a Log of top 10 latest voters with their name, the topsite they voted for, and the date (not date-time on porpuse)

Technical Information
  • The panel will check the website API of each topsite, so the players must have vote registered.
  • The players are cached in json files to stress less the database.
  • Item icons are created in php dynamically.
  • Item icons will be downloaded from our server in yours if they not exist.
  • Every text displayed exist in config
  • Google recaptcha Invisible v3
  • The items go ingame through itemDelivery table for L2OFF and vote_holder for L2JAVA

Requirements
  • Google recaptcha keys (recaptcha is a build in function)
  • Database connection with MySQLi, MsSQL, PDO or SQLite drivers.
  • PHP 8.0+ (7.4 might work but not tested)
  • MySQL 5.5+
  • Memory 512M+
  • Activation Key (Your purchase will provide you an activation key)
  • The activation key must be used to activate your URL (the key will be binded to the url of your choice)
  • Hosting (recommended on https://thegigahost.com/)
  • SSL Sertificate installed on your host

Files included
  • Activation instructions file
  • Install SQL File for L2J and L2OFF
  • Support info file
  • Virus total report
  • Website files to upload
  • Java file to install (Currently adapted for aCis)
  • Diff file for java projects + lucera vote.ext.jar





21-08-2022 Update
  • Added L2JBrasil Api Vote reward
  • Added L2TopServers Api Vote reward
  • Added a trick to allow designers change styles without clearing browser data.

23-08-2022 Update
  • Fix for L2JBrasil Api
  • Fix for L2TopServers Api
  • Fix Java SQL Query
  • Generated lucera vote.ext.jar and included in files
  • SQL Queries support older version of MySQL 5.5

24-08-2022 Update
  • Added multiple rewards for voting in all topsites
  • Rework Rest Api connections
  • Better way of getting the user's ip behind proxy
  • Added configuration to disable topsites
  • Added custom message




NOTE: The reward for java servers like lucera can work with vote.ext.jar provided in files

The files are encoded, this means for some hosts might find them as virus, our partners in https://thegigahost.com/ offer hosts with our files whitelisted.

If you wish in the future to buy another license to bind a new URL the price is 20€ contact nightwolf at discord


More services


DenArt nWatch, Donate, Vote, ACP, L2OFF and L2J and more
https://shop.denart-designs.com/product/c4-ertheia-nwatch-for-l2off/
€50
C4 to Ertheia nWatch for L2OFF Server, this is a tool for administrator to see full player’s data such as items, clan, inventory, skills, castles and more without logging in game and should not function in public website.


https://shop.denart-designs.com/product/l2off-l2java-vote-panel-v2/
€40
L2OFF & L2J Vote Panel v2 for hopzone, l2network, itopz topsites with top 3 individual rewards and total top 10 individual rewards that resets every week and keep history of winners.
https://shop.denart-designs.com/product/account-panel/
€60
Auto Donate Panel V2, G2APay, Paygol, NextPay, Paypal, Paysera, Stripe, Paymentwall!






Clients
https://vote.l2iplay.com/
https://l2temida.pl/vote/
 
Last edited:
is it possible to add that you win one item for each vote and weekly winners get other items?
it works like you say i will give you an example of config, the daily vote has multiple rewards, and weekly 1 standard reward
PHP:
<?php
//
// BUY LICENSE
// https://shop.denart-designs.com/activate.php?license
//
// ACTIVATION
// https://shop.denart-designs.com/activate.php
// paste the key inside the ''
define('ACTIVATION_KEY', '');
//


// Developer
error_reporting(E_ALL); // E_ALL or 0 to disable
define('DEBUG', true);

// your website
define('WEBSITE', 'https://website.com/vote/');

// DATABASE
define('DB_IP', 'localhost');
define('DB_PORT', 1433); // 3306(JAVA MySQL) and 1433(L2OFF MsSQL)
define('DB_USER', 'sa'); // sa - root
define('DB_PASS', '');
define('DB_DATABASE', 'lin2world'); // lin2world (L2OFF) and l2jdb (JAVA) or whatever database name you gave
define('DB_USER_ID', 'char_id'); // char_id(L2OFF) and (JAVA) char_id - charId - obj_Id or what ever your project is using
define('DB_CHARSET', 'utf8'); // utf8 (L2OFF) and utf8mb4 (JAVA) recommended utf8mb4 like the sql install files for new projects like acis

// L2JAVA - L2OFF
define('GAME_LANGUAGE', 'L2OFF');

// max statistics
define('STATISTICS_LIMIT', 10);

// Recaptcha v3 https://www.google.com/recaptcha/admin/create
define('PUBLIC_KEY', 'XXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX');
define('SECRET_KEY', 'XXXXX-XXXXXXXXX_XXXXXXXXXXXXXXXXXXXXXXXX');

// ITOPZ CONFIGS
// rewards info
// ID,MIN-MAX-CHANCE%
// ; to separate multiple items like 57,1000-1000-100;57,20000-20000-80;57,1000-20000-10
// the example will reward (1000 adena 100%), (20000 adena 80%) and (57 random from 1000 to 20000 adena 10%)
define('ITOPZ_VOTE_REWARDS', '57,1000-20000-100;');
define('ITOPZ_TOKEN', 'XXXXXXXXXX-XXXXXXXXXXXXXXXXXXXX'); // you can use DEMO for test
define('ITOPZ_SERVER_ID', '325339');

// HOPZONE CONFIGS
// rewards info
// ID,MIN-MAX-CHANCE%
// ; to separate multiple items like 57,1000-1000-100;57,20000-20000-80;57,1000-20000-10
// the example will reward (1000 adena 100%), (20000 adena 80%) and (57 random from 1000 to 20000 adena 10%)
define('HOPZONE_ENABLED', true);
define('HOPZONE_VOTE_REWARDS', '57,1000-20000-100;');
define('HOPZONE_API_KEY', "XXXXXXXXXXXXXXXX");
define('HOPZONE_SERVER_ID', '10268');

// L2NETWORK CONFIGS
// rewards info
// ID,MIN-MAX-CHANCE%
// ; to separate multiple items like 57,1000-1000-100;57,20000-20000-80;57,1000-20000-10
// the example will reward (1000 adena 100%), (20000 adena 80%) and (57 random from 1000 to 20000 adena 10%)
define('L2NETWORK_ENABLED', true);
define('L2NETWORK_VOTE_REWARDS', '57,1000-20000-100;');
define('L2NETWORK_API_KEY', "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
define('L2NETWORK_USER_NAME', 'your_username_here');

// L2TOPSERVERS CONFIGS
// rewards info
// ID,MIN-MAX-CHANCE%
// ; to separate multiple items like 57,1000-1000-100;57,20000-20000-80;57,1000-20000-10
// the example will reward (1000 adena 100%), (20000 adena 80%) and (57 random from 1000 to 20000 adena 10%)
define('L2TOPSERVERS_ENABLED', true);
define('L2TOPSERVERS_VOTE_REWARDS', '57,1000-20000-100;');
define('L2TOPSERVERS_SERVER_API_KEY', "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
define('L2TOPSERVERS_SERVER_ID', "XXXXXX");
define('L2TOPSERVERS_SERVER_NAME', 'your_server_name_here');

// L2JBRASIL CONFIGS
// rewards info
// ID,MIN-MAX-CHANCE%
// ; to separate multiple items like 57,1000-1000-100;57,20000-20000-80;57,1000-20000-10
// the example will reward (1000 adena 100%), (20000 adena 80%) and (57 random from 1000 to 20000 adena 10%)
define('L2JBRASIL_ENABLED', true);
define('L2JBRASIL_VOTE_REWARDS', '57,1000-20000-100;');
define('L2JBRASIL_USER_NAME', 'your_username_here');


// Texts
define('TEXT_TOP', 'Get vote reward giving us a vote in!');
define('TEXT_CHAR', 'CHARACTER NAME');
define('TEXT_HOLDER', 'Your character name');
define('TEXT_BUTTON', '- Reward -');
define('TEXT_LAST_PLAYER_VOTED', 'LAST PLAYER VOTED');
define('TEXT_POS', '#Pos');
define('TEXT_TOPSITE', 'Topsite');
define('TEXT_DATE', 'Date');
define('TEXT_AMOUNT_VOTES', 'Amount Votes');
define('TEXT_RESET', 'Reset');
define('TEXT_TOP_VOTE_PLAYER_WEEK', 'TOP VOTE PLAYER WEEK');
define('TEXT_REWARD', 'Reward');
define('TEXT_VIEW_HISTORICAL_WINNERS', 'View Historical Winners');
define('TEXT_TOP_HISTORICAL_VOTERS', 'HISTORICAL TOP VOTERS');
define('TEXT_BACK', 'Back');
define('TEXT_VOTES', 'Votes');

// Messages
define('MESSAGE_001', '<div style="color: red;"><b>Only latin letters from a to Z allowed!</b></div>');
define('MESSAGE_002', '<div style="color: red;"><b>Unknown character</b></div>');
define('MESSAGE_003_PART1', '<div style="color: red;"><br><b>Last vote register: <br>');
define('MESSAGE_003_PART2', '</b></div>');
define('MESSAGE_004_PART1', '<div style="color: red;"><br><b>U have no vote registered, please go to<br><a target="_blank" href="');
define('MESSAGE_004_PART2', '">Vote</a></b></div>');
define('MESSAGE_005_PART1', '<div style="color: green;"><br><b>Thank you for voting in ');
define('MESSAGE_005_PART2', '!</b></div>');
define('MESSAGE_006', '<div style="color: red;"><b>Error trying to claim reward 1</b></div>');
define('MESSAGE_007', '<div style="color: red;"><b>Error trying to claim reward 2</b></div>');


// auto reward end of week
define('REWARD_FIRST_PLAYER_ENABLED', true);
define('REWARD_FIRST_PLAYER_ID', 57);
define('REWARD_FIRST_PLAYER_COUNT', 1000);

define('REWARD_SECOND_PLAYER_ENABLED', true);
define('REWARD_SECOND_PLAYER_ID', 57);
define('REWARD_SECOND_PLAYER_COUNT', 1000);

define('REWARD_THIRD_PLAYER_ENABLED', true);
define('REWARD_THIRD_PLAYER_ID', 57);
define('REWARD_THIRD_PLAYER_COUNT', 1000);

define('REWARD_FOURTH_TO_TENTH_PLAYER_ENABLED', true);
define('REWARD_FOURTH_TO_TENTH_PLAYER_ID', 57);
define('REWARD_FOURTH_TO_TENTH_PLAYER_COUNT', 1000);

// do not touch this
define('ITOPZ', 'itopz');
define('HOPZONE', 'hopzone');
define('NETWORK', 'network');
define('L2TOPSERVERS', 'topservers');
define('L2JBRASIL', 'brasil');
 
Back
Top