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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Posts

    • Hi everyone,   In 2014, I completely stepped away from developing L2 servers and doing L2J-related work. Since then, I’ve only opened this server about once a year and helped a few servers and individuals for free. I haven’t taken on any paid L2J work since then.   LINEAGE2.GOLD is a project that has reached about Season 6. The first season launched at the end of 2020 and was a fully rebuilt Gold-style server on the Classic client (protocol 110). It featured many custom systems and enhancements. After several seasons, I decided to abandon the Mobius-based project and move to Lucera, as my goal was to get as close as possible to Interlude PTS behavior while still staying on the L2J platform.   The current project was once again completely rebuilt, this time on the Essence client (protocol 306), and is based on Lucera. Because of that, acquiring a license from Deazer is required.   My Lucera extender includes, but is not limited to: Formulas.java Basic anti-bot detection, which proved quite effective, we caught most Adrenaline users using relatively simple server-side logic, logged them, and took staff action. Simple admin account lookup commands based on IP, HWID, and similar identifiers. In-game Captcha via https://lineage2.gold/code, protected by Cloudflare, including admin commands for blacklisting based on aggression levels and whitelisting. Additional admin tools such as Auto-Play status checks, Enchanted Hero Weapon live sync, force add/remove clans from castle sieges, item listeners for live item monitoring, and more. A fully rewritten Auto-Play system with support for ExAutoPlaySetting, while still using the Auto-Play UI wheel, featuring: Debuff Efficiency Party Leader Assist Respectful Hunting Healer AI Target Mode Range Mode Summoner buff support Dwarf mechanics Reworked EffectDispelEffects to restore buffs after Cancellation. Raid Bomb item support. Reworked CronZoneSwitcher. Prime Time Raid Respawn Service. Community Board features such as Top rankings and RB/Epic status. Custom systems for Noblesse, Subclasses, support-class rewards, and much more.   Depending on the deal, the project can include: The lineage2.gold domain The website built on the Laravel PHP framework The server’s Discord Client Interface source Server files and extender source The server database (excluding private data such as emails and passwords)   I’m primarily looking for a serious team to continue the project, as it would be a shame to see this work abandoned. This is not cheap. You can DM me with offers. If you’re wondering why I’m doing this: I’ve felt a clear lack of appreciation from the L2 community, and I’m not interested in doing charity work for people who don’t deserve it. I’m simply not someone who tolerates BS. Server Info: https://lineage2.gold/info Server for test: https://lineage2.gold/download Over 110 videos YouTube playlist: https://www.youtube.com/watch?v=HO7BZaxUv2U&list=PLD9WZ0Nj-zstZaYeWxAxTKbX7ia2M_DUu&index=113
    • ACTUALIZATION > SAMURAI CROW PRICE. 500$ (P542) 300$ (P520) 200$ (P509)  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

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