Vote rewards for Lineage 2
Players vote on the Lineage 2 lists and type .claimvote. There is a voiced command for current L2J Mobius and a statement for prime points.
Vote for Emberfall
ExampleVoting as Iron Moss
2 of 4 voted
VoteRank Vote here first
Voted. Again in 11 h 42 minL2Topzone
Voted. Again in 4 h 05 minL2TOP.org
Waiting for the list to confirmTopG
Vote every 6 hoursCreate your vote page
Sign up, name your server and choose Lineage 2. Setup fills in the usual settings: players enter “Your in-game name” and claim with .claimvote.
Tell us about your server
Add your toplists
Paste the link of your server on each list. For this game, VoteRank, L2Topzone, L2TOP.org and others are ready.
VoteRank Recommended
L2Topzone
Choose the reward
The item id, such as 57 for Adena.
Reward for every vote
Create an API key
Open Game server in the dashboard and create a key. It is shown once. You need it in the next step.
API key
gv_4d1f…9c02CopyCopy it now. We store only a hash, so it cannot be shown again.
Waiting for the first call from your game
Connect the game
Choose one of these ways. Each has its own files and settings below.
Try it
Open a vote site in your dashboard, use Send a test vote with your own name, then type .claimvote in the game.
Iron Moss: .claimvote
Thank you for voting! Rewards received for 2 votes.
API key
gv_4d1f…9c02CopyCopy it now. We store only a hash, so it cannot be shown again.
Your game has used a key
L2J Mobius voiced command
Compiled, not yet run on a game serverStep 1
Add votescript.jar to the classpath and VoteScriptClaim.java to data/scripts/handlers/chat/commands/voiced/.
data/scripts/handlers/
MasterHandler.javaedit
chat/commands/voiced/
VoteScriptClaim.javanew
Step 2
Set your key in it, add the class to MasterHandler.java and restart. Premium days, titles and experience work at once; places, skills and variables that votes may give are listed at its top.
private static final String URL = "https://votescript.voterank.net"; private static final String KEY = "YOUR_KEY";
Step 3
Players type .claimvote. Written for current Mobius; older packs use other package names.
Iron Moss: .claimvote
Thank you for voting! Rewards received for 2 votes.
Prime points on L2J Mobius
Statement from public sources, test it on a copyPlayers enter their account name. Only while the account is offline, because the server overwrites the value: add a check for your pack, such as SELECT 1 FROM characters … HAVING MAX(online) = 0.
This pays into the database your game already uses. The program runs on your own machine, and VoteScript never gets your database login.
Step 1
No game code: the delivery program pays every confirmed vote by itself. Download it and run it once.
$ php votescript-delivery.php
Created votescript.ini. Fill it in and start again.
Step 2
Set up votescript.ini like this. Replace the key, the database name and the login.
Give your reward the key points in the dashboard, so it finds this statement.
[votescript] url = "https://votescript.voterank.net" key = "YOUR_KEY" mode = "sql" [database] dsn = "mysql:host=127.0.0.1;dbname=YOUR_DATABASE;charset=utf8mb4" user = "" password = "" [sql] points = "INSERT INTO account_gsdata (account_name, var, value) VALUES (:player, 'PRIME_POINTS', :amount) ON DUPLICATE KEY UPDATE value = CAST(value AS SIGNED) + CAST(VALUES(value) AS SIGNED)" check = ""
Step 3
Start it again and send a test vote from your dashboard.
$ php votescript-delivery.php
Iron Moss: paid 10 x Vote points
aCis and other packs
Never insert into the items table: object ids are handed out by the server. Use the Java library in a voiced command instead.
Toplists for Lineage 2
VoteRank is recommended for every game. Lists marked “test first” have a format we only found in other people’s code.
- VRVoteRankA vote every 12 hours
- ATArena-Top100A vote every 12 hours
- PSPrivate-Server.wsA vote every 24 hours
- MMMMTop200A vote every 12 hours
- T1Top100ArenaA vote every 24 hours
- L2L2TOP.orgA vote every 12 hours
- L2L2TopzoneA vote every 12 hours
- TGTopGA vote every 6 hours
- STServerTiltA vote every 24 hours
- XTXtremeTop100A vote every 12 hours
- GTGTOP100A vote every 12 hours
- MMMMO ToplistA vote every 12 hours
If it does not work
The command says there is nothing to claim
Votes are not checked right now
Rewards stay waiting
A reward says it waits
Nothing arrives from a toplist
Do it yourself
The API, webhooks and clients work with any game.
GuideConnect your gameWhen a player types your command, the game asks VoteScript what is waiting and hands it out.
GuideRewards, bonuses and streaksStart with one reward per vote: an item, a day of VIP, a title, a teleport. Add a bonus and a streak when the first one works.
GuideToplist callbacksA callback is how a toplist tells VoteScript that someone really voted. Lists also call it postback, incentive, pingback or webhook. You paste one address per list.
Give your players one place to vote
Your page is live as soon as you create your server. You can connect the rest step by step.

