- Bhoptimer version 3.0.7a or above ( must be after this commit btw )
- REST in Pawn version 1.3.0 or above
- A callback server that can handle requests.
- You can use backend.py or make your own one
-
Compile the plugin with latest shavit.inc then drag and drop in
addons/sourcemod/plugins
-
Get your callback server working
- If you want to use the example I proved please follow this:
- Install python3 and pip3 on your server
- Type
pip3 install flask
in the terminal - Type
python3 backend.py
to run the server - Upload replays
- Create a folder called
replays
at where backend.py is - Create folders based on style ids
- Put your replay files in it. The naming should follow bhoptimer's naming style
- Create a folder called
- If you want to use the example I proved please follow this:
-
Change
addons/sourcemod/configs/remote-replay-player.cfg
according to your database tables- If
request_method
is mysql then you need to add this to youraddons/sourcemod/configs/database.cfg
"rrp" { "driver" "mysql" "host" "your_server_host" "database" "your_database_name" "user" "your_user_name" "pass" "your_password" }
- Please read comments in
remote-replay-player.cfg
- If