Jump to content

Recommended Posts

Posted (edited)

For Sale: High-Performance "Auto Rewards for Twitch, Trovo Streams" Script for Your L2J Servers!

ย 

Trovo, Twitch

ย 

๐Ÿš€ Key Features:

1. Automatic Stream Rewards: Streamers receive ITEM_ID rewards automatically after streaming for more than 5 hours (configurable time).

2. Viewer Rewards: Streamers with a minimum of 10 viewers are eligible for additional rewards (viewer count is also configurable).

3. Reward Customization: In the configuration, you specify the Twitch username and in-game character nickname, for example:
$streamerTwitch = [
ย  ย  ['twitch_username' => 'kussia88', 'game_nickname' => 'Kussia'],
ย  ย  ['twitch_username' => 'just_ns', 'game_nickname' => 'NS'],
];
You can also define ITEM_ID and the number of items to be rewarded.

4. Local Caching: To reduce API load, data is cached locally in a JSON file (cache duration is configurable).

5. Limit on Repeated Rewards: Checks ensure that streamers can only receive the next reward after 24 hours (configurable time until the next reward).

6. Streamer Information: The script displays information about streamers, including their name, avatar, viewer count, and stream status.

7.ย  Display Stream Title and Description: You can also show the stream title, description, and start date.

8. Fast Asynchronous Loading: The script loads asynchronously on your website, ensuring smooth and speedy performance.

9. Task Scheduling: To automate reward distribution, the script integrates with the cron scheduler (e.g., checking every 20 minutes).

10. Easy Configuration: All settings are easily adjustable in configuration files for your convenience.

11. Technologies Used: Developed using PHP, PDO, JSON, and JavaScript, making it compatible with most modern web hosting.

ย 

๐Ÿ’ฐ Price: Only $80!

๐Ÿ”ง Script Configuration for Your Server and Website: Provided free of charge after purchasing the script!

ย 

๐Ÿ“ž Contact for Inquiries:

Telegram: Telegram @tervin

E-mail: kenrix@mail.ru

ย 

Don't miss the opportunity to enhance the activity and appeal of your gaming community with this outstanding script!

ย 

Config for Clarity

Spoiler

// Database connection for reward distribution
// You can create and grant user access only to tables, characters, and items_delayed
define('GAME_HOST', 'localhost');
define('GAME_USERNAME', '');
define('GAME_PASSWORD', '');
define('GAME_DBNAME', '');
define('GAME_DSN', 'mysql:host=' . GAME_HOST . ';dbname=' . GAME_DBNAME);
define('GAME_OPTIONS', array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));

// TWITCH ACCESS TOKEN
define('TWITCH_ACCESS_TOKEN', '');

// TWITCH CLIENT ID
define('TWITCH_CLIENT_ID', '');

// Item granted for streaming
define('ITEM_ID', 4037);

// Number of items granted per stream
define('ITEM_COUNT', 5);

// Minimum hours for eligibility? For example, if a player streams for 2 hours, an item is awarded (Default is 1 hour)
define('ITEM_REWARD_TIME', 2);

// Minimum viewers for item eligibility? For example, if a player streams for 1 hour and has a minimum of 5 viewers (Default is 5 viewers)
define('ITEM_REWARD_STREAM_VIEWER', 5);

// Cache duration in seconds (Default is 300 seconds = 5 minutes)
// To avoid constantly loading data from the API, we save it locally
define('CACHE_DURATION', 0);
define('CACHE_FILE_NAME', 'stream_data.json');

// This file stores data to check if a reward has already been granted to a streamer
// This script prevents granting rewards to the same streamer again
define('REWARDED_FILE_NAME', 'rewarded.json');
define('REWARD_INTERVAL', 86400); // Default is 24 hours in seconds: 86400

// Specify Twitch Username and In-Game Character Name here
$streamerTwitch = [
['twitch_username' => 'kussia88', 'game_nickname' => 'Kussia'],
['twitch_username' => 'just_ns', 'game_nickname' => 'NS'],
['twitch_username' => 'waveafterwave2ndlife', 'game_nickname' => 'WaveAfterWave1'],
['twitch_username' => 'bohpts', 'game_nickname' => 'bohpts'],
['twitch_username' => 'fisher', 'game_nickname' => 'fisher'],
['twitch_username' => 'stray228', 'game_nickname' => 'stray228'],
['twitch_username' => 'rostislav_999', 'game_nickname' => 'rostislav_99999999'],
['twitch_username' => 'dyrachyo', 'game_nickname' => 'dyrachyo'],
['twitch_username' => 'burzum1349', 'game_nickname' => 'burzum1349'],
['twitch_username' => 'OCo3HaHue', 'game_nickname' => 'OCo3HaHue'],
];


ย 

How It Looks on Your Website?

ย 

Spoiler

ย 

ย 

ย 

ย 

ย 

ย 

spacer.png

ย 

ย 

Edited by Kenrix
  • Kenrix changed the title to Auto Rewards for Streams (twitch, youtube, trovo, kick)
  • Kenrix changed the title to Auto Rewards for Streams (twitch, trovo)
  • 3 months later...
  • 3 weeks later...
Posted

Bought this couple weeks ago and havent been able to reach you out yet to ask you some questions for the installation and configuration Please if you read this, could you message me back? Thank you.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • ๐ŸŒŸ L2Avalon โ€“ Interlude Rework x20 โ€“ Grand Opening July 4! ๐ŸŒŸ ๐Ÿ“… Server Launch: Open Beta: June 26, 18:00 GMT+3 Grand Opening: July 4, 2025 ๐Ÿ“ฆ Chronicle & Client: Reworked Interlude (based on latest High Five features) Custom launcher with up-to-date client support โš”๏ธ Rates & Progression: EXP/SP: Lv 1โ€“39: x20 Lv 40โ€“52: x15 Lv 52โ€“60: x10 Lv 61โ€“70: x8 Lv 71โ€“75: x5 Lv 76โ€“79: x4 โ†’ x3 Lv 80+: x2 Adena: x1 (subject to adjustment) Drop/Spoil/Raid Drop: x5 Quest Drop: custom Party Bonus: up to +290% EXP ๐Ÿ› ๏ธ Core Features: Auto-loot (normal drops) Auto-learn skills up to level 75 High Five-style skill system with full rebalancing Passive MP regen: +1000 MP / 15s Inventory space: 150 slots Weight limit increased Auto CP/HP/MP potions Global chat from level 40 (!), offline shop (.offline), buff selling system (.sellbuff) ๐Ÿ”ผ Class Progression: 1st & 2nd class: Free 3rd class: Kill 700 mobs โ†’ get 1 Giant Codex Subclass: Custom quest + 4 raid bosses + 1000 B-grade Crystals Noblesse: Either via Caradine's Letter (Lv 65+) or Noblesse box from raid bosses ๐Ÿช NPC Shops & Support: GM Shop: Full D/C gear, Low B gear Luxury Shop: TOP B gear Donation Shop: Cosmetics, premium, etc. NPC Buffer: Save & load buff schemes (premium buffs for Premium Account) Mammon functions via NPC in Giran (unseal, augment, etc.) Offline Traders, Coin of Luck auction system Special blacksmiths and unique item services ๐Ÿ’ก Why L2Avalon? Balanced seasonal x20 rates โ€“ smooth and long-term growth Quality-of-life systems for casual & hardcore players alike Custom skill system, refined raid rewards, and unique gear upgrades Active community, continuous development, and fair monetization Beta rewards & early start advantage ๐Ÿ”— Useful Links: ๐ŸŒ Website: https://www.l2avalon.net ๐Ÿ“˜ Full Server Info: https://l2avalon-net.gitbook.io/info ๐Ÿ’ฌ Discord: https://discord.gg/NbM2cXmAem ๐Ÿ“ Join the adventure this July! Prepare your characters during Beta and get rewarded at launch! ย 
    • You spent over a month calling a lot of people names. I get that you want to change, but it will take a lot more than this for me to believe its sincere. And honestly, for your apology to matter, I'd have to care enough to be offended in the first place.
    • we all love you very much Guytis๐Ÿ’– ๐Ÿค—
    • W/e u smoke there, i want aswell... life has been cruel all this time! Maybe it will help me
    • I would like to take this opportunity to publicly apologize to the following people: ย  @Acacia, @Victory, @Splicho, @ShadowNetwork, @l2gold2025, @SkyLord, @maneco, @F4sh10n, @Maxtor, @Celestine, @911reg, @Nightw0lf. @UnknownSoldier ย  If at any point my words, actions, or posts offended you, I sincerely apologize. I recognize that in the past there were moments of tension and unnecessary conflict, but today I want to leave all of that behind. From now on, I choose not to hold any grudges against anyone and to let go of everything that happened โ€” from both sides. The path I want to follow in this community is one of collaboration, mutual respect, and growth. Thank you to those who are still contributing and sharing. Sincerely, ย  Guytis
  • Topics

ร—
ร—
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock