BattleNode is a master server emulator for Battlefield 2142.
The full event name usually looks like this: plugin.event. The table below contains only the names of the events
| Event |
Arguments |
Description |
init |
- |
Plugin initialization |
shutdown |
- |
Shutting down plug-in |
statuschange |
PluginStatuses |
Changing plugin status |
process.submitted |
JobSubmissionEvent |
Process started |
process.executes |
JobEvent |
Process completed without error |
process.error |
JobExecutionEvent |
Process failed |
Events that are not related to plugins are global and are called by the application itself. Such events have the application name battlenode in the name instead of the plugin name
| Event |
Arguments |
Description |
battlenode.start |
- |
The application has started |
battlenode.stop |
- |
The application is shutting down |
battlenode.error |
str |
There was an unexpected error |
battlenode.plugins.statuschange |
PluginStatuses, Plugin |
one of the plug-ins has changed its status. |
battlenode.database.init |
- |
Database is initialized and ready for operation |
battlenode.database.close |
- |
Database connection closes |
Why duplicates?
The battlenode prefix events with the plugins group are duplicates of events whose prefixes are the plugin name, but the difference is that for battlenode an instance of the Plugin class is also passed in the arguments.
Useless information
Prefix.group.action, also prefix == namespace. The names are different, but maybe this info is not useless
| Status |
Description |
LOADED |
Successful import and pre-initialization |
INITIALIZING |
Full initialization, the init event and the child process are called |
RUNNING |
It's working |
STOPPING |
During the shutdown process, the shutdown event is called and the child process is stopped |
STOPPED |
Stopped |
ERROR |
Something happened at one of the stages of either initialization or shutdown |
RESTARTING |
During shutdown and reloading |
DISABLED |
Cannot be loaded, this action is prohibited |
WAITING |
First status after registration in the loader. Awaiting import |
| Plugin |
Default port |
| fesl |
18400 if proxy is used, otherwise 18300 |
| gpcm |
29900 |
| qr |
27900 |
| sb |
28910 |
| stats |
80 |