Creating a Mod

From Gothongs Wiki
Revision as of 16:01, 27 July 2023 by Panda (talk | contribs)
Jump to navigationJump to search
  1. Start at the modding panel at https://jasx.org/lsl/got
  2. Name your mod and click Create New Mod.
  3. Every account can make up to 10 mods but you can ask an admin for more if you run out.

The Mod Panel

Entering the mod panel shows you different items that you can add to your mod. Here is a button reference:

Field What it does
Name Name of your mod
Public KEY This is put into the mod installer box description to identify your mod when installing in SL.
JSON KEY DO NOT SHARE THIS KEY. This is advanced. With a web server you may control more things in GoT like moving around the map or adding enchants.
JSON Webhook Lets you specify a URL to which the GoT Web API will send HTTP requests when something happens in game.
Allow remote webhook URL updates Allows the URL to be changed by a call u sing your JSON key. Recommended off.
Public Makes your mod visible on the main GoThongs HUD and allows users other than the creator to install it.
Hidden Hides the mod from the HUD. I am not sure how this differs from public.
Installer The SL mod installer in your JasX asset server that is delivered to players who download your mod. Click the link below the installer select to get a cube to host your own jasx asset server.
Write Permission Selects what permissions your mod needs. Experience allows you to modify player EXP. Resources allows giving weapons/enchants via scripts. Settings allows it to change settings and Map allows it to move the player on the map. You can modify these any time you want but adding a new permission unsubscribes all users from your mod.
Description A description that shows up on the mod page.
Testers UUIDs of avatars that are allowed to use beta versions in your mod.
Setup Manifest Needed for your mod to work. You will want to do this before publishing your mod or a beta of your mod.
Quests Create and manage your own story quests and challenge dungeons.
Land Create landmasses and edit the world map.
Land Icons Add new icons to the world map.
Monster Scenes Add custom defeat scenes
PVP Scenes Add custom PVP scenes for the PVP arena and other things like lotus that create player on player scenes.
Books Add new readable books
Classes Add new player classes
Spells Add new spells
Weapons Add new weapons
Enchants Add new enchants
Loading Sceens Add loading screens. Each row much have a texture to be included. Loading screens are fetched and cached when the HUD loads. Name is optional.
Loading Tips Adds loading tips for challenge dungeons and PanRi free roam.

Distributing your mod.

To distribute your mod. You need the following:

  • A JasX content server. Log in at jasx.org and then go here and click Get a content server.
  • A GoT mod installer (included with the GoT devkit).
  • A manifest.

The manifest is needed to tell the HUD what items go where from the installer.

Click the Setup Manifest button (under save changes) on your mod page. Many items will be auto generated. But some items like HUDs and monsters need to be added on this page manually. Leave a field blank to ignore it.

Make sure that "Ignore auto generated" is NOT checked. And click Save BETA.

Rez the GoT ModInstaller in world and rename it to the name of your mod.

Copy the public key from the main mod page and paste it into the HUD description. So if your mod public key was "29664c2dcff8e2bf" set the box description to "29664c2dcff8e2bf_BETA"

Open the got ModInstall script and click reset. If everything worked you can now click the mod box to install it into your HUD.