๐Ÿ”ฌ
byK3 Docs
  • SCRIPT DOCS
    • ๐ŸŽƒnkn_halloween
      • โคต๏ธInstallation
      • ๐Ÿ› ๏ธConfig
      • ๐Ÿ“Coords
      • ๐ŸŽจUI (HTML/JS)
  • ๐ŸŽ€nkn_dailyRewards
    • โคต๏ธInstallation
    • ๐Ÿ› ๏ธConfig
    • ๐Ÿ‘€See the Config
  • ๐ŸŽ„nkn_advent
    • โคต๏ธInstallation
    • ๐Ÿ› ๏ธScript Configuration
    • ๐Ÿ‘€See the Config
  • โš’๏ธnkn_craftingTable
    • โคต๏ธInstallation
    • ๐Ÿ› ๏ธScript Configuration
    • ๐Ÿ‘€See the Config
Powered by GitBook
On this page
  • Creating Coords
  • Removing Coords
  • Config for Coords
  1. SCRIPT DOCS
  2. nkn_halloween

Coords

Exlanation of the Coords System

Creating Coords

You can either create coords manually in-game using a command (default: addCords) or you can enter them in the coords.json! Additionally, the script can easily and simply generate the desired number of coords for you. Just use the in-game command generateCoords and open the client console (F8). There you will be able to see the progress. The script scans the game world and automatically searches for suitable places for pumpkins, placing the Z-value automatically on the ground/floor. This ensures that no pumpkins will spawn in mid-air when starting the event. You must be on the server during the generation. The coords are automatically entered in the coords.json file.

WARNING:

If you use generateCoords multiple times, be aware that each time you use generateCoords, all coords from the file will be removed and only the new ones will be added/entered. If you still need your coords from coords.json, make sure to save them somewhere temporarily and insert them after generating.

Removing Coords

This can also be done in-game using the command removeCoords! It automatically detects if you are near (maximum distance of 30) a spawn point and deletes it! You can also manually remove it from the coords.json file!

Config for Coords

All coords for spawning pumpkins are stored in the coords.json file.

PreviousConfigNextUI (HTML/JS)

Last updated 1 year ago

๐ŸŽƒ
๐Ÿ“