Custom game server plugins: Minecraft, FiveM and SCP:SL

from PLN 299

VulCode, a software house from Cracow, Poland, writes custom Minecraft plugins, FiveM scripts and SCP: Secret Laboratory plugins for mechanics that ready-made packs do not have: a server currency, a shop, ranks, mini games and anything you come up with for your players. From PLN 299 (about EUR 67), with a free quote within an hour.

What custom plugins and scripts are

Code that adds mechanics, commands and systems to a game server that no ready-made pack has.

Each game has its own ecosystem: Minecraft means Java plugins on Paper and Spigot, FiveM means Lua or JavaScript resources on ESX and QBCore, and SCP: Secret Laboratory means C# plugins on EXILED or LabAPI. We write for whatever your server runs and follow its community's conventions.

We know server panels too: our plugin update fix was merged into the Pelican panel, and we connect the Pterodactyl panel to billing systems.

Three ecosystems
Minecraft, FiveM and SCP: Secret Laboratory, each in its own language and framework.
Server performance
Code that does not eat into ticks, checked under load before handover.
File-based config
You change rewards, limits and texts without a developer.

Three games, three ways of writing

Each game has a different language, a different API and different pitfalls.

MinecraftPaper, SpigotFiveMESX, QBCoreSCP: Secret LaboratoryEXILED, LabAPI
Language JavaLua or JavaScriptC#
What we write most economy, minigames, GUI menus, stored player datajobs, factions, NUI interfacesnew roles, round events, admin tools
Resource definition a plugin file with commands and permissionsfxmanifest.lua with client and server scriptsa plugin loaded by the framework
The biggest pitfall work on the main server threadclient-side logic that can be bypassedAPI changes after game updates

LabAPI is the official modding framework from the makers of SCP: Secret Laboratory, while EXILED is a community framework. The choice depends on what your server runs and which plugins it already has.

FiveM: logic on the server, not the player

A FiveM resource is described by its fxmanifest.lua: client scripts, server scripts and the NUI page. Money and items are decided by the server layer, never by the player.

  1. NUI ui_page in fxmanifest.lua, HTML and JavaScript, job and faction menus

    The player clicks in the interface that the job is done.

  2. Client scripts client_scripts, Lua or JavaScript, what the player sees and clicks

    The client script passes the request to the server and settles nothing itself.

  3. Server scripts server_scripts, condition checks, payout

    The server checks that the job was really done and only then pays out.

  4. Framework ESX, QBCore

    The framework adds the money to the player's character.

  5. Database player characters and economy, backups

    The new balance goes into a backed-up database.

SCP: Secret Laboratory: EXILED or LabAPI

LabAPI is the official modding framework from the makers of the game, while EXILED is developed by the community. The first question is not which one is better but what your server runs on.

LabAPI

  • The server is just starting, or you are rewriting its plugins anyway, so nothing ties you to another framework.
  • You want to build on the official framework from Northwood Studios, the makers of the game.
  • The plugins you want to add are written for LabAPI.
  • The game and the framework come from the same team, and you would rather check compatibility after an update against one source of changes.
  • The plugin is meant to run on many servers, not just yours, so you do not want to require an extra framework from them.

A server with no plugins yet, or a set rewritten from scratch, goes on LabAPI. New code then rests on what the game makers provide rather than on one more project.

EXILED

  • The server already runs EXILED and has plugins you do not want to rewrite.
  • The plugins you want to keep or add use EXILED.
  • Your plugins react to game events through the EXILED event system, and the new plugin has to work with them.
  • Your staff already know the config and commands of your EXILED plugins, and a framework switch would mean learning it all again.
  • You want a new mechanic, not a rebuild of the whole server.

A server that runs EXILED stays on EXILED: the new plugin works next to the ones you have, with no rewrite of the set. A move to LabAPI is quoted separately, if you decide to make it.

05

Quality and performance

A plugin must never be the reason for lag or lost player progress.

  1. 01

    In the code

    Off the main thread

    Database queries and file writes run asynchronously so ticks are never held up.

  2. 02

    Player data in a database

    Progress and economy data go into a backed-up database, not a single file.

  3. 03

    Config without code

    Numbers, texts and rewards live in config files with every option described, no recompiling.

  4. 04

    Version compatibility

    We test the plugin on the game and framework version your server runs.

  5. 05

    A test server first

    You try the plugin with your staff before players ever see it.

  6. 06

    Load testing

    We check how much the plugin costs the server with many players before it goes live.

a plugin or resource

Your game server

What we connect the plugin to

A game server rarely lives alone. These connections come up most often.

01 / 05

  1. Discord

    Your game server Discord

    linked accounts, in-game ranks on Discord and notifications from the game

  2. Item shop and payments

    Your game server Item shop and payments

    items and ranks handed out after a paid order

  3. Server panel

    Your game server Server panel

    install, updates and config for hosting customers

  4. Steam

    Your game server Steam

    the SteamID as the player account key on the site and in game

  5. Server website

    Your game server Server website

    leaderboards, stats and player profiles

Who custom plugins are for

For servers that want to stand out with more than a list of free packs.

WhoWhat they usually orderWhat we watch out for
Minecraft servercustom game modes, economy, events and GUI menusserver ticks with many players
FiveM serverjobs, faction systems and NUI interfaces matched to your RPlogic on the server, not the client
SCP: Secret Laboratory servernew roles, round events and admin toolscompatibility after game updates
A server networka shared player base and sync between serversdata consistency across servers
Game hostinginstall scripts and panel integrations for hosting customersupdates without manual work

How we build a plugin

From a description of the mechanic to a plugin installed on your server.

  1. 1

    The mechanic

    You describe what should happen in game and list the plugins already running on the server.

    a description of the mechanic

  2. 2

    Versions and dependencies

    We agree on the game version, framework, dependencies and possible conflicts with your current plugins.

    a quote and a date

  3. 3

    Code

    We write the plugin in a repository. Database queries and file writes run off the main thread so they do not stall ticks.

    the plugin in a repository

  4. 4

    Configuration

    Numbers, texts and rewards go into config files with a description of every option.

    config files

  5. 5

    A test build

    The plugin goes onto a test server where you try it with your staff.

    fixes after testing

  6. 6

    Load testing

    We measure tick impact, check nothing blocks the main thread and that data writes are safe.

    a plugin ready for production

  7. 7

    Installation

    We install the plugin on the live server or hand your staff the instructions.

    code you own and a guide

  8. 8

    Updates

    A new game version can break a plugin. The live server then stays on its current version while we check and fix the plugin on the new one, before the server moves over. If you want, we do this with every server update.

    compatibility with new versions

Who does what on a plugin

A split that works when working with a server's staff.

All items by role

  • You and your staff the mechanic and your current plugin list
  • Us code in a repository and the test server
  • Game and framework makers new game and API versions
  • You and your staff tests on the test server
  • Us load tests and safe data writes
  • Game and framework makers changes that need a plugin update
  • You and your staff decisions on rewards and balance
  • Us installation or a guide

How we will do it: an economy and item shop on a Minecraft server

One run in which the plugin, the store and a Discord bot work together. This is how we would set it up on a server that hands out purchases by hand today.

Server
A Paper survival server with a growing player base
Today
Economy in a file, item shop purchases handed out by hand
Goal
An economy in a database and a shop that hands out rewards itself
  1. 1

    An economy in a database

    Player balances move from a file to a backed-up database, with writes off the main thread.

  2. 2

    A purchase on the site

    A paid order goes into a queue from which the plugin hands out the item at the player's next join.

  3. 3

    A Discord role

    The same rank reaches the Discord server through a bot.

  4. 4

    A load test

    Before launch we check the plugin's tick impact with many players.

Purchases hand out themselves, and player progress survives a server crash.

Common questions about game plugins

Click a question to see the answer.

How much does a Minecraft plugin, a FiveM script or an SCP:SL plugin cost?
A game plugin or script costs from PLN 299 (about EUR 67). The price goes up mainly with the complexity of the mechanic, for example a custom economy saved in a database instead of a single command, a connection to a store, Discord or a panel, and moving to a newer game version or rewriting plugins for another framework. The figure for your scope comes in a free quote, and the starting prices of all our services are on our pricing page.
How long does it take?
Usually 1-7 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.
Which Minecraft versions do you write plugins for?
The version your server runs. We test the plugin on the same Paper or Spigot version, and if the server is about to upgrade, we include that in the quote.
Which framework do you write FiveM scripts for: ESX or QBCore?
Both, ESX and QBCore, in Lua or JavaScript, depending on what your server runs. Money and items are decided by the server layer, never by the player, and the whole resource, meaning fxmanifest.lua, the client and server scripts and the NUI files, is yours after acceptance and full payment.
Do you write SCP:SL plugins for EXILED or LabAPI?
Both. A server that runs EXILED stays on EXILED, while a server with no plugins yet, or a set rewritten from scratch, goes on LabAPI, the official framework from the makers of the game. A move from EXILED to LabAPI is quoted separately.
Can you fix a plugin I already have?
Yes. We read the code and run the plugin on a test server first, then tell you what to fix and how long it will take.
Will the plugin work with the other plugins on my server?
Before we start we ask for your plugin list and dependencies. We test on a test server with your setup, so conflicts surface before release.
Can I change the settings myself later?
Yes. Numbers, rewards and texts go into config files with every option described, so you change them without a developer.
Can you make a plugin from my idea?
Yes. Describe what should happen in the game, even in a few sentences, such as a new currency, a shop or a mini game. We ask about the details and tell you how we will build it.
Will I see the plugin working before I pay for it all?
Yes. First you get a test version on your server or ours, so you check the plugin in the game before it reaches the players.
Will the plugin slow the server down?
No, and we check that before handover. Heavier work, such as saving to the database, runs in the background, and the plugin goes through a load test with many players at once.
What happens after handover?
Bugs from our work are fixed under warranty, typically for 90 days after acceptance (30 for very small orders, 180 or 365 for larger ones), as set in the order. Longer care is covered on our warranty and maintenance pages.
Who owns the plugin code when the project ends?
You do. After acceptance and full payment, the economic copyright in the code and the materials made for you passes to you. The rules are on our contracts and code rights page.

Sources

Framework facts come from their official documentation and repositories.

Words from this page

Tick
One step of the Minecraft server loop. The server runs 20 ticks a second, one every 50 ms, and has to fit all game logic into that time.
Main thread
The server thread that runs game logic and world changes. Much of the Bukkit API is not safe off it, and long work on it holds up the ticks.
fxmanifest.lua
The FiveM resource definition file. It names the client and server scripts, and its ui_page field the resource's NUI page.
NUI
A FiveM resource interface built like an HTML and JavaScript page and shown to the player in game.
LabAPI
The official SCP: Secret Laboratory modding framework from Northwood Studios, the makers of the game. Plugins for it are written in C#.

Describe your project.

A free quote comes back within an hour during working hours.