[Arcturus emulator] BattlePass rewards PHP for levelsystem

Josel

New Member
Feb 18, 2021
7
16
Hello everyone! nice to the community, I was a bit bored so I programmed something for the arpy levelsystem plugin, I hope you like this contribution.

Here I leave you some images.

You must be registered for see images attach


You must be registered for see images attach


You must be registered for see images attach


Download:

Installation:
1.
First put the client folder in the root of your CMS.
2. Then go to client and in the bp_client.php file edit your data in the following snippet.
Code:
 $servername = "localhost";
    $username = "root";
    $password = "contraseña";
    $dbname = "DataBase";

3. in your plugin levelsystem table replace ls_rawards with:


4. In the client file of your hotel put the following code:
<?php
include_once 'client/bp_client.php';
?>

5. To edit the time, edit the following code snippet, it is important to know that this does not change the season time of the plugin levelsystem, that is done manually.
$fecha_finalizacion = "2023-06-21 00:00:00";

You must be registered for see images attach


Note: for this to work you must have the ArpyAge levelsystem plugin.

Credits:
ZayterDep (Code)
ArpyAge (LevelSystem Plugin)

I hope you like it! I plan to bring more contributions!
 
Last edited:

duckietm

Member
Dec 31, 2010
42
18
Please do not use this the way it is, a simple code review from chatgpt

In summary, the code you provided is safe for its current use (assuming there are no user inputs), but security concerns may arise if you modify it to interact with user-generated data or if you don't follow best practices for securing database credentials and queries. Also this will make a database call every time the scripts is called, we advise to build a caching model. Always practice good security hygiene and stay updated on security best practices to minimize risks.

--Chatgpt
 

Users who are viewing this thread

Top