7dtdCommands
Key Functionality
-
Vehicle Retrieval:
/bike: Teleports the player's min-bike to their location (if nearby)./4x4: Teleports the player's 4x4 to their location (if nearby)./gyro: Teleports the player's gyrocopter to their location (if nearby)./motorcycle: Teleports the player's motorcycle to their location (if nearby)./bicycle: Teleports the player's bicycle to their location (if nearby)./drone: Teleports the player's drone to their location (if nearby).
-
Teleportation:
/home: Teleports the player to their set home location (bedroll)./visit <playerTarget>: Allows a player to teleport to another player on the server, provided they are friends in-game and the target player is online.
-
Player Status:
/debuff: Removes common debuffs from the player (broken bones, sprains, etc.).
-
Graphics Settings:
/gfxon: Enables low graphics mode for improved performance./gfxoff: Disables low graphics mode, restoring normal graphics./gfx: Toggles gfx mode.
-
Account Linking
/linkShows the player how to link their account to the server.
How to Use
-
Installation: Install the module on your Takaro instance.
-
PrismaCore Requirement: Ensure that PrismaCore is installed and configured on your 7 Days to Die server. This module relies on PrismaCore's functionality for vehicle retrieval.
-
Permissions: Grant the appropriate permissions to the player groups or individuals who should have access to these commands: *
inGameCommands: General permission for most of the module's commands. *HOME_PERMISSION: Permission to use the/homecommand. *VISIT_PERMISSION: Permission to use the/visitcommand. -
In-Game Usage: Players can use the commands as described in the "Key Functionality" section.
Important Considerations
-
PrismaCore Dependency: This module is tightly integrated with PrismaCore. It will not function correctly without PrismaCore being present on the server.
-
Vehicle Proximity: The vehicle retrieval commands (
/bike,/4x4,/gyro, etc.) typically require the player to be within a certain proximity of their vehicle for the command to work. The exact range is defined by PrismaCore. -
Home Location: The
/homecommand requires players to have a valid bedroll set as their home location. -
Friend System: The
/visitcommand relies on 7 Days to Die's in-game friend system. Players must be friends with the target player to teleport to them. -
Graphics Settings: The
/gfxonand/gfxoffcommands may not be effective in all game settings or configurations. Their functionality depends on how the game handles graphics settings. -
Permission Management: Use the provided permissions to control access to the module's commands.
Components Overview
New Module: 7dtdCommands
Configuration
Configure this module using the schemas below. The JSON schema defines the data structure, while the UI schema customizes how the configuration form is displayed.
Configuration Schema
No configuration properties defined. This module uses default settings.
UI Schema
No UI schema defined. Configuration form will use default rendering.
About Configuration Schemas
The Configuration Schema defines the structure and validation rules for module settings. The UI Schema customizes how the configuration form is displayed in the Takaro interface, including field ordering, labels, and input types.
Commands (12)
These commands can be executed by players in-game. Each command has a trigger word, optional arguments, and executes JavaScript code on the server.
link
Description
Function Implementation
link Function
JAVASCRIPTUsage Example
gfxon
Description
Function Implementation
gfxon Function
JAVASCRIPTUsage Example
gfx
Description
Function Implementation
gfx Function
JAVASCRIPTUsage Example
visit
Description
Arguments (1)
playerTarget
stringPosition 0""Function Implementation
visit Function
JAVASCRIPTUsage Example
bicycle
Description
Function Implementation
bicycle Function
JAVASCRIPTUsage Example
debuff
Description
Function Implementation
debuff Function
JAVASCRIPTUsage Example
minibike
Description
Function Implementation
minibike Function
JAVASCRIPTUsage Example
drone
Description
Function Implementation
drone Function
JAVASCRIPTUsage Example
gyro
Description
Function Implementation
gyro Function
JAVASCRIPTUsage Example
4x4
Description
Function Implementation
4x4 Function
JAVASCRIPTUsage Example
home
Description
Function Implementation
home Function
JAVASCRIPTUsage Example
About Module Commands
Commands allow players to interact with your module through chat. Each command has a trigger word that players type (prefixed with /), optional arguments for parameters, and a JavaScript function that executes when the command is used. Arguments are automatically validated and passed to the function.
Permissions (3)
These permissions control who can access different features of this module. Administrators can assign these permissions to roles, allowing fine-grained access control.
General Permissions
Home command Permission
HOME_PERMISSIONPermission KeyDescription
Gives players access to the home command
Permission Details
HOME_PERMISSIONIn Game Commands
inGameCommandsPermission KeyDescription
Commands in game
Permission Details
inGameCommandsVisit Command Permission
VISIT_PERMISSIONPermission KeyDescription
Gives players permission to use the visit commmand
Permission Details
VISIT_PERMISSIONAbout Module Permissions
Permissions control access to module features and functionality. Each permission has a unique key for identification, a friendly name for display, and a description explaining what it allows. Some permissions are countable, meaning they can have numeric values or limits assigned. Administrators assign these permissions to user roles to control who can use different module features.
































