Raised This Month: $ Target: $400
 0% 

Swiftly - a framework for CS2


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
blu1337
Junior Member
Join Date: Jun 2022
Old 11-30-2024 , 14:31   Swiftly - a framework for CS2
Reply With Quote #1

Swiftly: A Modern Server Modification Plugin for Counter-Strike 2

Swiftly is a server modification plugin for Counter-Strike 2 servers, built on Metamod:Source 2.x.

What is Swiftly?

Swiftly is an alternative framework to SourceMod for CS:GO or CounterStrikeSharp for CS2. It is based on Lua and provides an array of easy-to-use functionalities, including:
  • User Messages
    Offers an API for Protobuf Messages from Counter-Strike 2, enabling developers to send customized messages to clients.
  • Standardized Menus
    Provides a unified menu system for all plugins, making it easier to create and implement custom menus.
  • Automation
    Automates the generation of the Counter-Strike 2 SDK API, ensuring rapid updates whenever a new game version is released.
  • Custom Game Data
    Enables the addition of custom signatures, patches, and offsets directly into the gamedata directory.
  • IP API
    Includes a built-in IP API using local IP databases, eliminating the need for external HTTP requests.
  • Database
    An easy-to-use MySQL Database API
  • HTTP
    Provides a robust HTTP Client & Server, allowing real-time communication between the server and web applications.
  • Memory
    An advanced API, letting you read and write memory pointers.
  • Hooks
    An advanced API letting you hook CS2 function via signatures.
  • VS Code Integration
    Comes with a Visual Studio Code extension featuring Auto Completion, Plugin Generation, and in-editor Documentation to streamline development.

    And many more features, all available to see here

Open-Source and Community Driven
Swiftly is a fully open-source project, actively developed and maintained by the developers and the community. Numerous plugins are already available and can be found on the Discord server or GitHub repository.

Join Us
GitHub | Discord | Documentation | VS Code Extension

Last edited by blu1337; 11-30-2024 at 14:32.
blu1337 is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 12-17-2024 , 05:26   Re: Swiftly - a framework for CS2
Reply With Quote #2

Nice, are there at least the base server management plugin pack available for it? ( like player manage - kick,ban ect..- map voting?

Last edited by PStar; 12-17-2024 at 05:26.
PStar is offline
blu1337
Junior Member
Join Date: Jun 2022
Old 12-20-2024 , 05:46   Re: Swiftly - a framework for CS2
Reply With Quote #3

Quote:
Originally Posted by PStar View Post
Nice, are there at least the base server management plugin pack available for it? ( like player manage - kick,ban ect..- map voting?
Yes there are a lot of plugins, all of them are available here: https://github.com/orgs/swiftly-solution/repositories
Swiftly comes by default installed with the admins plugin.
blu1337 is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 12-21-2024 , 04:46   Re: Swiftly - a framework for CS2
Reply With Quote #4

Quote:
Originally Posted by blu1337 View Post
Yes there are a lot of plugins, all of them are available here: https://github.com/orgs/swiftly-solution/repositories
Swiftly comes by default installed with the admins plugin.
Thank you for the answer.
Does Swiftly work on linux based servers too? Or just windows?
PStar is offline
blu1337
Junior Member
Join Date: Jun 2022
Old 12-21-2024 , 15:37   Re: Swiftly - a framework for CS2
Reply With Quote #5

Quote:
Originally Posted by PStar View Post
Thank you for the answer.
Does Swiftly work on linux based servers too? Or just windows?
Swiftly works on both Linux and Windows.
blu1337 is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 12-21-2024 , 16:42   Re: Swiftly - a framework for CS2
Reply With Quote #6

Quote:
Originally Posted by blu1337 View Post
Swiftly works on both Linux and Windows.
Tried to install it on a linux server (with MM:S 1315), but it fails to load.

Is there any possibility to make the admin db a single json file? Cause most community servers dont have any acces to a normla mysql db. Or at lest there should be a default fallback for sqlite mode.

And i did not find any information how to add the admins to the database, or am i missing something?

Last edited by PStar; 12-21-2024 at 16:42.
PStar is offline
blu1337
Junior Member
Join Date: Jun 2022
Old 12-22-2024 , 06:15   Re: Swiftly - a framework for CS2
Reply With Quote #7

Quote:
Originally Posted by PStar View Post
Tried to install it on a linux server (with MM:S 1315), but it fails to load.

Is there any possibility to make the admin db a single json file? Cause most community servers dont have any acces to a normla mysql db. Or at lest there should be a default fallback for sqlite mode.

And i did not find any information how to add the admins to the database, or am i missing something?
Adding admins is explained here: https://github.com/swiftly-solution/...mins-%EF%B8%8F, you add them through console commands.

Unfortunately, the pluginwas designed to work only with a database connection, that is the standard now for most of the plugins on CS2.

If you didn't connect the database to the server, then that's why the server is crashing, if you did however connect it and it's still crashing, please attach some console log when the server is starting and a meta list output.

Could you please join the discord? It would be easier for me to help you fix the problem because unfortunately I don't get any notifications on new posts.
blu1337 is offline
blu1337
Junior Member
Join Date: Jun 2022
Old 12-22-2024 , 06:16   Re: Swiftly - a framework for CS2
Reply With Quote #8

And sqlite will probably be added in the next updates.
blu1337 is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 12-22-2024 , 07:16   Re: Swiftly - a framework for CS2
Reply With Quote #9

Quote:
Originally Posted by blu1337 View Post
Adding admins is explained here: https://github.com/swiftly-solution/...mins-%EF%B8%8F, you add them through console commands.

Unfortunately, the pluginwas designed to work only with a database connection, that is the standard now for most of the plugins on CS2.

If you didn't connect the database to the server, then that's why the server is crashing, if you did however connect it and it's still crashing, please attach some console log when the server is starting and a meta list output.

Could you please join the discord? It would be easier for me to help you fix the problem because unfortunately I don't get any notifications on new posts.
We dont have acces to a DB so that will be the problem .
We will wait the sqlite update then, and thank you for the FAQ.
PStar is offline
blu1337
Junior Member
Join Date: Jun 2022
Old 12-22-2024 , 08:38   Re: Swiftly - a framework for CS2
Reply With Quote #10

Quote:
Originally Posted by PStar View Post
We dont have acces to a DB so that will be the problem .
We will wait the sqlite update then, and thank you for the FAQ.
I can provide you with a database if needed! I have a small VPS set up for tasks like this, so feel free to use it if you're just looking to test the framework and its functionalities. However, if this is for a public server, I completely understand why you'd prefer to use your own database.

Last edited by blu1337; 12-22-2024 at 08:40.
blu1337 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:08.


Powered by vBulletin®
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Theme made by Freecode