Skip to content

Commit

Permalink
Update RageMP submodule url and change FAQ regarding commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Micky5991 committed Dec 2, 2018
1 parent c6fabf8 commit 62306a8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "ragemp-dotnet-core"]
path = ragemp-dotnet-core
url = https://github.com/AlternateLife/ragemp-dotnet-core.git
[submodule "RageMP.Net"]
path = RageMP.Net
url = https://github.com/AlternateLife/RageMP.Net
1 change: 1 addition & 0 deletions RageMP.Net
Submodule RageMP.Net added at 3d68eb
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To get started with AlternateLife.RageMP.Net, [look into our guide](~/documentat
- **Is there a way to drop pure `.cs` files inside a resource folder and let the server compile it?**
- *No, you have to compile all projects into assemblies (`.dll`), other ways are not supported.*
- **Does this library offer a command handler to create simple commands?**
- *No, you have to create your own parser that handles incoming commands. We only offer an event, so you could integrate it into your own resource.*
- *Yes, but in a very basic way. There are two ways to create commands: First, with command-handlers and attributes which define commands and a very simple MP.Commands.Add() method that uses a lambda function as handler.*
- **I want to create multiple main-classes which are activated by the server, is that even possible?**
- *No, the server looks for the first type that implements the [IResource](api/AlternateLife.RageMP.Net.Scripting.IResource.yml) interface and activates it. You have to manage different types yourself.*

Expand Down
1 change: 0 additions & 1 deletion ragemp-dotnet-core
Submodule ragemp-dotnet-core deleted from dc6aff

0 comments on commit 62306a8

Please sign in to comment.