samp.directory
← Skrypty i biblioteki

Southclaws/pawn-redis

Redis client for the Pawn language

Plugin★ 44zaktualizowano maj 2023MITC++sampctl
Otwórz na GitHubie

Zainstaluj za pomocą sampctl

sampctl package install Southclaws/pawn-redis

Uruchom to w folderze swojego projektu. sampctl pobiera pakiet i to, od czego zależy.

Wypróbuj w kompilatorze Pawn →

Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.

Zależy od 1 pakietu

README.md

Redis for SA:MP

A powerful Redis plugin granting access to a fast in-memory database and asynchronous message channels between other programs.

It's open source and available here

What Redis Is

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries.

(from the Redis official site)

In SA:MP terms: Redis is can be the GVar plugin on steroids. It can be a place to store large amounts of information and free up heap space (and cut compile times!)

You can also use Redis to delegate slower tasks to other programs through the power of pubsub message queues!

What Redis Is Not

Redis is not a permanent database. It exists entirely in memory which makes it very fast to read from and write to but it is not a replacement for something like MySQL to store data for a very long period of time.

Installation

Simply install to your project:

sampctl package install Southclaws/pawn-redis

Include in your code and begin using the library:

#include <redis>

pawn-packageredissa-mpsa-mp-development

Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem

Southclaws/pawn-redis: Plugin SA-MP | samp.directory