Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/allejo/scorerestorer
A BZFlag plug-in that restores a player's score whenever they rejoin within a set amount of time.
https://github.com/allejo/scorerestorer
bzflag bzflag-plugin
Last synced: 5 days ago
JSON representation
A BZFlag plug-in that restores a player's score whenever they rejoin within a set amount of time.
- Host: GitHub
- URL: https://github.com/allejo/scorerestorer
- Owner: allejo
- License: mit
- Created: 2015-05-06T02:24:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-01-18T01:23:54.000Z (almost 4 years ago)
- Last Synced: 2024-10-12T19:47:37.397Z (about 1 month ago)
- Topics: bzflag, bzflag-plugin
- Language: C++
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Score Restorer
[![GitHub release](https://img.shields.io/github/release/allejo/ScoreRestorer.svg)](https://github.com/allejo/ScoreRestorer/releases/latest)
![Minimum BZFlag Version](https://img.shields.io/badge/BZFlag-v2.4.14+-blue.svg)
[![License](https://img.shields.io/github/license/allejo/ScoreRestorer.svg)](LICENSE.md)A BZFlag plug-in that restores a player's score whenever they rejoin within a set amount of time. This plug-in also allows admins to modify a player's score with a slash command.
## Requirements
- BZFlag 2.4.14+
- C++11This plug-in follows [my standard instructions for compiling plug-ins](https://github.com/allejo/docs.allejo.io/wiki/BZFlag-Plug-in-Distribution).
## Usage
### Loading the plug-in
This plug-in does not take any configuration options at load time.
```
-loadplugin ScoreRestorer
```### Custom BZDB Variables
These custom BZDB variables can be configured with `-set` in configuration files and may be changed at any time in-game by using the `/set` command.
```
-set
```| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| `_scoreSaveTime` | int | 120 | The amount of seconds a player's score will be saved after they've left. |## License
[MIT](LICENSE.md)