Page:
ModuleEnvironment
Pages
Config
ContactDetails
GetiyoModuleTool
Home
ModuleAPIGameLibEndScreen
ModuleAPIGameLibRatio
ModuleApiGameLibFrameCycle
ModuleApiGameLibGameDetails
ModuleApiGameLibRuntimeStorage
ModuleApiGameLibTimeSpan
ModuleClientAPI
ModuleClientAPIFeedback
ModuleClientAPIGameLib
ModuleClientAPIGameLibController
ModuleClientAPIIntroduction
ModuleClientAPINeighbor
ModuleClientAPINeighborResults
ModuleClientAPIPrincipals
ModuleClientAPIProperty
ModuleClientAPIUser
ModuleConfigCondition
ModuleConfigProperty
ModuleConfigTrigger
ModuleDebugging
ModuleDevelopmentIntroduction
ModuleEnvironment
ModuleJSON
ModuleServerAPI
ModuleServerAPIClient
ModuleServerAPIData
ModuleServerAPIDatabase
ModuleServerAPIGameLib
ModuleServerAPIGameLibCollisionSpace
ModuleServerAPIGameLibGame
ModuleServerAPIGameLibGamePlayer
ModuleServerAPIGameLibIntroduction
ModuleServerAPIGameLibRoom
ModuleServerAPIGameLibScoreboard
ModuleServerAPIGameLibScoreboardDetails
ModuleServerAPIGameLibScoreboardState
ModuleServerAPIIntroduction
ModuleServerAPILibs
ModuleServerAPILibsWebSocketLib
ModuleServerAPILibsWebSocketLibClient
ModuleServerAPIPrincipals
ModuleServerAPIProperty
ModuleStore
ModuleTS
Prerequisites
Reporting
ServerSetup
V1ModuleStructure
V2ModuleStructure
WebSocketLibCommuncationStandard
Clone
2
ModuleEnvironment
Mees van der Wijk edited this page 2025-08-28 00:49:03 +02:00
Development environment
Making your own modules is quite easy if you know the basic workflow. First, you need to set up the global GetiyoModuleTool and from there it's fast and easy to set up an environment or build a module.
Setting up for the first time
- Make sure you have Node.js LTS installed.
- Clone the GetiyoModuleTool from the repository.
- Navigate into the directory and run
npm i - Wait for the process to finish and run
npm install -g - After the process is finished verify by running
gmt - It should output the arguments list for GMT. To effectively build modules, GMT has a build-in way to restart your Getiyo server. However, this requires that the development mode is turned on in the config.
Creating a module environment
- Create a directory where you'd like to create the module workspace and open a terminal there.
- Run
gmt create - GMT will ask some questions to create the module.json
- After the questions, the environment will be created.
- You can now open the directory with your preferred IDE.
Building a module
- Open the root directory of the module environment in a terminal.
- Run
gmt build - Additionally, you can also let GMT automatically install the module to your local server with the argument
--output-server - You can also restart the server with
--stop-serverbut development mode has to be turned on and you have to configure your server details first with:gmt set ip <serverip>gmt set port <port>
Getting Started
Module Development
- Introduction
- V2 Module Structure
- V1 Module Structure
- Development environment/Building
- Module Config
- Module Debugging
- GetiyoModuleTool
- Bug/Feature Reporting
- Contact Details
ModuleServerAPI
ModuleServerAPI GameLib
ModuleClientAPI
ModuleApi Shared
© Vix Entertainment 2023 - © Mooren Productief 2023 - All rights reserved