Description
A very simple plugin I created since
Empty Server Map Restarter didn't work for me and I wanted to learn SourcePawn. A lot of this plugin's code is similar to that one since I used it as an example of how to get most things done.
ConVars- sm_empty_enabled - Whether or not the plugin is enabled.
- sm_empty_config - The config to run when the server is empty.
- sm_empty_version - The plugin's version.
Known Issues
When sv_hibernate_when_empty is 1 and sv_hibernate_postgame_delay is 0, the plugin apparently breaks.
Changelog
Quote:
v1.7.3 (2022-12-04)
- Fix some build errors/warnings.
v1.7.2 (2020-09-12)
- Fix compilation errors.
- Make version cvar notify on change.
- Scripting changes.
v1.7.1 (2020-09-01)
- Exact same as before but actually works this time.
v1.7 (2020-09-01)
- Fix error when everyone leaves
v1.6 (2020-08-31)
- Remove thefuck command since the disconnect bug was fixed in last version
- Fix bug where the plugin will execute when a map change happens
v1.5 (2020-08-19)
- I think I actually fixed the bug where players who disconnected before loading in would cause the plugin to break.
- Remove debug mode since it's not useful and a waste of space. sm_empty_thefuck
- General code cleanup
v1.4 (2020-08-19) (Not released on AM)
- Add to the fake client filter to try to fix above bug
- General code cleanup
v1.3 (2020-18-18 ) (Not released on AM)
- Add debug mode and sm_empty_thefuck command for future debugging.
v1.2 (2020-08-14)
- Fix "Client index 0 is invalid" error.
v1.1 (2020-07-12)
- The name of your config is no longer limited to 5 characters.
v1.0 (2020-07-11)
- Initial release
|
Credits