Config
Config Settings & Explanations
Config.ShopList
type
determines the type of the 'product'. Here you can enter either'item'
or'weapon'
.name
is the name of the item or weapon (example for weapon:WEAPON_PISTOL50
)count
is the quantity of the items; for weapons (i.e., whentype = 'weapon'
), it refers to the ammunition.price
determines the price for the product, with pumpkins being the currency.label
is the shop label; in our case, it's called "100x Water
" - this is how it will appear in the shop!
Config.ShopListHighlight
Same system as with Config.ShopList
.
Config.Shop
Config.PumpkinHunt
Here are the main settings for the resource. Please read through all the categories related to it.
spawning
The value for 'spawnAmount' determines how many coordinates should be created for the pumpkins that are to be spawned.
The string for 'spawnCommand' is the in-game command with which you can generate the coordinates where the pumpkins should spawn. In this case, it will generate 500 coordinates (value from spawnAmount).
This command is used to manually enter coordinates into the coords.json
(Coords Config). The coordinate of your Ped is automatically taken and entered.
With this command, you can remove coordinates from coords.json in-game. Simply stand within a distance of 30 from the spawn point to remove it.
general
This is the maximum number of pumpkins a player can have/possess.
This is the amount a player should receive when they pick up a pumpkin. If you want an exact number, you need to replace 'math.random
'. Example: pumpkinCollectReward = 3
. That would be 3 "points" per collected pumpkin.
If this value is set to true
, then jump scares are active. Jump scares can occur when picking up a pumpkin.
This determines the percentage (%) chance that a jump scare will occur when picking up a pumpkin.
The duration in seconds for how long a jump scare should last.
This value determines whether pumpkins should spawn at the start of the resource. Set to true
to activate it.
If 'eventOnStart
' should be deactivated, you can manually start the event with a command.
This table determines which groups have permission to execute commands. These groups can also execute other commands such as: 'spawnCommand
', 'manualCommand
', and 'removeCommand
'.
If you want the Halloween Shop to also be opened with a command, keep this value on true
- if not, set to false
. Especially useful if you don't want to have shops (Config.Shop
).
Command string to open the UI (Halloween Shop).
Command to add pumpkins to a player.
Command to set a specific number of pumpkins for a player.
Command to remove a number of pumpkins from a player.
This is a debug command! Executing this will teleport you to the first coordinates from 'coords.json
', and when executed again, it will take you to the next one, from the first to the last!
animation
Determine here in the value how long the animation should last/play. You need to enter the value in milliseconds (1000 = 1 second).
Custom Notify Triggers
At the bottom of the config, you can enter your own triggers for your notifications.
Simply replace the events with your notification event.
Last updated