Skip to content

Releases: partiusfabaa/cs2-VIPCore

v1.0.9

24 Dec 09:39
Compare
Choose a tag to compare
  1. Now you can add a player with steamid 64.
  2. Now players receive VIP immediately without the need to re-enter the server.

v1.0.8

22 Dec 19:53
Compare
Choose a tag to compare
  1. Added 2 new commands - css_vip_updatetime and css_vip_updategroup these commands update the player's time and group.
  2. Now in commands, the first parameter <steamid or accountid> - steamid to interact with a player who is on the server, and accountid to interact with a player who is offline, can be used in all commands.
  3. Added menu.Title to translations

Full commands:

css_vip_adduser <steamid or accountid> <group> <time>

css_vip_updategroup <steamid or accountid> <group>

css_vip_updatetime <steamid or accountid> <time>

css_vip_deleteuser <steamid or accountid>

v1.0.7

21 Dec 17:19
Compare
Choose a tag to compare

Added a new function that creates a config. Example of use:

using CounterStrikeSharp.API.Core;
using Modularity;
using VipCoreApi;

namespace TestConfig;

public class TestConfig: BasePlugin, IModulePlugin
{
    public override string ModuleName { get; }
    public override string ModuleVersion { get; }

    private IVipCoreApi _api;
    private TestConfig config;
    
    public void LoadModule(IApiProvider provider)
    {
        _api = provider.Get<IVipCoreApi>();
        
        //Write the title without the .json
        config = _api.LoadConfig<TestConfig>("name_config"); // You can also specify the path with the 2nd argument, but it is not necessary. By default the path to modules will be
    }
}

public class TestConfig
{
    public int Test1 { get; set; } = 50;
    public bool Test2 { get; set; } = true;
    public string Test3 { get; set; } = "TEST";
    public float Test4 { get; set; } = 30.0f;
}

v1.0.6

21 Dec 12:23
Compare
Choose a tag to compare

Added a new function for getting a connection to the database (api.GetDatabaseConnection)

v1.0.5

21 Dec 10:22
Compare
Choose a tag to compare

2 new functions were added to the API:

  • PrintToChatAll(message) - displays chat messages for all players
  • IsPistolRound() - checks if the current game round is a pistol round.

v1.0.4

19 Dec 17:38
Compare
Choose a tag to compare
  1. Now the string from the json comes out fine
  2. The on/off notification now works from the kernel

v1.0.3

18 Dec 06:24
Compare
Choose a tag to compare
added arguments to GetTranslatedText

v1.0.2: Merge pull request #1 from crashzk/patch-1

17 Dec 12:55
85327da
Compare
Choose a tag to compare

v1.0.1

17 Dec 05:10
Compare
Choose a tag to compare
  1. Added VIP expiration message display
  2. Translations have also been added

v1.0.0

16 Dec 03:15
e934a2f
Compare
Choose a tag to compare
Update README.md