Skip to content

Commit

Permalink
Readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwDayDream committed May 21, 2024
1 parent 59c6627 commit dbcc5b2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## MultiplayerModRestrictor
A Last Train Outta' Wormtown plugin that facilitates other plugins restricting multiplayer access by mod versioning.

Plugins wishing to implement this should depend on it in their manifest.json `www_Day_Dream-MultiplayerModRestrictor-0.3.0` and `[BepInDependency("wwwDayDream.MultiplayerModRestrictor")]` attribute.

Create an internal class attribute of the name 'MMReqVersion' or 'MMReqExist' and apply it to your `BaseUnityPlugin`.

* MMReqVersion: Requires versions to match in order for clients to be in the same lobby.
* MMReqExist: Requires the mod to be present on both clients but without version checking.
8 changes: 8 additions & 0 deletions ts-assets/TS-README.md
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
## MultiplayerModRestrictor
A Last Train Outta' Wormtown plugin that facilitates other plugins restricting multiplayer access by mod versioning.

Plugins wishing to implement this should depend on it in their manifest.json `www_Day_Dream-MultiplayerModRestrictor-0.3.0` and `[BepInDependency("wwwDayDream.MultiplayerModRestrictor")]` attribute.

Create an internal class attribute of the name 'MMReqVersion' or 'MMReqExist' and apply it to your `BaseUnityPlugin`.

* MMReqVersion: Requires versions to match in order for clients to be in the same lobby.
* MMReqExist: Requires the mod to be present on both clients but without version checking.
Binary file modified ts-assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dbcc5b2

Please sign in to comment.