Add warning about starting without main script.
This commit is contained in:
parent
1356e569b5
commit
4f76d255fa
1 changed files with 5 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ When you pick up this object you should see something like:
|
||||||
Being in a separate contrib, the event system isn't installed by default. You need to do it
|
Being in a separate contrib, the event system isn't installed by default. You need to do it
|
||||||
manually, following these steps:
|
manually, following these steps:
|
||||||
|
|
||||||
1. Launch the main script:
|
1. Launch the main script (important!):
|
||||||
```@py evennia.create_script("evennia.contrib.events.scripts.EventHandler")```
|
```@py evennia.create_script("evennia.contrib.events.scripts.EventHandler")```
|
||||||
2. Set the permissions (optional):
|
2. Set the permissions (optional):
|
||||||
- `EVENTS_WITH_VALIDATION`: a group that can edit callbacks, but will need approval (default to
|
- `EVENTS_WITH_VALIDATION`: a group that can edit callbacks, but will need approval (default to
|
||||||
|
|
@ -81,6 +81,10 @@ manually, following these steps:
|
||||||
|
|
||||||
The following sections describe in details each step of the installation.
|
The following sections describe in details each step of the installation.
|
||||||
|
|
||||||
|
> Note: If you were to start the game without having started the main script (such as when
|
||||||
|
resetting your database) you will most likely face a traceback when logging in, telling you
|
||||||
|
that a 'callback' property is not defined. After performing step `1` the error will go away.
|
||||||
|
|
||||||
### Starting the event script
|
### Starting the event script
|
||||||
|
|
||||||
To start the event script, you only need a single command, using `@py`.
|
To start the event script, you only need a single command, using `@py`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue