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

    • I wouldn't expect something less, since you work with Psadek (or I maybe mistake you with NightW0lf from itopz, in that case soz) Let's throw rocks at Java Golds and elevate "original L2OFF Golds", no?
    • We are delighted to announce our partnership with the leading resource, Active Anticheat, specializing in protection against bot programs, clickers, and additional modules for the game client that enhance the experience for both you and the players!   When you purchase Active Anticheat for our product, you will also receive a $50 discount.   Here's a brief overview of the features of Active Anticheat: Best protection against bots, including private and premium versions. Window limitation. HWID spoofing protection. Virtual machine protection. File hash protection for client files, preventing players from modifying them (e.g., interface files). Encryption of any game files. Integration with Discord to attract new players! Additional plugins: - Window with saved player logins/passwords. Players no longer need to enter them every time! - HWID sending to the game server. - Game window optimizer for quick switching. - Background FPS adjustment. - Window name customization in the format "%character_name% - %server_name%". - Ctrl+C/V permission. - Login and password saving (for Interlude -> High Five). - Launching the browser via server packets. - Launching interface events via server packets. - Interlude: fixing a known game bug (History: UpdateAnimation <- AActor::Tick <- TickAllActors <- ULevel::Tick <- (NetMode=0) <- TickLevel <- UGameEngine::Tick <- UpdateWorld <- MainLoop). - Interlude: debuff feature. 9) All of this is available without modifying the game server code (some plugins may require minor changes). Take note of newest plugin, which is highly useful: Guides section
    • The Lucera2 Multiprotocol is an advanced server branch for Lineage 2 that enables seamless support for multiple client versions on a single server instance. This allows players to connect and play using either the legacy (old) client or the newer Classic client simultaneously, without any compatibility issues or loss of functionality. Key Benefits Dual Client Support: Both the old Interlude client and Classic: Secret of Empire 2.6 client can run concurrently on the same server. All features from the Classic client (e.g., enhanced UI, new mechanics) remain fully available, while the old client retains its alternative features (e.g., simplified interfaces for lower-end hardware). Expanded Player Base: Ideal for regions with limited access to modern gaming setups, as it accommodates a wider range of devices and preferences, merging Legacy and Classic communities into one forum section for unified discussions. No Functionality Gaps: Extensive testing ensures zero disruptions—players on either client experience complete game integrity, including quests, PvP, raids, and custom Lucera2 subsystems. You can fully test and explore all aspects of Multiprotocol on the dedicated Test Server. Supported Protocols C6 (Old Client): Protocol versions 740–770. Classic Client (Secret of Empire 2.6): Protocol versions 166–192.
    • Connect to the server you need to >>>download<<< game client launch from /system_en/. Login server setup on auto registration, admin rights in game by default . Or you can use a patch specifying the l2.ini Connect to address classic.lucera2.com if you already have a game client Download updated patch All major/minor subsystems operate in a proper view. Absolutely ready to combat the server.
  • 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