Skip to main content

Engine Integration

In this section, we will cover how to integrate Slugmoon Emblem Slugmoon Warp into your game engine. This allows you to perform actions like d-join lock, where they can only join via Slugmoon Emblem Slugmoon Warp!

Adding it to your game​

To add Slugmoon Emblem Slugmoon Warp to your game, you can download it via 2 methods:

  • Download the latest version: You can download the latest version of Slugmoon Emblem Slugmoon Warp Game Engine below:
https://slugmoon.lol/files/pPBB2d.rbxm
warning

Make sure to download the latest version of Slugmoon Emblem Slugmoon Warp Game Engine to ensure compatibility with the latest features and fixes.

Please note that every time it is updated, you will need to redownload the latest version to ensure you have the most up-to-date features and fixes.

Place the folder you downloaded in the ServerScriptService of your game, then configure the settings in the ModuleScript inside the folder to your liking.

  • Require the Slugmoon Warp Game Engine: In your roblox game, you can require the Slugmoon Warp Game Engine by using the following code snippet:
ModuleScript in ServerScriptService
--[[
Slugmoon Warp Game Engine
This module allows you to integrate Slugmoon Warp into your game.
Make sure to require this module in your Module Script.
]]--

require(112993552440807)

return {
whitelist = function(player: Player)
if player:GetRankInGroup(game.CreatorId) >= 24 then
return true
else
return false
end
end
}

Configure the whitelist function to your liking, it is used to determine whitelists for Slugmoon Emblem Slugmoon Warp commands in your game.

info

Make sure to place this code in a ModuleScript in ServerScriptService to ensure it runs correctly.

Using the Slugmoon Warp Game Engine​

Once you have added the Slugmoon Warp Game Engine to your game, you can use it to perform various actions such as d-join lock, where players can only join via Slugmoon Emblem Slugmoon Warp.

Whitleisted players can use the following commands in your game:

Who are whitelisted players?

Whitelisted players are players that, when put through the whitelist function, return true. This means that they are allowed to use the Slugmoon Warp Game Engine commands in your game. You can customize the whitelist function to determine which players are whitelisted based on their rank in the group or any other criteria you choose.

Say !djoin off in your game to disable direct joining. This will prevent players from joining your game directly and will require them to use Slugmoon Emblem Slugmoon Warp to join.