HytaleVisitPlayers

by Mad
for Hytale
A player visit permission system for Hytale allowing players to request permission to visit others and manage visit permissions.
communityTakaro v0.4.10

Components Overview

1
config
4
commands
0
hooks
0
Cron Jobs
0
functions
2
permissions

New Module: HytaleVisitPlayers

NEW
January 23, 2026
Updated to version latest. Added 4 commands: visit, granted, revoke, visitlist. New permissions: TELEPORTS_USE, TELEPORTS_TPHERE. New configuration option: timeout.

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

Configuration Properties (1)

timeoutnumber
Timeout

The time one has to wait before teleporting again (in milliseconds).

Default: 0
Constraints: min: 0

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 (4)

These commands can be executed by players in-game. Each command has a trigger word, optional arguments, and executes JavaScript code on the server.

visit

/visitTrigger Command

Description

Request to visit another player or teleport to them if permission is granted.

Arguments (1)

playerName
stringPosition 0
Help: The name of the player you want to visit.
Default: None

Function Implementation

visit Function

JAVASCRIPT

Usage Example

Player types: /visit <playerName>

granted

/grantedTrigger Command

Description

Grant permission for another player to visit you.

Arguments (1)

playerName
stringPosition 0
Help: The name of the player to grant visit permission to.
Default: None

Function Implementation

granted Function

JAVASCRIPT

Usage Example

Player types: /granted <playerName>

revoke

/revokeTrigger Command

Description

Revoke another player's permission to visit you.

Arguments (1)

playerName
stringPosition 0
Help: The name of the player to revoke visit permission from.
Default: None

Function Implementation

revoke Function

JAVASCRIPT

Usage Example

Player types: /revoke <playerName>

visitlist

/visitlistTrigger Command

Description

List all pending visit requests and granted visit permissions.

Function Implementation

visitlist Function

JAVASCRIPT

Usage Example

Player types: /visitlist

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 (2)

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

2 permissions

Teleport Players

TELEPORTS_TPHEREPermission Key
Description

Allows the player to teleport other players to their location.

Permission Details
Full Key:TELEPORTS_TPHERE
Can Have Count:No
Category:General

Use Teleports

TELEPORTS_USEPermission KeyCountable
Description

Allows the player to use the teleports module.

Permission Details
Full Key:TELEPORTS_USE
Can Have Count:Yes
Category:General
Countable Permission

This permission supports numeric values/levels. For example, you could grant someone "10" of this permission to limit their usage or set permission levels.

About 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.