mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 12:56:30 +01:00
commit
fd4ff02ddb
2 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ For the `look`-command (and anything else written by the player), the `text` `co
|
|||
|
||||
### Inputfuncs
|
||||
|
||||
On the Evennia server side, a list of [inputfucs](Inputuncs) are registered. You can add your own by extending `settings.INPUT_FUNC_MODULES`.
|
||||
On the Evennia server side, a list of [inputfuncs](Inputfuncs) are registered. You can add your own by extending `settings.INPUT_FUNC_MODULES`.
|
||||
|
||||
```python
|
||||
inputfunc_commandname(session, *args, **kwargs)
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ Common for the settings is that you generally will never import them directly vi
|
|||
- `at_server_startstop.py` - This allows to inject code to execute every time the server starts, stops or reloads in different ways.
|
||||
- `connection_screens.py` - This allows for changing the connection screen you see when you first connect to your game.
|
||||
- `inlinefuncs.py` - [Inlinefuncs](../../../Concepts/Inline-Functions.md) are optional and limited 'functions' that can be embedded in any strings being sent to a player. They are written as `$funcname(args)` and are used to customize the output depending on the user receiving it. For example sending people the text `"Let's meet at $realtime(13:00, GMT)!` would show every player seeing that string the time given in their own time zone. The functions added to this module will become new inlinefuncs in the game. See also the [FuncParser](../../../Components/FuncParser.md).
|
||||
- `inputfucs.py` - When a command like `look` is received by the server, it is handled by an [Inputfunc](InputFuncs) that redirects it to the cmdhandler system. But there could be other inputs coming from the clients, like button-presses or the request to update a health-bar. While most common cases are already covered, this is where one adds new functions to process new types of input.
|
||||
- `inputfuncs.py` - When a command like `look` is received by the server, it is handled by an [Inputfunc](InputFuncs) that redirects it to the cmdhandler system. But there could be other inputs coming from the clients, like button-presses or the request to update a health-bar. While most common cases are already covered, this is where one adds new functions to process new types of input.
|
||||
- `lockfuncs.py` - [Locks](../../../Components/Locks.md) and their component _LockFuncs_ restrict access to things in-game. Lock funcs are used in a mini-language to defined more complex locks. For example you could have a lockfunc that checks if the user is carrying a given item, is bleeding or has a certain skill value. New functions added in this modules will become available for use in lock definitions.
|
||||
- `mssp.py` - Mud Server Status Protocol is a way for online MUD archives/listings (which you usually have to sign up for) to track which MUDs are currently online, how many players they have etc. While Evennia handles the dynamic information automatically, this is where you set up the meta-info about your game, such as its theme, if player-killing is allowed and so on. This is a more generic form of the Evennia Game directory.
|
||||
- `portal_services_plugins.py` - If you want to add new external connection protocols to Evennia, this is the place to add them.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue