Installations

Step 1 โžก Dependencies

This is one of the most important parts, since without the dependencies, the resource will never work or not start, here we will list the dependencies with their respective links for you to download and add them to your server.

Step 2 โžก Resources in server.cfg

The correct order of the resources is as follows, always keeping es_extended and its cores above, but the other normal resources below

ensure sfbanking

Step 3 โžก Database

Run query/SQL query and paste below code

CREATE TABLE IF NOT EXISTS `sfbanking` (
  `id` int(11) NOT NULL,
  `cid` varchar(64) NOT NULL,
  `bank_number` int(11) NOT NULL DEFAULT 0,
  `bank_amount` int(32) NOT NULL DEFAULT 0,
  `crypto_number` int(11) NOT NULL DEFAULT 0,
  `crypto_amount` text NOT NULL DEFAULT ('[]'),
  `business` varchar(16) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS `sfbanking_logs` (
  `id` int(11) NOT NULL,
  `number` int(11) DEFAULT NULL,
  `tonumber` int(11) NOT NULL,
  `amount` int(11) DEFAULT NULL,
  `reason` varchar(256) DEFAULT NULL,
  `type` int(11) NOT NULL DEFAULT 0,
  `date` varchar(64) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS `sfbanking_cryptologs` (
  `id` int(11) NOT NULL,
  `number` int(11) DEFAULT NULL,
  `tonumber` int(11) NOT NULL,
  `amount` float DEFAULT NULL,
  `currency` varchar(11) NOT NULL,
  `type` int(11) NOT NULL DEFAULT 0,
  `date` varchar(64) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE `sfbanking_access` (
  `id` int(11) NOT NULL,
  `playerid` varchar(64) NOT NULL,
  `bank_number` int(16) DEFAULT NULL,
  `crypto_number` int(16) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

ALTER TABLE `sfbanking` ADD PRIMARY KEY (`id`);
ALTER TABLE `sfbanking` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE `sfbanking_logs` ADD PRIMARY KEY (`id`);
ALTER TABLE `sfbanking_logs` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE `sfbanking_cryptologs` ADD PRIMARY KEY (`id`);
ALTER TABLE `sfbanking_cryptologs` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE `sfbanking_access` ADD PRIMARY KEY (`id`);
ALTER TABLE `sfbanking_access` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

Step 4 โžก Click on Config

Last updated