All Projects → GmodNET → GmodDotNet

GmodNET / GmodDotNet

Licence: MIT license
Cross-platform .NET Module/Plugin platform for Garry's Mod powered by .NET.

Programming Languages

C#
18002 projects
C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to GmodDotNet

VJ-Base
An addon for Garry's mod that contains bunch of bases to make many different types of addons.
Stars: ✭ 57 (-8.06%)
Mutual labels:  garrysmod, garrysmod-addon
MetrostroiAddon
Metrostroi is an addon for Garry's Mod which puts you behind the controls of the real and fully simulated subway trains.
Stars: ✭ 21 (-66.13%)
Mutual labels:  garrysmod, garrysmod-addon
Half-Life-Resurgence
Recreation & expansion of NPCs, entities, and weapons from the Half-Life series into Garry's Mod!
Stars: ✭ 52 (-16.13%)
Mutual labels:  garrysmod, garrysmod-addon
Lambda
Half-Life 2 series Co-Op Gamemode
Stars: ✭ 52 (-16.13%)
Mutual labels:  garrysmod
Server-Creation-Tool
A Tool to easily create Server via SteamCMD
Stars: ✭ 33 (-46.77%)
Mutual labels:  garrysmod
ApiJwtWithTwoSts
Web API authorization, multi-IDP solutions in ASP.NET Core
Stars: ✭ 43 (-30.65%)
Mutual labels:  net6
toast ui.blazor calendar
Toast UI Calendar Wrapper For Blazor
Stars: ✭ 42 (-32.26%)
Mutual labels:  net6
sourcesdk-minimal
A compact and Garry's Mod compatible SourceSDK (don't use in other Source engine games).
Stars: ✭ 34 (-45.16%)
Mutual labels:  garrysmod
stencil-tutorial
Learn you a stencil buffer for great justice
Stars: ✭ 40 (-35.48%)
Mutual labels:  garrysmod
MongoWebApiStarter
A full-featured starter template for `dotnet new` to quickly scaffold an Asp.Net 6 Web-Api project with MongoDB as the data store.
Stars: ✭ 147 (+137.1%)
Mutual labels:  net6
Autorun-rs
Undetectable scripthook with lua execution and filesteal. Modern replacement for gluasteal and most lua executors
Stars: ✭ 63 (+1.61%)
Mutual labels:  garrysmod
XPGUI
A modern VGUI framework.
Stars: ✭ 15 (-75.81%)
Mutual labels:  garrysmod
kontent-boilerplate-net
Kontent.ai Boilerplate for development of ASP.NET Core MVC applications.
Stars: ✭ 29 (-53.23%)
Mutual labels:  net6
ACF-3
ACF
Stars: ✭ 37 (-40.32%)
Mutual labels:  garrysmod
zombie-escape
🏃 Gamemode for Garry's Mod based on the popular Counter-Strike: Source server mod
Stars: ✭ 17 (-72.58%)
Mutual labels:  garrysmod
garrysmod common
A repository of common bits for compilation projects based on Garry's Mod.
Stars: ✭ 76 (+22.58%)
Mutual labels:  garrysmod
gm 8bit
Audio interception utils for garry's mod
Stars: ✭ 28 (-54.84%)
Mutual labels:  garrysmod
garrysmod-chatsounds
Community Uploaded Ingame Chat Reaction Sounds
Stars: ✭ 68 (+9.68%)
Mutual labels:  garrysmod
hookman
A plugin management system in python to applications (in totally or partially) written in C++.
Stars: ✭ 29 (-53.23%)
Mutual labels:  plugin-system
Metal2-Samples
A Metal Sample Gallery written in CSharp using NET6
Stars: ✭ 25 (-59.68%)
Mutual labels:  net6

Nuget Downloads Discord Server CI

Gmod.NET

Cross-platform .NET Module/Plugin platform for Garry's Mod powered by .NET.

About

Gmod.NET is Garry's Mod Module/Plugin loader for C# and other .NET languages which runs across all platforms (Windows, Linux, macOS). Gmod.NET allows you to develop cross-platform Garry's Mod extensions without need to close or reload your game or server.

Gmod.NET allows you to write Garry's Mod modules in C# or any other CIL-compiled language as .NET 6.0 class libraries. For more information on modules and API check out our documentation. Only x86_64 version of Garry's Mod is currently supported.

Need help?

Check out our docs and join our discord server.

Building and contributing

Build instructions

To build GmodDotNet you need to have following software installed and registered with your PATH environment variable:

  1. Latest version of git

  2. Latest version of CMake

  3. Latest version of dotnet SDK

  4. (On Windows) Latest version of Visual Studio 2019 with C++ workload

  5. (On macOS) Latest version of Xcode

  6. (On Linux) Latest versions of make and gcc (or clang)

Build steps:

  1. Clone this git repository (building outside of git repository is not supported)

  2. In the root of the cloned repository run dotnet build runtime.csproj -c Debug or dotnet build runtime.csproj -c Release instruction in your command prompt.

NOTE: runtime.csproj is not a real C# project file but a kind of build script. To work with the managed part of Gmod.NET open gm_dotnet_managed/gm_dotnet_managed.sln solution file in your IDE instead.

runtime.csproj build script will produce following folders in the root of repository:

  1. build folder contains the full build of GmodDotNet runtime (both native and managed). The content of this folder should be copied to garrysmod/lua/bin.

  2. Modules folder contains tests suit. To run tests this folder should be copied to garrysmod/lua/bin.

  3. nupkgs folder contains GmodNET.API NuGet package.

Nightly builds

You can find latest nightly builds of Gmod.NET runtime at http://nightly.gmodnet.xyz/. To use our nightly NuGet packages connect to our nightly NuGet feed.

Installation and usage

  1. Download latest build from the project's releases page.

  2. Unpack archive for your OS to the %GARRYS_MOD_ROOT_FOLDER%garrysmod/lua/bin/ folder.

  3. Create a Modules folder inside garrysmod/lua/bin/.

  4. Place your .NET module, ...deps.json file, and all dependencies in Modules/%exact_name_of_the_module_without_dll%/ folder.

  5. Load Gmod.NET runtime in game by executing Lua function require("dotnet").

  6. Load your module by running Lua function dotnet.load("%exact_name_of_the_module_without_dll%").

For more info check out our quick start guide.

License

Whole project is licensed under MIT License.

Dependencies and code usage

See the NOTICE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].